Skip to content

Faironic/dokdo-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


About

This is a clone of wonderlandpark/dokdo

Dokdo. Easy Discord bot debugging tool.

It's a debugging tool for discord.js projects.

Preview

sh

Installation

npm i Faironic/dokdo-clone#main

Features

Shell command on stdout update

shell

Easy shard broadcastEval manager

shard

Example usage

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

const Dokdo = require('dokdo')

const DokdoHandler = new Dokdo(client, { owners: ["000000000000", "000000000000"] }) // If the owners are not specified then it will use Bot Application ownerID as default for owner option.

client.on('messageCreate', async message => {
  if ((message.content.startsWith('!dokdo') || (message.content.startsWith('!dok')) {
    DokdoHandler.run(message)
  }
})

client.login('super secret token')

About

This is a clone of wonderlandpark/dokdo with some updated and changed features.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors