chore: dm command descriptions

This commit is contained in:
ethanf 2024-01-23 18:29:51 -06:00
parent bd555b17c8
commit 52a5c63230

View File

@ -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) => { client.on("messageCreate", async (message) => {
if (message.author.bot || message.guild) return; if (message.author.bot || message.guild) return;