$disableMentions
Removes the actual mention from any mentions in the command and replaces it with `<@userIDhere>`.

FUNCTION USAGE

  • $disableMentions[]
  • $disableMentions[all]
  • $disableMentions[everyone]

Properties:

[] - If brackets are left blank, function defaults to the all usage. all - Removes mentions including @everyone. everyone - Removes all mentions from users and @here.
1
bot.Command({
2
name: "say",
3
code: `
4
$message[]
5
$disableMentions[]
6
`},
Copied!
Input
Output on phone
Output on PC
!say I simp for @matsumouri
I simp for <@184423225701171200>
I simp for <@!184423225701171200>
This can then easily be replaced with something else with either $replaceText or $splitContent or be manipulated however you want with other functions in the library.
Last modified 6mo ago
Copy link
Contents
Properties: