add command trollpower

This commit is contained in:
BFlow 2020-04-29 14:47:05 +02:00
parent f68a9f621f
commit f1a79ffa8f

View file

@ -164,10 +164,6 @@ class Mybot(commands.Cog):
except ApiException as e: except ApiException as e:
await ctx.channel.send("Exception when calling DefaultApi->gifs_search_get: %s\n" % 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.guild_only()
@commands.command() @commands.command()
async def joke(self, ctx, folder=None): async def joke(self, ctx, folder=None):
@ -349,6 +345,27 @@ class Mybot(commands.Cog):
self.sounds.append((audio_file, ctx)) self.sounds.append((audio_file, ctx))
#Fin des commandes pour faire mumuse avec Kabot. #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): def get_word(word_type):
"""Chercher les mots pour la fonction kamoulox dans le fichier xml""" """Chercher les mots pour la fonction kamoulox dans le fichier xml"""
content = [] content = []