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):
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 )
You can’t perform that action at this time.
0 commit comments