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')])
|
m.inlineKeyboard([m.callbackButton('MOAR', 'joke|moar')])
|
||||||
)
|
)
|
||||||
const { videoURL: media, description: caption } = await SERVICE.getJokeDev()
|
const { videoURL: media, description: caption } = await SERVICE.getJokeDev()
|
||||||
return await editMessageMedia(
|
const objMedia = { type: 'animation', media }
|
||||||
{
|
return await editMessageMedia(objMedia, moar).then(() =>
|
||||||
type: 'animation',
|
editMessageCaption(caption, moar)
|
||||||
media
|
)
|
||||||
},
|
|
||||||
moar
|
|
||||||
).then(() => editMessageCaption(caption, moar))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue