mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-25 19:26:12 +10:00
Initial commit
This commit is contained in:
18
commands/emotepage.js
Normal file
18
commands/emotepage.js
Normal file
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user