mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-25 03:06:11 +10:00
cleaned up anagram.js, combined module exports.
This commit is contained in:
@@ -1,18 +1,20 @@
|
||||
exports.name = "Emote Page Test"
|
||||
exports.alias = ['emotetest']
|
||||
exports.helptext = "testing for emote responses"
|
||||
exports.helphide = true;
|
||||
exports.command = (client, msg) => {
|
||||
module.exports = {
|
||||
name = "Emote Page Test",
|
||||
alias =['emotetest'],
|
||||
helptext = "testing for emote responses",
|
||||
helphide = true;,
|
||||
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
|
||||
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;
|
||||
sent.awaitReactions(filter)
|
||||
.then(collected => console.log(`Collected ${collected.size} reactions`))
|
||||
.catch(console.error);
|
||||
})
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user