Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
GoComfy bot
warmMySpaceIfSomeoneMadeAColdRequest = function() {
last_request_is_make_cold = $($('.activity-grid')[0]).find('img').attr('src').includes('toohot');
if (last_request_is_make_cold) {
console.log("Someone triggered cold request. But don't worry, I'll heat it up for you!");
} else {
console.log('Last request was not the cold request');
hotbot = setInterval(warmMySpaceIfSomeoneMadeAColdRequest, 10*60000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment