# μμ
Dokdoμ μ¬μ© μμ
# κΆνμ΄ μλ μ μ μ λν λ°ν λ©μμ§
const Discord = require('discord.js')
const dokdo = require('dokdo')
const client = new Discord.Client()
const DokdoHandler = new Dokdo(client, { prefix: '!', noPerm: (message) => message.reply('π« dokdoλ₯Ό μ¬μ©ν κΆνμ΄ μμ΅λλ€.') })
client.on('ready', () => {
console.log(`Logged in as ${client.user.tag}!`)
})
client.on('message', async message => {
if (message.content === 'ν') return message.reply('ν')
await DokdoHandler.run(message)
})
client.login('token')