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 }), );