1.0.1 • Published 10 months ago

dokdo v1.0.1

Weekly downloads
11
License
MIT
Repository
github
Last release
10 months ago

About

Dokdo. Easy Discord bot debuging tool.

It's debugging tool for discord.js projects.

Preview

sh

Installation

You could install dokdo@0.4.1 by

  npm i dokdo@djsv12

You could install dokdo@0.5.1 by

  npm i dokdo@djsv13

Stable

npm i dokdo@latest

Dev

npm i wonderlandpark/dokdo#main

Features

Shell command on stdout update

shell

Easy shard broadcastEval manager

shard

Example usage

const Discord = require('discord.js')
const client = new Discord.Client({ intents: ['GUILDS', 'GUILD_MESSAGES'] })

const Dokdo = require('dokdo')

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

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

client.login('super secret token')

Notes

Message contents intent not approved?

You can set the Dokdo prefix including mentions. This allows the client to read the message content.

Example:

new Dokdo(client, {  prefix: '<@285185716240252929>' })

// Commmand Usage: <@285185716240252929>dokdo

Contributing

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

1.0.1

10 months ago

1.0.0

10 months ago

0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.1

3 years ago

0.5.0

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago

0.0.1

4 years ago