From e7d292df600d7d9bc25068ed4e4d099b3f27a3dc Mon Sep 17 00:00:00 2001 From: pinks Date: Fri, 17 Nov 2023 19:22:35 +0100 Subject: [PATCH] fix type error --- bot/pnginfoCommand.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/pnginfoCommand.ts b/bot/pnginfoCommand.ts index ed41fcf..35ef0c6 100644 --- a/bot/pnginfoCommand.ts +++ b/bot/pnginfoCommand.ts @@ -39,7 +39,7 @@ async function pnginfo(ctx: ErisContext, includeRepliedTo: boolean): Promise resp.arrayBuffer()); const info = getPngInfo(buffer); if (!info) { - return await ctx.reply( + return void await ctx.reply( "No info found in file.", omitUndef({ reply_to_message_id: ctx.message?.message_id }), );