text command triggered by mentioning bot (no command name)

I want to trigger a text command when the user mentions the bot, but with no command name. what is the best way to implement this?
Solution:
Add a listener called mentionPrefixOnly
Jump to solution
3 Replies
Kevin
KevinOP2mo ago
this is only for prefixing the command name though, right? how do I make a command that has no name and triggers just by mentioning the bot?
Solution
Favna
Favna2mo ago
Add a listener called mentionPrefixOnly

Did you find this page helpful?