diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 12df79e..ec9957b 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -164,10 +164,6 @@ class Mybot(commands.Cog): except ApiException as e: await ctx.channel.send("Exception when calling DefaultApi->gifs_search_get: %s\n" % e) - @commands.command(help='Trollpower !') - async def joe(self,ctx): - await ctx.channel.send('Bah alors, on sait plus écrire, je te donne un indice: il te manque une lettre! :sweat_drops: :tongue:') - @commands.guild_only() @commands.command() async def joke(self, ctx, folder=None): @@ -349,6 +345,27 @@ class Mybot(commands.Cog): self.sounds.append((audio_file, ctx)) #Fin des commandes pour faire mumuse avec Kabot. + #Commandes pour troll. + @commands.command(help='Troll commands', hidden=True) + async def jke(self, ctx): + await ctx.channel.send(trollpower()) + + @commands.command(help='Troll commands', hidden=True) + async def joe(self, ctx): + await ctx.channel.send(trollpower()) + + @commands.command(help='Troll commands', hidden=True) + async def jok(self, ctx): + await ctx.channel.send(trollpower()) + + @commands.command(help='Troll commands', hidden=True) + async def oke(self, ctx): + await ctx.channel.send(trollpower()) + #Fin des commandes pour troll. + +def trollpower(): + return('Bah alors, on sait plus écrire, je te donne un indice: il te manque une lettre! :sweat_drops: :tongue:') + def get_word(word_type): """Chercher les mots pour la fonction kamoulox dans le fichier xml""" content = []