Skip to content

Commit

Permalink
rename to env in register.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Saitharun279 authored Nov 6, 2024
1 parent e29109b commit 1802ad4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ async function registerGuildCommands(
}
}

const envLoadedFromProcess = loadEnv({}, false);
const env = loadEnv({}, false);

registerGuildCommands(
envLoadedFromProcess.DISCORD_TOKEN,
envLoadedFromProcess.DISCORD_APPLICATION_ID,
envLoadedFromProcess.DISCORD_GUILD_ID
env.DISCORD_TOKEN,
env.DISCORD_APPLICATION_ID,
env.DISCORD_GUILD_ID
);

0 comments on commit 1802ad4

Please sign in to comment.