Skip to content

Commit b949903

Browse files
committed
Remove unwanted slash in the generation of the message link
1 parent 90514ac commit b949903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model/channel/message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ impl Display for MessageLink {
994994
guild_id,
995995
} = self;
996996

997-
f.write_str("https://discord.com/channels/")?;
997+
f.write_str("https://discord.com/channels")?;
998998
if let Some(guild_id) = guild_id {
999999
write!(f, "/{guild_id}/{channel_id}/{message_id}")
10001000
} else {

0 commit comments

Comments
 (0)