Skip to content

Commit 784aa4f

Browse files
committed
Amend typo and black formatting.
1 parent 907b10d commit 784aa4f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cogs/modmail.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,11 +604,13 @@ async def sfw(self, ctx):
604604
@commands.command()
605605
@checks.has_permissions(PermissionLevel.SUPPORTER)
606606
@checks.thread_only()
607-
async def loglink(self, ctx, message_id: int):
607+
async def msglink(self, ctx, message_id: int):
608608
"""Retrieves the link to a message in the current thread."""
609609
message = await ctx.thread.recipient.fetch_message(message_id)
610610
if not message:
611-
embed = discord.Embed(color=self.bot.main_color, description="Message no longer exists.")
611+
embed = discord.Embed(
612+
color=self.bot.main_color, description="Message no longer exists."
613+
)
612614
else:
613615
embed = discord.Embed(color=self.bot.main_color, description=message.jump_url)
614616
await ctx.send(embed=embed)

0 commit comments

Comments
 (0)