diff --git a/index.js b/index.js index 592cd7b..50a223e 100644 --- a/index.js +++ b/index.js @@ -307,6 +307,15 @@ client.on("interactionCreate", async (interaction) => { } }); +/* + * DM commands + * - setrank: saves a player's rank + * - getrank: prints a player's rank + * - rankings: prints all players' ranks + * - whitelist: adds an admin to the whitelist to use DM commands + * - getwhitelist: prints the whitelist + * - clearwhitelist: clears the whitelist completely, security measure +*/ client.on("messageCreate", async (message) => { if (message.author.bot || message.guild) return;