Ping Pong
Quack.js provides three options for reading in user input, slash commands, events, and triggers. Also, the events are expanded from Discord.js' base events utilizing the discord-logs package.
Slash Command
Slash commands are a handy feature of Discord, they provide an easy-to-use UI and awesome development features.
And boom, you added your first slash command!
Events
Another way to create ping functionality is via events. You can simply do this y creating a messageCreate event, for example.
Triggers
Triggers are a handy little tool. If a regex or a normal string is met, the trigger will fire and you are able to perform an action.
Last updated