test n°1 command say

This commit is contained in:
BFlow 2020-04-25 20:15:46 +02:00
parent 08bfb3c744
commit c2a9e3302b

View file

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