Skip to content

Commit 4d1558d

Browse files
committed
fix: Fixed abc.GuildChannel.jump_url not working for channels without a guild_channel property
1 parent 9590de4 commit 4d1558d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/abc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def mention(self):
400400
@property
401401
def jump_url(self):
402402
""":class:`str`: Returns a URL that allows the client to jump to the referenced channel."""
403-
return f'https://discord.com/channels/{self.guild_id}/{self.id}' # type: ignore
403+
return f'https://discord.com/channels/{self.guild.id}/{self.id}' # type: ignore
404404

405405
@property
406406
def created_at(self):

0 commit comments

Comments
 (0)