0.2.4 • Published 3 years ago

ulleungdo v0.2.4

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Ulleungdoa

dokdo에서 영감을 받은 discord.js v14 debugging tool

Installation

npm i ulleungdo

ulleungdo는 discord.js V14 이상만 지원합니다.

Example

const { Client, IntentsBitField, Partials } = require('discord.js');
const client = new Client({ intents: new IntentsBitField(130815), partials: [Partials.Message, Partials.Channel, Partials.Reaction] })
const fs = require('fs')

const ulleungdo = require('ulleungdo')
const ulleungdoHandler = new ulleungdo(client, { owner: ["오너ID"] , owners_Message : "당신을 개발자 또는 소유자가 아닙니다."  })
module.exports = ulleungdoHandler;

client.once('ready', async () => {
    console.log(`successfully ${client.user.username} bot login success`)
});


client.login('토큰')

SlashCommandBuilder

const { SlashCommandBuilder } = require('discord.js');
const ulleungdoHandler = require('../index.js')

module.exports = {
    data: new SlashCommandBuilder()
        .setName('ulleungdo')
        .setDescription('discord.js v14 debugging tool')
        .addStringOption(option => option.setName('category').setDescription('type').addChoices({ name: 'cat', value: 'cat' },{ name: 'curl', value: 'curl' },))
        .addStringOption(option => option.setName('input').setDescription('args')),
    /**
     * @param {import('discord.js').CommandInteraction} interaction 
    */
    async execute(interaction, client) {
        const category = interaction.options.getString('category');
        const args = interaction.options.getString('input');

        await ulleungdoHandler.start(interaction, category, args)
    }
}

ulleungdo 는 현재 3개의 type 를 제공합니다. "cat","curl","js"

ulleungdo 는 상호작용을 받아 모든것을 처리합니다. ex : deferReply()

Issue

github : link
discord : 태정#9874
email : taejung@taejung.xyz

0.2.1

3 years ago

0.2.0

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.4

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago