diff options
| author | Hornwitser <[email protected]> | 2018-08-07 14:24:14 +0200 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-08-22 21:43:55 -0400 |
| commit | c557ee33caae30c84163919bd740259ab0200654 (patch) | |
| tree | 5095d424d0f423e5584f0363d41534736d721fc3 /discord/user.py | |
| parent | [lint] Replace deprecated Logger function warn (diff) | |
| download | discord.py-c557ee33caae30c84163919bd740259ab0200654.tar.xz discord.py-c557ee33caae30c84163919bd740259ab0200654.zip | |
[lint] Fix types used for __slots__ and __all__
Stay consistent with the rest of the library and use lists for module
__all__ values and tuples for class __slots__ attributes.
Diffstat (limited to 'discord/user.py')
| -rw-r--r-- | discord/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/user.py b/discord/user.py index e5d3810a..e6307636 100644 --- a/discord/user.py +++ b/discord/user.py @@ -466,7 +466,7 @@ class User(BaseUser, discord.abc.Messageable): Specifies if the user is a bot account. """ - __slots__ = ('__weakref__') + __slots__ = ('__weakref__',) def __repr__(self): return '<User id={0.id} name={0.name!r} discriminator={0.discriminator!r} bot={0.bot}>'.format(self) |