Archnemix commited on
Commit
f2c5563
·
verified ·
1 Parent(s): 3fc73f4

Upload 22 files

Browse files
Files changed (1) hide show
  1. src/deploy-commands.js +2 -0
src/deploy-commands.js CHANGED
@@ -36,6 +36,8 @@ export async function deployCommands() {
36
  const rest = new REST({ version: '10' }).setToken(token)
37
 
38
  try {
 
 
39
  if (guildId) {
40
  await rest.put(Routes.applicationGuildCommands(clientId, guildId), { body: commandData })
41
  console.log(`[deploy] Successfully registered ${commandData.length} commands to guild ${guildId}`)
 
36
  const rest = new REST({ version: '10' }).setToken(token)
37
 
38
  try {
39
+ console.log('[deploy] Commands array:', JSON.stringify(commandData))
40
+
41
  if (guildId) {
42
  await rest.put(Routes.applicationGuildCommands(clientId, guildId), { body: commandData })
43
  console.log(`[deploy] Successfully registered ${commandData.length} commands to guild ${guildId}`)