denikson 6 роки тому
батько
коміт
b35aa2518b
1 змінених файлів з 4 додано та 0 видалено
  1. 4 0
      main.js

+ 4 - 0
main.js

@@ -120,6 +120,10 @@ const commands = {
         db.get("messageReactions").unset(content).write();
         msg.channel.send(`${msg.author.toString()} Removed reaction!`);
     },
+    "reactions": msg => {
+        let reactions = db.get("messageReactions").keys().value().reduce((p, c) => `${p}\n${c}`, "");
+        msg.channel.send(`I'll react to the following messages:\n\`\`\`${reactions}\`\`\``);
+    },
     "help": msg => {
         let guides = db
             .get("guides")