1
1
mirror of https://gitlab.com/ceda_ei/Quadnite-Bot synced 2026-05-06 05:40:04 +02:00

Fix crash on failing to send gif

This commit is contained in:
2024-09-30 10:05:45 +05:30
parent 41ae943913
commit 80a0dbd2d3
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ module.exports = (forms, getGif) => (ctx) => {
reply = forms.none
.replace("{}", user);
getGif()
return getGif()
.then(gif => ctx.replyWithAnimation(gif.data.url, {caption: reply}));
};