chore: dm command descriptions
This commit is contained in:
parent
bd555b17c8
commit
52a5c63230
9
index.js
9
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) => {
|
client.on("messageCreate", async (message) => {
|
||||||
if (message.author.bot || message.guild) return;
|
if (message.author.bot || message.guild) return;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user