Skip to content

Commit bbfdfc0

Browse files
committed
updt(commands): add global deploy in comment
1 parent 5d2bdca commit bbfdfc0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/handlers/commands.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,17 @@ module.exports = async (client) => {
4040
try {
4141
console.log(`Lancement du déploiement des ${commands.length} slash commandes (/).`);
4242

43+
// Deploy our commands to one guild
4344
const data = await rest.put(
4445
Routes.applicationGuildCommands(process.env.CLIENT_ID, process.env.GUILD_ID),
4546
{ body: commands },
4647
);
48+
49+
// Deploy our commands globally
50+
// const data = await rest.put(
51+
// Routes.applicationCommands(process.env.CLIENT_ID),
52+
// { body: commands },
53+
// );
4754

4855
console.log(`Déploiement des ${data.length} slash commandes (/) réussit.`);
4956
} catch (error) {

0 commit comments

Comments
 (0)