From 0ddc6867e9e2c98d74a4ef85ac36a99fec5a1f03 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 8 Apr 2019 17:35:09 -0400 Subject: Change all IntEnum to Enum A testament to how many 3.5 users there are. --- discord/activity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/activity.py') diff --git a/discord/activity.py b/discord/activity.py index 7464ec22..736b875f 100644 --- a/discord/activity.py +++ b/discord/activity.py @@ -158,7 +158,7 @@ class Activity(_ActivityTag): continue ret[attr] = value - ret['type'] = int(self.type) + ret['type'] = self.type.value return ret @property -- cgit v1.2.3