Skip to content

Commit 3ed0eb7

Browse files
committed
Black format
1 parent 703f04f commit 3ed0eb7

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ async def convert_emoji(self, name: str) -> str:
640640
ctx = SimpleNamespace(bot=self, guild=self.modmail_guild)
641641
converter = commands.EmojiConverter()
642642

643-
if name not in UNICODE_EMOJI['en']:
643+
if name not in UNICODE_EMOJI["en"]:
644644
try:
645645
name = await converter.convert(ctx, name.strip(":"))
646646
except commands.BadArgument as e:

cogs/modmail.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,9 @@ async def move(self, ctx, *, arguments):
322322
silent_words = ["silent", "silently"]
323323
silent = any(word in silent_words for word in options.split())
324324

325-
await thread.channel.move(category=category, end=True, sync_permissions=True,
326-
reason=f"{ctx.author} moved this thread.")
325+
await thread.channel.move(
326+
category=category, end=True, sync_permissions=True, reason=f"{ctx.author} moved this thread."
327+
)
327328

328329
if self.bot.config["thread_move_notify"] and not silent:
329330
embed = discord.Embed(

core/clients.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,8 @@ def __init__(self, bot):
377377
except ConfigurationError as e:
378378
logger.critical(
379379
"Your MongoDB CONNECTION_URI might be copied wrong, try re-copying from the source again. "
380-
"Otherwise noted in the following message:\n%s", e
380+
"Otherwise noted in the following message:\n%s",
381+
e,
381382
)
382383
sys.exit(0)
383384

0 commit comments

Comments
 (0)