fix: remove dokdo
This commit is contained in:
parent
177417810c
commit
bf32ecefad
1 changed files with 0 additions and 7 deletions
|
@ -2,7 +2,6 @@ import { ActivityType, Client, GatewayIntentBits } from 'discord.js'
|
||||||
import ChatBot from './ChatBot.js'
|
import ChatBot from './ChatBot.js'
|
||||||
import { join, dirname } from 'node:path'
|
import { join, dirname } from 'node:path'
|
||||||
import { fileURLToPath } from 'node:url'
|
import { fileURLToPath } from 'node:url'
|
||||||
import Dokdo from 'dokdo'
|
|
||||||
import 'dotenv/config'
|
import 'dotenv/config'
|
||||||
|
|
||||||
export default class MuffinAI extends Client {
|
export default class MuffinAI extends Client {
|
||||||
|
@ -29,12 +28,6 @@ export default class MuffinAI extends Client {
|
||||||
console.log(`먹힐 준비 완료`)
|
console.log(`먹힐 준비 완료`)
|
||||||
}).on('messageCreate', msg => {
|
}).on('messageCreate', msg => {
|
||||||
if (msg.author.bot) return
|
if (msg.author.bot) return
|
||||||
new Dokdo(this, {
|
|
||||||
prefix: '멒힌아 ',
|
|
||||||
noPerm: msg => msg.reply('당신은 내 남자친구가 아니잖아!'),
|
|
||||||
aliases: ['테스트'],
|
|
||||||
owners: ['415135882006495242'],
|
|
||||||
}).run(msg)
|
|
||||||
if (msg.content.startsWith('머핀아 ')) this.chatBot.getResponse(msg, true)
|
if (msg.content.startsWith('머핀아 ')) this.chatBot.getResponse(msg, true)
|
||||||
else if (msg.content.startsWith('멒힌아 봇꺼')) {
|
else if (msg.content.startsWith('멒힌아 봇꺼')) {
|
||||||
if (msg.author.id !== '415135882006495242') {
|
if (msg.author.id !== '415135882006495242') {
|
||||||
|
|
Loading…
Reference in a new issue