diff options
| author | Rapptz <[email protected]> | 2019-04-08 17:35:09 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-04-08 17:51:14 -0400 |
| commit | 0ddc6867e9e2c98d74a4ef85ac36a99fec5a1f03 (patch) | |
| tree | f8f6a4b61fa272db7d26c4b1032197d9a25e11d8 /discord/activity.py | |
| parent | Remove manual documentation for AppInfo (diff) | |
| download | discord.py-0ddc6867e9e2c98d74a4ef85ac36a99fec5a1f03.tar.xz discord.py-0ddc6867e9e2c98d74a4ef85ac36a99fec5a1f03.zip | |
Change all IntEnum to Enum
A testament to how many 3.5 users there are.
Diffstat (limited to 'discord/activity.py')
| -rw-r--r-- | discord/activity.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |