$isHereMentioned
Returns `true` if @here is used in the message. Otherwise, bot returns `false`.

FUNCTION USAGE

  • $isHereMentioned
  • $isHereMentioned[content]

Properties:

content - The content the bot will read while looking for @here mentions. If no brackets are used, the function will look thru arguments in the command/message.
Example 1: Returns true. Since @here was used in the message.
1
bot.Command({
2
name: "test",
3
code: `
4
$isHereMentioned[How's @everyone doing?]
5
`
6
})
Copied!
Example 2: Returns false. Since no @here was used in the message.
1
bot.Command({
2
name: "test",
3
code: `
4
$isHereMentioned[How's everyone doing?]
5
`
6
})
Copied!
Last modified 6mo ago
Copy link
Contents
Properties: