- It can be used with discord.js
- It can log a specific discord API event
- It can log a specific role, roles, channel, or a whole guild.
- You can't create a full-interactable-bot with this, you have the power to recieve and log discord API events only.
const { Client } = require('dismon');
const client = new Client('TOKEN');
client.connect();
const { Client } = require('dismon');
const client = new Client('TOKEN');
client.connect();
// log all events on a specific channel
client.logChannel("Channel ID");
// log all events on a specific role
client.logRole("Role ID");
// log all events on all roles in a guild
client.logRoles("Guild ID")
// log a specific event
client.addLogger("READY", () => {
console.log(`Client is ready`)
})
Coming when ready
This library is made by Abdullah Jauish
Fork, edit or pull request this library is welcomed, any modification and updates that will help Dismon will be merged.