Added logger to scripts
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user