📅  最后修改于: 2022-03-11 15:03:07.693000             🧑  作者: Mango
//Delete command globally:
client.api.applications(client.user.id).commands("command-id (interaction.data.id)").delete();
//Delete for specific guild(s):
client.api.applications(client.user.id).guilds("guild-id(s)").commands("command-id (interaction.data.id)").delete();