correction n°3 command say
This commit is contained in:
parent
797b36391d
commit
12d6b3c23f
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ class Mybot(commands.Cog):
|
|||
@commands.dm_only()
|
||||
@commands.command(help="Faire dire des choses au bot")
|
||||
async def say(self, ctx, *message):
|
||||
sentence = ''.join(message)
|
||||
sentence = ' '.join(message)
|
||||
channel = [x for x in self.bot.get_all_channels() if x.name == "général"][0]
|
||||
await channel.send(sentence)
|
||||
|
||||
|
|
Loading…
Reference in a new issue