Conditions | 4 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | # Copyright Pincer 2021-Present |
||
34 | def unassign(self): |
||
35 | for value in vars(type(self)).values(): |
||
36 | if isinstance(value, InteractableStructure): |
||
37 | if isinstance(value.metadata, AppCommand): |
||
38 | INTERACTION_REGISTERS.pop( |
||
39 | _hash_interactable_structure(value), |
||
40 | None |
||
41 | ) |
||
42 | |||
43 | _client._events.pop( |
||
44 | value.call.__name__.lower(), None |
||
45 | ) |
||
46 |