mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-25 03:06:11 +10:00
18 lines
584 B
JavaScript
18 lines
584 B
JavaScript
exports.name = "Emote Page Test"
|
|
exports.alias = ['emotetest']
|
|
exports.helptext = "testing for emote responses"
|
|
exports.helphide = true;
|
|
exports.command = (client, msg) => {
|
|
|
|
msg.reply ("testing emote thing")
|
|
.then(sent => {
|
|
sent.react('555213405217226776').then(
|
|
() => message.react('555213429200388116'));
|
|
const filter = (reaction, user) => user.id === msg.member.user.id
|
|
|
|
sent.awaitReactions(filter)
|
|
.then(collected => console.log(`Collected ${collected.size} reactions`))
|
|
.catch(console.error);
|
|
})
|
|
return true;
|
|
} |