Skip to content

Dokdo. Easy Discord bot debuging tool.

License

Notifications You must be signed in to change notification settings

zero734kr/dokdo

 
 

Repository files navigation


Build status

About

Dokdo. Easy Discord bot debuging tool.

It's debugging tool for discord.js projects.

Preview

sh

Installation

For now I recommend using Dev version.

Stable

npm i dokdo@latest

Dev

npm i wonderlandpark/dokdo#main

Features

Easy shard broadcastEval manager

shard

Example usage

const Discord = require('discord.js')
const client = new Discord.Client()

const Dokdo = require('dokdo')

const DokdoHandler = new Dokdo(client, { aliases: ['dokdo', 'dok'], prefix: '!' }) // Using Bot Application ownerID as default for owner option.

client.on('message', async message => {
  if (message.content === 'ping') return message.channel.send('Pong') // handle commands first
  DokdoHandler.run(message) // try !dokdo
})

client.login('super secret token')

Contributing

Please check out it hasn't already been exists before you create issue, and check the contribution guide before you submit Pull Request.

About

Dokdo. Easy Discord bot debuging tool.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.7%
  • PowerShell 1.3%