dotenv configuration
This commit is contained in:
parent
9e923f1657
commit
ce18abeb36
@ -1,3 +1,6 @@
|
||||
import dotenv from "dotenv"
|
||||
dotenv.config()
|
||||
|
||||
export const config = {
|
||||
server: {
|
||||
bodyParser: {
|
||||
@ -18,7 +21,7 @@ export const config = {
|
||||
},
|
||||
debug: true,
|
||||
port: 1234,
|
||||
token: "discord-bot-token",
|
||||
guild_id: "id",
|
||||
client_id: "id"
|
||||
token: process.env.BOT_TOKEN ?? "",
|
||||
guild_id: process.env.GUILD_ID ?? "",
|
||||
client_id: process.env.CLIENT_ID ?? ""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user