From eed9837f1d97dcdbcd03180143789bc0f88a3b9c Mon Sep 17 00:00:00 2001 From: drendog Date: Thu, 25 Jan 2024 00:50:56 +0100 Subject: [PATCH] refactor: :recycle: change anon credits path --- {src/config => config}/anon_credits.txt | 0 src/config/mod.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {src/config => config}/anon_credits.txt (100%) diff --git a/src/config/anon_credits.txt b/config/anon_credits.txt similarity index 100% rename from src/config/anon_credits.txt rename to config/anon_credits.txt diff --git a/src/config/mod.ts b/src/config/mod.ts index 3b49ead..0d84035 100644 --- a/src/config/mod.ts +++ b/src/config/mod.ts @@ -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 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"); \ No newline at end of file +export const ANON_CREDITS = Deno.readTextFileSync("./config/anon_credits.txt").split("\n"); \ No newline at end of file