3.0.1 • Published 2 years ago
ark-handler v3.0.1
Usage
const Client = new discord.Client({
intents:
[
discord.IntentsBitField.Flags.MessageContent,
discord.IntentsBitField.Flags.Guilds,
discord.IntentsBitField.Flags.GuildMessages,
]
})
Note that this is the bare minimum for the handler work, you can server your needs as you wish
new Ark(Client,{
Owner: "YourName#123",
CommandsDirectory: __dirname + '/commands',
FeaturesDirectory: __dirname + '/features',
PREFIX: "!",
RegisterDefaults: true
})
Now its ready, you can create commands and features of your heart's contents.