add too_long arg
This commit is contained in:
parent
23e6896be6
commit
75b32ef3fb
1 changed files with 4 additions and 2 deletions
|
@ -360,7 +360,7 @@ class Mybot(commands.Cog):
|
||||||
|
|
||||||
@commands.command(help='Troll commands', hidden=True)
|
@commands.command(help='Troll commands', hidden=True)
|
||||||
async def joker(self, ctx):
|
async def joker(self, ctx):
|
||||||
await ctx.channel.send(trollpower())
|
await ctx.channel.send(trollpower(too_long=True))
|
||||||
|
|
||||||
@commands.command(help='Troll commands', hidden=True)
|
@commands.command(help='Troll commands', hidden=True)
|
||||||
async def oke(self, ctx):
|
async def oke(self, ctx):
|
||||||
|
@ -371,7 +371,9 @@ class Mybot(commands.Cog):
|
||||||
await self.joke(ctx, "tu_dois_tout_donner.mp3")
|
await self.joke(ctx, "tu_dois_tout_donner.mp3")
|
||||||
#Fin des commandes pour troll.
|
#Fin des commandes pour troll.
|
||||||
|
|
||||||
def trollpower():
|
def trollpower(too_long=None):
|
||||||
|
if too_long:
|
||||||
|
return("Bah alors, on sait plus écrire, je te donne un indice: t'as une lettre en trop! :sweat_drops: :tongue:")
|
||||||
return('Bah alors, on sait plus écrire, je te donne un indice: il te manque une lettre! :sweat_drops: :tongue:')
|
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):
|
||||||
|
|
Loading…
Reference in a new issue