Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
potvik committed Sep 29, 2023
1 parent 60ddbe3 commit cefaf82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/sd-images/SDImagesBotBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class SDImagesBotBase {
: `/${model.aliases[0]} ${prompt}`

if (format === MEDIA_FORMAT.GIF) {
await ctx.replyWithAnimation(new InputFile(imageBuffer), {
await ctx.replyWithAnimation(new InputFile(imageBuffer, 'file.gif'), {
caption: specialMessage ?? reqMessage,
message_thread_id: ctx.message?.message_thread_id
})
Expand Down

0 comments on commit cefaf82

Please sign in to comment.