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() #Puthis message in the dictionary
else: #Was the message sent less than cooldown_sec ago?