Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
fix: drop legacy code (part 1?) (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazmi35 authored Feb 12, 2024
1 parent aaef833 commit 1636dbc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export const getShardCount = async (): Promise<{ end: number | undefined; start:

export const storeLogs = process.env.STORE_LOGS === "true";
export const lokiHost = process.env.LOKI_HOST === undefined ? undefined : new URL(process.env.LOKI_HOST);
export const useRouting = process.env.USE_ROUTING === "true";
export const discordToken = process.env.DISCORD_TOKEN!;
export const proxy = process.env.NIRN_PROXY ?? process.env.HTTP_PROXY ?? "https://discord.com/api";
export const amqp = process.env.AMQP_HOST ?? process.env.AMQP_URL ?? "amqp://localhost";
Expand Down Expand Up @@ -71,11 +70,9 @@ export const production = process.env.NODE_ENV === "production";

export const stateMembers = process.env.STATE_MEMBER === "true";
export const stateUsers = process.env.STATE_USER === "true";
export const statePresences = process.env.STATE_PRESENCE === "true";
export const stateVoices = process.env.STATE_VOICE === "true";
export const stateRoles = process.env.STATE_ROLE === "true";
export const stateChannels = process.env.STATE_CHANNEL === "true";
export const stateEmojis = process.env.STATE_EMOJI === "true";
export const stateMessages = process.env.STATE_MESSAGE === "true";

export const replicaId = hostname();
Expand Down

0 comments on commit 1636dbc

Please sign in to comment.