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:
@@ -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}));
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user