| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There is for now only one Default Event which is the message event. To use it, simply execute the setDefaultEvents function from the CommandHandler Namespace.
There is for now only one default Command which is the ping command. To use it, simply execute the setDefaultCommands function from the CommandHandler Namespace.
const {CommandHandler} = require('advanced-command-handler');
CommandHandler
.create({
eventsDir: 'events',
commandsDir: 'commands',
prefixes: ['!'],
})
.setDefaultEvents()
.setDefaultCommands()
.launch({
token: 'token goes here',
});The official Discord support server is there.
| Back | FazBrowse Home | New Git URL |