import DiscordJS, { Intents } from 'discord.js'
import WOKCommands from 'wokcommands'
const client = new DiscordJS.Client({
// These intents are recommended for the built in help menu
Intents.FLAGS.GUILD_MESSAGES,
Intents.FLAGS.GUILD_MESSAGE_REACTIONS,
client.on('ready', () => {
new WOKCommands(client, {
// The name of the local folder for your command files
commandsDir: path.join(__dirname, 'commands'),
// Allow importing of .ts files if you are using ts-node
// You can change the default emojis as well
// "Configuration" is ⚙ by default
// You can also hide a category from the help menu
// You can also use custom emojis by specifying the ID
// NOTE: Your bot MUST be in the same server as the emoji
// :typescript: emoji ID from the WOK server
emoji: '814238393747243009',
// You can also specify the full name of the emoji without the boolean
// WOKCommands will detect that this is custom and get the ID
// NOTE: Your bot MUST be in the same server as the emoji
// :typescript: emoji String from the WOK server
emoji: '<:typescript:791512440021975062>'
client.login('YOUR TOKEN HERE')