Initial commit

This commit is contained in:
2019-03-16 14:48:09 +11:00
commit 5dd1619545
32 changed files with 1757 additions and 0 deletions

18
commands/emotepage.js Normal file
View 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;
}