discord-handling

An easy way to handle discord bot commands & events

Usage no npm install needed!

<script type="module">
  import discordHandling from 'https://cdn.skypack.dev/discord-handling';
</script>

README

Exemple

const { Handle } = require('discord-handling');

let handler = new Handler({
    token: process.env.token,
    indexPath: __dirname,
    prefix: "?"
}); handler.createCommandCollection()
    .createEventCollection()
    .handleEvents()

const client = handler.getClient();

The bot is now ready to be used !