mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Change all IntEnum to Enum
A testament to how many 3.5 users there are.
This commit is contained in:
1 parent
1da624a8b5
commit
0ddc6867e9
2 files changed
+8
-8
No files matched your search
+1
-1
@@ -158,7 +158,7 @@ class Activity(_ActivityTag):
|
||||
continue
|
||||
|
||||
ret[attr] = value
|
||||
ret['type'] = int(self.type)
|
||||
ret['type'] = self.type.value
|
||||
return ret
|
||||
|
||||
@property
|
||||
|
||||
Reference in new issue
Block a user