1.0.14 • Published 7 months ago

skyru v1.0.14

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

About

Skyru. Easy Discord bot debuging tool.

It's debugging tool for discord.js projects.

Preview

sh

Installation

You could install skyru@0.4.1 by

  npm i skyru@djsv12

You could install skyru@0.5.1 by

  npm i skyru@djsv13

Stable

npm i skyru@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 Skyru = require('skyru')

const SkyruHandler = new Skyru.Client(client, { aliases: ['skyru', 'sky'], 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
  SkyruHandler.run(message) // try !dokdo
})

client.login('super secret token')

Notes

Message contents intent not approved?

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

Example:

new Skyru(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.14

7 months ago

1.0.13

7 months ago

1.0.12

7 months ago

1.0.11

7 months ago

1.0.10

7 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.0.7

7 months ago

1.0.6

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.1

7 months ago

1.0.2

7 months ago