Skip to content

Commit

Permalink
enhance logging in deploy commands for better context and clarity
Browse files Browse the repository at this point in the history
Signed-off-by: wiibleyde <nathan@bonnell.fr>
  • Loading branch information
Wiibleyde committed Dec 11, 2024
1 parent b53af85 commit 5659bc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/deploy-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export async function deployCommands(): Promise<void> {

export async function deployContextMenus(): Promise<void> {
try {
logger.info("Chargement des menus contextuels")
logger.info(`Chargement des menus contextuels (${contextCommandsData.length})...`)

await rest.put(
Routes.applicationCommands(config.DISCORD_CLIENT_ID),
Expand Down Expand Up @@ -73,7 +73,7 @@ export async function deployContextMenus(): Promise<void> {
*/
export async function deployDevCommands(guildId: string): Promise<void> {
try {
logger.info("Chargement des commandes pour la guilde...")
logger.info(`Chargement des commandes de développement pour la guilde ${guildId} (${devCommandsData.length})...`)

await rest.put(
Routes.applicationGuildCommands(config.DISCORD_CLIENT_ID, guildId),
Expand Down

0 comments on commit 5659bc5

Please sign in to comment.