Added the ability to add/remove slash commands

This commit is contained in:
ION606
2023-04-18 16:50:15 -04:00
parent 0c278857ce
commit 04af684e13
7 changed files with 84 additions and 121 deletions
+7
View File
@@ -13,6 +13,13 @@ export default async (interaction) => {
const response = await interaction.followUp("followup!");
await delay(2000);
response.delete();
// interaction.client.commands.set({
// name: 'none',
// description: 'eheheheheh'
// });
// const delResp = await interaction.client.commands.delete('none');
// console.log(delResp);
} else {
console.log(interaction);
}