+ 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
- 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
- bot.sendMessage(chat_id, "Give me a question you Heretic", reply_to_message_id=msg['message_id'])
-
- if msg['text'][:len('/roll')] == '/roll':
- ''' /roll
- USAGE: /roll
- RETURNS: Replies with random 9 digit, calls dub_detector() to see if digits starting from the end of the number are identical and sends a message depending on how many are identical