bot.command('start', async (ctx) => {
try {
const result = await ctx.answer.sendDice('🎯')
console.log(result.dice) // { emoji: '🎯', value: 1 (1-6, 6 as max) }
} catch (e) {
console.error(e)
}
})
bot.on('dice', console.log) // when user drop dice
You can also use 'message:entity' and pass into 'entity' one of allowed entitiy types instead 'message:email' (bold, bot_command, email, url, phone_number)