des strings par-ci des strings par-la
This commit is contained in:
parent
e654378e7a
commit
80321e8128
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ class Mybot(commands.Cog):
|
|||
online_members = []
|
||||
members = ctx.guild.members
|
||||
for member in members:
|
||||
if member.status == "online":
|
||||
if str(member.status) == "online":
|
||||
online_members.append(member)
|
||||
|
||||
await ctx.channel.send('%s' % online_members)
|
||||
|
|
Loading…
Reference in a new issue