File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -604,11 +604,13 @@ async def sfw(self, ctx):
604
604
@commands .command ()
605
605
@checks .has_permissions (PermissionLevel .SUPPORTER )
606
606
@checks .thread_only ()
607
- async def loglink (self , ctx , message_id : int ):
607
+ async def msglink (self , ctx , message_id : int ):
608
608
"""Retrieves the link to a message in the current thread."""
609
609
message = await ctx .thread .recipient .fetch_message (message_id )
610
610
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
+ )
612
614
else :
613
615
embed = discord .Embed (color = self .bot .main_color , description = message .jump_url )
614
616
await ctx .send (embed = embed )
You can’t perform that action at this time.
0 commit comments