mirror of
https://github.com/Art-Portal/April.git
synced 2025-03-12 16:52:19 +01:00
Added comment
Explained meaning of the boolean in deploy_commands()
This commit is contained in:
parent
a922032142
commit
22ec12a1d4
6
index.js
6
index.js
@ -64,7 +64,11 @@ for (const file of eventFiles) {
|
||||
}
|
||||
}
|
||||
|
||||
deploy_commands(client, true);//true: will refresh slash commands
|
||||
deploy_commands(client, true);
|
||||
/*
|
||||
true will refresh slash commands (SET endpoint)
|
||||
false will delete them (SET endpoint with an empty array)
|
||||
*/
|
||||
|
||||
|
||||
client.login(token);
|
Loading…
x
Reference in New Issue
Block a user