correction command say
This commit is contained in:
parent
63c3bc353d
commit
8083e0a41f
1 changed files with 1 additions and 2 deletions
|
@ -291,9 +291,8 @@ class Mybot(commands.Cog):
|
||||||
@commands.dm_only()
|
@commands.dm_only()
|
||||||
@commands.command(help="Faire dire des choses au bot")
|
@commands.command(help="Faire dire des choses au bot")
|
||||||
async def say(self, ctx, message):
|
async def say(self, ctx, message):
|
||||||
sentence = ' '.join(message)
|
|
||||||
channel = [x for x in self.bot.get_all_channels() if x.name == "général"][0]
|
channel = [x for x in self.bot.get_all_channels() if x.name == "général"][0]
|
||||||
await channel.send(sentence)
|
await channel.send(message)
|
||||||
|
|
||||||
|
|
||||||
@tasks.loop(seconds=1.5)
|
@tasks.loop(seconds=1.5)
|
||||||
|
|
Loading…
Reference in a new issue