diff --git a/package.json b/package.json index 0851eea..5ead1fa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "muffinbot", - "version": "4.0.0-pudding.d241001b", + "version": "4.0.0-pudding.d241004a", "main": "dist/index.js", "private": true, "dependencies": { diff --git a/src/Client.ts b/src/Client.ts index 745c8fc..aae946b 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -23,7 +23,7 @@ container.version = version container.database = new PrismaClient() container.dokdoAliases = ['dokdo', 'dok', 'Dokdo', 'Dok', '테스트'] container.chatBot = new ChatBot(container.database) -container.lastUpdated = new Date('2024-10-01') +container.lastUpdated = new Date('2024-10-04') if (release.startsWith('e')) { container.channel = 'EXPERIMENTAL' diff --git a/src/Commands/learn.ts b/src/Commands/learn.ts index 2e2bc69..467bcc2 100644 --- a/src/Commands/learn.ts +++ b/src/Commands/learn.ts @@ -37,7 +37,7 @@ class LearnCommand extends Command { } private async _run(ctx: Message | ChatInputCommandInteraction, args?: Args) { - if (ctx instanceof ChatInputCommandInteraction) ctx.deferReply() + if (ctx instanceof ChatInputCommandInteraction) await ctx.deferReply() if (typeof this.detailedDescription === 'string') return const config = this.container.config