refactor: ♻️ change anon credits path

main
drendog 2024-01-25 00:50:56 +01:00
parent 06ab27e012
commit eed9837f1d
2 changed files with 1 additions and 1 deletions

View File

@ -11,4 +11,4 @@ export const CHANNEL_ID = Deno.env.get("CHANNEL_ID") ?? (() => { throw new Error
export const GROUP_ID = Deno.env.get("GROUP_ID") ?? (() => { throw new Error("GROUP_ID is unset") })(); export const GROUP_ID = Deno.env.get("GROUP_ID") ?? (() => { throw new Error("GROUP_ID is unset") })();
export const COMMUNITY_GROUP_ID = Deno.env.get("COMMUNITY_GROUP_ID") ?? (() => { throw new Error("COMMUNITY_GROUP_ID is unset") })(); export const COMMUNITY_GROUP_ID = Deno.env.get("COMMUNITY_GROUP_ID") ?? (() => { throw new Error("COMMUNITY_GROUP_ID is unset") })();
export const ANON_CREDITS = Deno.readTextFileSync("./src/config/anon_credits.txt").split("\n"); export const ANON_CREDITS = Deno.readTextFileSync("./config/anon_credits.txt").split("\n");