From 80321e812814d56b984f25ca6ca5fbfcbc1032db Mon Sep 17 00:00:00 2001 From: BFlow Date: Sun, 17 Nov 2019 19:09:43 +0100 Subject: [PATCH] des strings par-ci des strings par-la --- kabot/kabot/kabot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 6479382..5792b58 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -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)