mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-16 10:49:24 +00:00
Disallow setting non-permission attributes
This commit is contained in:
parent
de65f7309b
commit
ecdd21212c
@ -529,6 +529,8 @@ class PermissionOverwrite:
|
|||||||
Set the value of permissions by their name.
|
Set the value of permissions by their name.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
__slots__ = ('_values',)
|
||||||
|
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
self._values = {}
|
self._values = {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user