mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 09:56:05 -05:00
Bump black to 20.8b1 (and reformat) (#4371)
* Bump black version * Reformat with black
This commit is contained in:
@@ -48,7 +48,7 @@ class GlobalUniqueObjectFinder(commands.Converter):
|
||||
async for guild in AsyncIter(bot.guilds, steps=100)
|
||||
]
|
||||
|
||||
objects = itertools.chain(bot.get_all_channels(), bot.users, bot.guilds, *all_roles,)
|
||||
objects = itertools.chain(bot.get_all_channels(), bot.users, bot.guilds, *all_roles)
|
||||
|
||||
maybe_matches = []
|
||||
async for obj in AsyncIter(objects, steps=100):
|
||||
|
||||
@@ -453,7 +453,7 @@ class Permissions(commands.Cog):
|
||||
`<cog_or_command>` is the cog or command to remove the rule
|
||||
from. This is case sensitive.
|
||||
|
||||
`<who_or_what>` is one or more users, channels or roles the rule is for.
|
||||
`<who_or_what>` is one or more users, channels or roles the rule is for.
|
||||
"""
|
||||
if not who_or_what:
|
||||
await ctx.send_help()
|
||||
|
||||
Reference in New Issue
Block a user