feat(release): Complete example compose
This commit is contained in:
parent
9df4aa5e32
commit
1c2a6facc0
3 changed files with 6 additions and 5 deletions
|
|
@ -1,11 +1,9 @@
|
|||
import dotenv from "dotenv";
|
||||
import path from "node:path";
|
||||
import * as fs from "node:fs";
|
||||
import {dot} from "node:test/reporters";
|
||||
|
||||
type DiscordEnvironment = {
|
||||
token: string;
|
||||
guildId: string;
|
||||
clientId: string;
|
||||
}
|
||||
|
||||
|
|
@ -17,7 +15,6 @@ export class Environment {
|
|||
get discord(): DiscordEnvironment {
|
||||
return {
|
||||
token: process.env.DISCORD_API_KEY ?? '',
|
||||
guildId: process.env.DISCORD_GUILD_ID ?? '',
|
||||
clientId: process.env.DISCORD_CLIENT_ID ?? '',
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue