oop
This commit is contained in:
parent
9fc2fd38dc
commit
36bcbb19ee
@ -408,7 +408,7 @@ class Intents(BaseFlags):
|
|||||||
if item not in cls.VALID_FLAGS.keys():
|
if item not in cls.VALID_FLAGS.keys():
|
||||||
intents_list.remove(item)
|
intents_list.remove(item)
|
||||||
|
|
||||||
self = cls.__new__(cls)
|
self = cls.all()
|
||||||
for item in cls.VALID_FLAGS.keys():
|
for item in cls.VALID_FLAGS.keys():
|
||||||
if item not in intents_list:
|
if item not in intents_list:
|
||||||
setattr(self, item, False)
|
setattr(self, item, False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user