trigger command with regex?
is there a way to use regex patterns to to trigger a command when someone sends a message that matches one? commando-js had a 'patterns' property in the command constructor, I'm looking for something like that. sorry if i missed an obvious answer
2 Replies
@sapphire/plugin-pattern-commands
Plugin for @sapphire/framework that adds support for pattern commands.
❯ Author: sapphiredev
❯ Maintainers: favna, kyranet, and vladfrangu
❯ Latest version: 5.0.0
❯ License: MIT
❯ Date Created: <t:1640792204:d>
❯ Date Modified: <t:1679877317:d>
Dependencies:
tslib
cool tyyy