correction N°2 command issue
This commit is contained in:
parent
08df771274
commit
07f814c7d7
1 changed files with 6 additions and 0 deletions
|
@ -191,6 +191,12 @@ class Mybot(commands.Cog):
|
||||||
response = "Unknow error, try: !kaamelott [livre] [character]"
|
response = "Unknow error, try: !kaamelott [livre] [character]"
|
||||||
await ctx.send(response)
|
await ctx.send(response)
|
||||||
|
|
||||||
|
@commands.command(help="Je menotte une cornemuse et je fume Eddy Malou")
|
||||||
|
async def kamoulox(self, ctx):
|
||||||
|
kamoulox_request = requests.get('https://kmlproject.com/Launcher/LKamoulox.php')
|
||||||
|
kamoulox_sentence = kamoulox_request.content
|
||||||
|
await ctx.send(kamoulox_sentence)
|
||||||
|
|
||||||
@tasks.loop(seconds=1.5)
|
@tasks.loop(seconds=1.5)
|
||||||
async def play_next(self):
|
async def play_next(self):
|
||||||
if self.sounds:
|
if self.sounds:
|
||||||
|
|
Loading…
Reference in a new issue