From 22894f5439a6a73fd744ea285c1e4d160c5f5192 Mon Sep 17 00:00:00 2001 From: Ananas Date: Sun, 16 Mar 2025 20:46:12 +0100 Subject: [PATCH 1/2] chore: add env.d.ts file --- env.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 env.d.ts diff --git a/env.d.ts b/env.d.ts new file mode 100644 index 0000000..ca3b8f7 --- /dev/null +++ b/env.d.ts @@ -0,0 +1,10 @@ +module "bun" { + interface Env { + TOKEN: string; + WELCOME: number; + GOODBYE: number; + GUILD: number; + BAD_ROLE: number; + BOT_ROLE: number; + } +} \ No newline at end of file From d7976aeedb6eb97588de84f510bb68096e33a142 Mon Sep 17 00:00:00 2001 From: ananas Date: Mon, 17 Mar 2025 13:51:08 +0000 Subject: [PATCH 2/2] refactor: ids should be string --- env.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/env.d.ts b/env.d.ts index ca3b8f7..1d0fe11 100644 --- a/env.d.ts +++ b/env.d.ts @@ -1,10 +1,10 @@ module "bun" { interface Env { TOKEN: string; - WELCOME: number; - GOODBYE: number; - GUILD: number; - BAD_ROLE: number; - BOT_ROLE: number; + WELCOME: string; + GOODBYE: string; + GUILD: string; + BAD_ROLE: string; + BOT_ROLE: string; } } \ No newline at end of file