1//Delete command globally:
2client.api.applications(client.user.id).commands("command-id (interaction.data.id)").delete();
3
4//Delete for specific guild(s):
5client.api.applications(client.user.id).guilds("guild-id(s)").commands("command-id (interaction.data.id)").delete();