u
Size: a a a
u
СК
СК
JD
СК
JD
СК
UO
1
bot.hears(
new RegExp(`@${BOT_USERNAME}`),
Composer.groupChat(ctx => console.log(ctx))
);
1
const isBotMention = ({ message, me }) => message.text.includes(`@${me}`);
bot.on('text',
Composer.groupChat(
Composer.optional(isBotMention, ctx => {
console.log(ctx);
})
)
);
A
ee
1
UO
1
get me () {
return this.options && this.options.username
}
Y💜
UO
JD