fix: Add ignore words
This commit is contained in:
parent
f13b6b3e42
commit
a5def02140
4 changed files with 12 additions and 8 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -139,3 +139,5 @@ db/
|
|||
|
||||
.idea/
|
||||
./database/
|
||||
|
||||
.DS_Store
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "muffinbot",
|
||||
"version": "2.0.0-oreo.r240617a",
|
||||
"version": "2.0.0-oreo.r240714a",
|
||||
"main": "dist/index.js",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -15,16 +15,18 @@ export default class extends Command {
|
|||
}
|
||||
const command = args[0].replaceAll('_', ' ')
|
||||
const result = args[1].replaceAll('_', ' ')
|
||||
const commands: string[] = []
|
||||
|
||||
msg.client.modules.map(a => commands.push(a.name))
|
||||
|
||||
const ignore = [
|
||||
'학습데이터량',
|
||||
'봇꺼',
|
||||
'테스트',
|
||||
...commands,
|
||||
'미간',
|
||||
'Migan',
|
||||
'migan',
|
||||
'간미',
|
||||
'삭제',
|
||||
'삭제',
|
||||
'dokdo',
|
||||
'dok',
|
||||
]
|
||||
const disallowed = ['@everyone', '@here', `<@${config.bot.owner_ID}>`]
|
||||
const db = msg.client.chatBot.db
|
||||
|
|
|
@ -71,7 +71,7 @@ export default class ChatBot {
|
|||
|
||||
setInterval(async () => {
|
||||
await this.db.ping()
|
||||
}, 600000)
|
||||
}, 3_600_000)
|
||||
return this
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue