# μ˜ˆμ‹œ

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')

# κ²°κ³Ό

Preview