test n°2 command say
This commit is contained in:
parent
c2a9e3302b
commit
4307084384
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue