diff options
| author | Rapptz <[email protected]> | 2019-04-08 23:08:43 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-04-08 23:08:43 -0400 |
| commit | 67ec59caeac1913eb040a7b6fab41b4da6dfaf9e (patch) | |
| tree | c15b6e8a2950d54181f6c8f5ac0e398027c30e43 | |
| parent | Update classifier in setup.py (diff) | |
| download | discord.py-67ec59caeac1913eb040a7b6fab41b4da6dfaf9e.tar.xz discord.py-67ec59caeac1913eb040a7b6fab41b4da6dfaf9e.zip | |
Fix issue with speaking state causing an error.
| -rw-r--r-- | discord/enums.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/enums.py b/discord/enums.py index b99a510a..ff5266fa 100644 --- a/discord/enums.py +++ b/discord/enums.py @@ -87,6 +87,9 @@ class SpeakingState(Enum): def __str__(self): return self.name + def __int__(self): + return self.value + class VerificationLevel(Enum): none = 0 low = 1 |