mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Use f-strings in more places that were missed.
This commit is contained in:
1 parent
c3e0b6e123
commit
99fc950510
34 files changed
+220
-143
No files matched your search
+1
-1
@@ -279,7 +279,7 @@ class GuildChannel(Protocol):
|
||||
perms = []
|
||||
for target, perm in overwrites.items():
|
||||
if not isinstance(perm, PermissionOverwrite):
|
||||
raise InvalidArgument('Expected PermissionOverwrite received {0.__name__}'.format(type(perm)))
|
||||
raise InvalidArgument(f'Expected PermissionOverwrite received {perm.__class__.__name__}')
|
||||
|
||||
allow, deny = perm.pair()
|
||||
payload = {
|
||||
|
||||
Reference in new issue
Block a user