elif (("/ask" in msg['text']) and (len(msg['text']) > 4)) and ("/ask@Jannie_Bot" != msg['text'][:len("/ask@Jannie_Bot")]): #Is there actually a question or is it just /ask@Jannie_Bot
+ else: #If the person IS in the recent users dict
+ if msg['from']['username'] in blacklist: #Is the person in the blacklist?
+ return
+
+ elif (datetime.datetime.now() - RecentUsers[msg['from']['id']]) > datetime.timedelta(0, cooldown_sec): #Was the the timestamp in the dictionary more than cooldown_sec ago
+ del RecentUsers[msg['from']['id']] #Remvoe the listing in the dict
+ RecentUsers[msg['from']['id']] = datetime.datetime.now() #Put this message in the dictionary
+
+ else: #Was the message sent less than cooldown_sec ago?