Add support for voice channel parties #33

Closed
wasi-master wants to merge 277 commits from master into 2.0
Showing only changes of commit e3bce1ba58 - Show all commits

View File

@@ -404,6 +404,8 @@ class Intents(BaseFlags):
@classmethod
def from_list(cls, intents_list):
"""A factory method that creates a :class:`Intents` with everything enabled
that has been passed in the list."""
for item in intents_list:
if item not in cls.VALID_FLAGS.keys():
intents_list.remove(item)