Functionalities
Other
$noMentionMessage
Returns the message content without any mentions in it.

FUNCTION USAGE

  • $noMentionMessage
  • $noMentionMessage[]
  • $noMentionMessage[number]

Properties:

[] - Leave brackets empty to return all arguments in the command line without mentions. Same as no brackets. number - Returns the argument in place of the number.

Example 1: Returns the content without mentions in it

1
bot.Command({
2
name: "test",
3
code: `
4
$noMentionMessage
5
$onlyIf[$mentioned[1]!=;You must mention someone too.]
6
$onlyIf[$noMentionMessage!=;You must provide a normal message too!]
7
`
8
})
Copied!

Example 1: Returns the content without mentions in it

1
bot.Command({
2
name: "test",
3
code: `
4
$noMentionMessage[1] $noMentionMessage[5]
5
$onlyIf[$mentioned[1]!=;You must mention someone too.]
6
$onlyIf[$noMentionMessag[6]!=;You must provide a normal message with at least 6 args without mentions.!]
7
`
8
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: