TechSquidTV
Explore posts from serversSIASapphire - Imagine a framework
•Created by TechSquidTV on 4/7/2024 in #sapphire-support
Create a catch-all command to respond to any message?
I am working with AI, and so will actually likely only need a single command for the foreseeable future but I wanted to leave room for growth.
What I actually want now is the ability to
@mention
the bot with a query: @bot translate x to y
. The Command class from what I gather will only trigger based on the name and the aliases? Makes sense, just wondering if there is a way to maybe fall-back if the bot is pinged and does not match a command, could there be a "default" command?
edit:
Currently looking more at listeners as a possible solution.15 replies