test n°2 command say

This commit is contained in:
BFlow 2020-04-25 20:18:15 +02:00
parent c2a9e3302b
commit 4307084384

View file

@ -294,7 +294,7 @@ class Mybot(commands.Cog):
sentence = ' '.join(message)
for word in sentence.split():
if word.startswith('@'):
guild = self.guilds[0]
guild = self.bot.guilds[0]
members = guild.members
for member in members:
if member.name == word: