test n°4 command say

This commit is contained in:
BFlow 2020-04-25 20:22:08 +02:00
parent 5793432802
commit f9c51f2009

View file

@ -298,7 +298,7 @@ class Mybot(commands.Cog):
members = guild.members
for member in members:
if member.name == word:
sentence.replace(word, member.mention)
sentence = sentence.replace(word, member.mention)
channel = [x for x in self.bot.get_all_channels() if x.name == "général"][0]
await channel.send(sentence)