discord-rbx
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -45,11 +45,3 @@ "use strict"; | ||
client.guildIds.forEach(async (guildId) => { | ||
const commands = await client.application.getGuildCommands(guildId); | ||
console.log(commands); | ||
for (const command of commands) { | ||
console.log(command); | ||
if (!client.commands.get(command.name)) { | ||
console.log('Not found'); | ||
command.delete(); | ||
} | ||
} | ||
await client.application.bulkEditGuildCommands(guildId, []); | ||
client.commands.forEach(async (command) => { | ||
@@ -56,0 +48,0 @@ await client.application.createGuildCommand(guildId, command); |
{ | ||
"name": "discord-rbx", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Builders for rbx utility", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
176652
2546