fix type error
This commit is contained in:
parent
fad14f685e
commit
e7d292df60
|
@ -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 }),
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue