[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.
/ dismon Public archive

A node.js library that gives you the ability to monitor Discord API gateway events. Join our support server 👇

License

Notifications You must be signed in to change notification settings

Ajauish/dismon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dismon.js

A node.js library that gives you the ability to monitor Discord API gateway events.

npm version npm downloads

What it can do

  • 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.

What it can't do

  • You can't create a full-interactable-bot with this, you have the power to recieve and log discord API events only.

Examples

Connection

const { Client } = require('dismon');

const client = new Client('TOKEN');

client.connect();

Logging

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`)
})

Documents

Coming when ready

Authors

This library is made by Abdullah Jauish

Contributing

Fork, edit or pull request this library is welcomed, any modification and updates that will help Dismon will be merged.

About

A node.js library that gives you the ability to monitor Discord API gateway events. Join our support server 👇

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published