Added logger to scripts

This commit is contained in:
2024-11-14 18:51:02 +01:00
parent d938dd9d3e
commit 6869715e66
3 changed files with 5 additions and 5 deletions

View File

@@ -23,13 +23,13 @@ for (const file of contentMenuCommands) {
}
try {
log(`Started refreshing ${commands.length} application (/) commands.`)
log(`Started refreshing ${commands.length} application (/) commands.`, "info")
await rest.put(
Routes.applicationGuildCommands(env.dev.devid, env.dev.guildid),
{ body: commands }
).then(() => {
log(`Successfully reloaded ${commands.length} application (/) commands.`)
log(`Successfully reloaded ${commands.length} application (/) commands.`, "info")
process.exit(0)
})
} catch (error) {