Functionalities
Other
$lastMessageURL
Returns the message URL link of the last message sent by a user.

FUNCTION USAGE

  • $lastMessageURL
  • $lastMessageURL[]
  • $lastMessageURL[userID]

Properties:

[] - Leave brackets empty to return data for the command author. Same as no brackets. userID - Returns data from the provided user ID.

Example 1: Returns the message URL of the last message sent by the command author.

1
bot.Command({
2
name: "lastmsg-link",
3
code: `
4
Msg Link - $lastMessageURL
5
`
6
})
Copied!

Example 2: Returns the message URL of the last message sent by the user found from $findUser.

1
bot.Command({
2
name: "lastmsg-link",
3
code: `
4
Msg Link - $lastMessageURL[$findUser[$message[]]]
5
`
6
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: