From c9fd09247621d9ef076771e62ca5b5310e212ed9 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 8 Apr 2019 04:06:01 -0400 Subject: [PATCH] Don't use an enum when unnecessary in Member._client_status --- discord/member.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/member.py b/discord/member.py index 029235507..b2eb9db91 100644 --- a/discord/member.py +++ b/discord/member.py @@ -158,7 +158,7 @@ class Member(discord.abc.Messageable, _BaseUser): self.joined_at = utils.parse_time(data.get('joined_at')) self._update_roles(data) self._client_status = { - None: Status.offline + None: 'offline' } self.activities = tuple(map(create_activity, data.get('activities', []))) self.nick = data.get('nick', None)