forked from pinks/eris
1
0
Fork 0

main #14

Merged
nameless merged 16 commits from pinks/eris:main into main 2024-01-03 00:41:03 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit e7d292df60 - Show all commits

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 buffer = await fetch(file.getUrl()).then((resp) => resp.arrayBuffer());
const info = getPngInfo(buffer); const info = getPngInfo(buffer);
if (!info) { if (!info) {
return await ctx.reply( return void await ctx.reply(
"No info found in file.", "No info found in file.",
omitUndef({ reply_to_message_id: ctx.message?.message_id }), omitUndef({ reply_to_message_id: ctx.message?.message_id }),
); );