Skip to content
Extraits de code Groupes Projets
Valider 5b3d04bd rédigé par Loïc Wikle DUBARD's avatar Loïc Wikle DUBARD
Parcourir les fichiers

help plus joli

parent 2b5766b9
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -41,26 +41,26 @@ class Bot(Client): ...@@ -41,26 +41,26 @@ class Bot(Client):
def tests(self, texte, thread_id, thread_type, author_id, channel=''): def tests(self, texte, thread_id, thread_type, author_id, channel=''):
if texte == '!help': if texte == '!help':
help_text = 'Ce que je sais faire :\n \ help_text = 'Ce que je sais faire :\n\n' + \
!meteo <ville> ; <pays> ; <dans_n_heure(facultatif)>\n \ '!meteo <ville> ; <pays> ; <dans_n_heure(facultatif)>\n' + \
!wikipedia <truc_a_chercher>\n \ '!wikipedia <truc_a_chercher>\n' + \
!useless \n \ '!useless \n' + \
!chuck \n\ '!chuck \n' + \
!nordpress \n \ '!nordpress \n '\
!quizz [start|new|reset|scoreboard|indice|round|question] \n \ '!quizz [start|new|reset|scoreboard|indice|round|question] \n' + \
!q <reponse> pour répondre au quizz\n\ '!q <reponse> pour répondre au quizz\n' + \
!haddock \n \ '!haddock \n' + \
!philo \n \ '!philo \n' + \
!pipo\n \ '!pipo\n' + \
!rename <personne> ; <pseudo> \n\ '!rename <personne> ; <pseudo> \n' + \
!kohlanta <nom>\n \ '!kohlanta <nom>\n' + \
!rateau \n \ '!rateau \n' + \
!maps <nom_du_lieu> <destination(facultatif)> ... not yet fully fonctionnal\n \ '!maps <nom_du_lieu> <destination(facultatif)> ... not yet fully fonctionnal\n' + \
!memes <image_name_or_url> ; <texte1> ; <texte2(facultatif)> ... not yet implemented\n\ '!memes <image_name_or_url> ; <texte1> ; <texte2(facultatif)> ... not yet implemented\n' + \
!ping \n\ '!ping \n' + \
!translate <phrase> ; <lang_source> ; <lang_dest>\n\ '!translate <phrase> ; <lang_source> ; <lang_dest>\n' + \
!shitpostbot5000 [status|on|off|random] ... ne pas utiliser PLEASE\n\ '!shitpostbot5000 [status|on|off|random] ... ne pas utiliser PLEASE\n' + \
!about -> vas-y test-moi !\n' '!about -> vas-y test-moi !\n'
return help_text return help_text
elif '!translate' in texte: elif '!translate' in texte:
texte = texte.replace('!translate ', '').split(' ; ') texte = texte.replace('!translate ', '').split(' ; ')
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter