Example #1
0
 def random_end_sentence_token(self):
     return random_element(list(self.endsen))
Example #2
0
 def execute(self, command):
     self.send_photo(command, photo=random_element(Borscht.images))
Example #3
0
 def execute(self, command):
     self.reply(command, random_element(Ping.answers))
Example #4
0
 def execute(bot, command):
     Ping.reply(bot, command, random_element(Ping.answers))