Custom Messages
const SLHandler = require('sl-commands').default
const { join } = require('path')
new SLHandler({
/** The absolute path to the JSON file */
messagesPath: join(__dirname, 'messages.json'),
commandsDir: join(__dirname, 'commands'),
botToken: 'Your_Bot_Token',
})import SLHandler from 'sl-commands'
import { join } from 'path'
new SLHandler({
/** The absolute path to the JSON file */
messagesPath: join(__dirname, 'messages.json'),
commandsDir: join(__dirname, 'commands'),
botToken: 'Your_Bot_Token',
})Last updated