fix: asdf
This commit is contained in:
parent
d8d0b453d2
commit
8b70b6a44a
1 changed files with 6 additions and 0 deletions
|
@ -8,6 +8,11 @@ export default class extends Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
public async execute(msg: Message, args: string[]) {
|
public async execute(msg: Message, args: string[]) {
|
||||||
|
if (!args[0] || !args[1]) {
|
||||||
|
return await msg.channel.send(
|
||||||
|
'```\n멒힌아 배워 (등록할 단어) (대답)\n```\n `_`를 대답에 쓰면 공백으로 바뀌ㅇ어요.',
|
||||||
|
)
|
||||||
|
}
|
||||||
const command = args[0]
|
const command = args[0]
|
||||||
const result = args[1].replaceAll('_', ' ')
|
const result = args[1].replaceAll('_', ' ')
|
||||||
const ignore = [
|
const ignore = [
|
||||||
|
@ -18,6 +23,7 @@ export default class extends Command {
|
||||||
'Migan',
|
'Migan',
|
||||||
'migan',
|
'migan',
|
||||||
'간미',
|
'간미',
|
||||||
|
'삭제',
|
||||||
]
|
]
|
||||||
const disallowed = ['@everyone', '@here', `<@${config.bot.owner_ID}>`]
|
const disallowed = ['@everyone', '@here', `<@${config.bot.owner_ID}>`]
|
||||||
const db = await msg.client.chatBot.db.getConnection()
|
const db = await msg.client.chatBot.db.getConnection()
|
||||||
|
|
Loading…
Reference in a new issue