diff --git a/bot.py b/bot.py index d0ecd407f70f3d7cd1b8b9d3a347512dd44bcf4d..775bbee9c04503dca33a26947b2b1e9c3de307be 100755 --- a/bot.py +++ b/bot.py @@ -41,26 +41,26 @@ class Bot(Client): def tests(self, texte, thread_id, thread_type, author_id, channel=''): if texte == '!help': - help_text = 'Ce que je sais faire :\n \ - !meteo <ville> ; <pays> ; <dans_n_heure(facultatif)>\n \ - !wikipedia <truc_a_chercher>\n \ - !useless \n \ - !chuck \n\ - !nordpress \n \ - !quizz [start|new|reset|scoreboard|indice|round|question] \n \ - !q <reponse> pour répondre au quizz\n\ - !haddock \n \ - !philo \n \ - !pipo\n \ - !rename <personne> ; <pseudo> \n\ - !kohlanta <nom>\n \ - !rateau \n \ - !maps <nom_du_lieu> <destination(facultatif)> ... not yet fully fonctionnal\n \ - !memes <image_name_or_url> ; <texte1> ; <texte2(facultatif)> ... not yet implemented\n\ - !ping \n\ - !translate <phrase> ; <lang_source> ; <lang_dest>\n\ - !shitpostbot5000 [status|on|off|random] ... ne pas utiliser PLEASE\n\ - !about -> vas-y test-moi !\n' + help_text = 'Ce que je sais faire :\n\n' + \ + '!meteo <ville> ; <pays> ; <dans_n_heure(facultatif)>\n' + \ + '!wikipedia <truc_a_chercher>\n' + \ + '!useless \n' + \ + '!chuck \n' + \ + '!nordpress \n '\ + '!quizz [start|new|reset|scoreboard|indice|round|question] \n' + \ + '!q <reponse> pour répondre au quizz\n' + \ + '!haddock \n' + \ + '!philo \n' + \ + '!pipo\n' + \ + '!rename <personne> ; <pseudo> \n' + \ + '!kohlanta <nom>\n' + \ + '!rateau \n' + \ + '!maps <nom_du_lieu> <destination(facultatif)> ... not yet fully fonctionnal\n' + \ + '!memes <image_name_or_url> ; <texte1> ; <texte2(facultatif)> ... not yet implemented\n' + \ + '!ping \n' + \ + '!translate <phrase> ; <lang_source> ; <lang_dest>\n' + \ + '!shitpostbot5000 [status|on|off|random] ... ne pas utiliser PLEASE\n' + \ + '!about -> vas-y test-moi !\n' return help_text elif '!translate' in texte: texte = texte.replace('!translate ', '').split(' ; ')