refactor allat

This commit is contained in:
jacob
2024-05-01 16:46:12 -05:00
parent e8cfcc2525
commit 0488f45677
13 changed files with 44 additions and 50 deletions

View File

@@ -105,8 +105,7 @@ export class Context extends CoreContext<Message, ChatInputCommandInteraction> {
this.ctx
.map(m => m.reply(content as MessageReplyOptions))
.mapErr(i =>
i.reply(content as InteractionReplyOptions).then(() => i.fetchReply()),
),
i.reply(content as InteractionReplyOptions).then(() => i.fetchReply())),
);
}