forked from pinks/eris
1
0
Fork 0

fix type error

This commit is contained in:
pinks 2023-11-17 19:22:35 +01:00
parent fad14f685e
commit e7d292df60
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ async function pnginfo(ctx: ErisContext, includeRepliedTo: boolean): Promise<voi
const buffer = await fetch(file.getUrl()).then((resp) => 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 }),
);