fix langTask and joke
This commit is contained in:
parent
a080ab6085
commit
ebe5f91700
|
@ -23,13 +23,10 @@ class JokeTask {
|
|||
m.inlineKeyboard([m.callbackButton('MOAR', 'joke|moar')])
|
||||
)
|
||||
const { videoURL: media, description: caption } = await SERVICE.getJokeDev()
|
||||
return await editMessageMedia(
|
||||
{
|
||||
type: 'animation',
|
||||
media
|
||||
},
|
||||
moar
|
||||
).then(() => editMessageCaption(caption, moar))
|
||||
const objMedia = { type: 'animation', media }
|
||||
return await editMessageMedia(objMedia, moar).then(() =>
|
||||
editMessageCaption(caption, moar)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue