From 52a5c63230ebe41d61804d01b67964cd81b45026 Mon Sep 17 00:00:00 2001 From: ethanf Date: Tue, 23 Jan 2024 18:29:51 -0600 Subject: [PATCH] chore: dm command descriptions --- index.js | 9 +++++++++ 1 file changed, 9 insertions(+) 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;