Skip to content

$messageURL

$messageURL will return the URL of a given message.

Usage

$messageURL[messageID?;channelID?]

Parameters

FieldTypeDescriptionRequired
messageID?numberID of the message.false
channelID?numberID of the channel where the message is located in.false

Example(s)

This will return the message URL of the message which executed the command:

1
client.command({
2
name: "messageURL",
3
code: `
4
$messageURL[$messageID;$channelID]
5
`
6
});