text command triggered by mentioning
For some context, I noticed that someone else had asked a similar question here, and the answer to that question was to add a listener called mentionPrefixOnly. What I am looking for is something similar. I am building an AI bot, and I want my users to be able to reply to a message and say something like "@Bot, is this true?" How can I get this to work?
Solution:
Jump to solution
This worked perfectly, just for search purposes the correct event is UnknownMessageCommand

7 Replies
use message context commands?
instead of message commands
i.e. right click a message -> apps
no not what I'm looking for I want to allow my users to ask whatever and I feel like that would be an step to get there just a simple bot mention and the prompt
well mentions for commands work automatically
@Skyra help
Displaying one category per page. Have issues with the embed? Run
@Skyra help --all
for a full list in DMs.Admin Commands
⢠<@266624760782258186> roleset ā Manage unique role sets.
⢠<@266624760782258186> conf ā Define per-server settings.
1 / 14
as for resolving it into a command, use unknownCommand listener iirc
I'm using a Listeners for that, works great in local but I don't know why, it's not detected in prod without any errors to help me out š
Solution
This worked perfectly, just for search purposes the correct event is UnknownMessageCommand
