We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d2bdca commit bbfdfc0Copy full SHA for bbfdfc0
1 file changed
src/handlers/commands.js
@@ -40,10 +40,17 @@ module.exports = async (client) => {
40
try {
41
console.log(`Lancement du déploiement des ${commands.length} slash commandes (/).`);
42
43
+ // Deploy our commands to one guild
44
const data = await rest.put(
45
Routes.applicationGuildCommands(process.env.CLIENT_ID, process.env.GUILD_ID),
46
{ body: commands },
47
);
48
+
49
+ // Deploy our commands globally
50
+ // const data = await rest.put(
51
+ // Routes.applicationCommands(process.env.CLIENT_ID),
52
+ // { body: commands },
53
+ // );
54
55
console.log(`Déploiement des ${data.length} slash commandes (/) réussit.`);
56
} catch (error) {
0 commit comments