diff --git a/redbot/cogs/general/general.py b/redbot/cogs/general/general.py index 65a3b13e3..7c11df5ed 100644 --- a/redbot/cogs/general/general.py +++ b/redbot/cogs/general/general.py @@ -301,11 +301,13 @@ class General(commands.Cog): online_stats = { _("Humans: "): lambda x: not x.bot, _(" • Bots: "): lambda x: x.bot, - "\N{LARGE GREEN CIRCLE}": lambda x: x.status == discord.Status.online, - "\N{LARGE ORANGE CIRCLE}": lambda x: x.status == discord.Status.idle, - "\N{LARGE RED CIRCLE}": lambda x: x.status == discord.Status.do_not_disturb, - "\N{MEDIUM WHITE CIRCLE}": lambda x: x.status == discord.Status.offline, - "\N{LARGE PURPLE CIRCLE}": lambda x: x.activity == discord.Streaming, + "\N{LARGE GREEN CIRCLE}": lambda x: x.status is discord.Status.online, + "\N{LARGE ORANGE CIRCLE}": lambda x: x.status is discord.Status.idle, + "\N{LARGE RED CIRCLE}": lambda x: x.status is discord.Status.do_not_disturb, + "\N{MEDIUM WHITE CIRCLE}": lambda x: x.status is discord.Status.offline, + "\N{LARGE PURPLE CIRCLE}": lambda x: ( + x.activity is not None and x.activity.type is discord.ActivityType.streaming + ), "\N{MOBILE PHONE}": lambda x: x.is_on_mobile(), } member_msg = _("Users online: **{online}/{total_users}**\n").format(