2021-11-11 01:00:01 +01:00
|
|
|
import dotenv from "dotenv"
|
|
|
|
dotenv.config()
|
|
|
|
|
2021-11-08 17:34:26 +01:00
|
|
|
export const config = {
|
|
|
|
server: {
|
|
|
|
bodyParser: {
|
|
|
|
urlEncodedOptions: {
|
|
|
|
inflate: true,
|
|
|
|
limit: '5mb',
|
|
|
|
type: 'application/x-www-form-urlencoded',
|
|
|
|
extended: true,
|
|
|
|
parameterLimit: 1000
|
|
|
|
},
|
|
|
|
jsonOptions: {
|
|
|
|
inflate: true,
|
|
|
|
limit: '5mb',
|
|
|
|
type: 'application/json',
|
|
|
|
strict: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
debug: true,
|
|
|
|
port: 1234,
|
2021-11-11 01:00:01 +01:00
|
|
|
token: process.env.BOT_TOKEN ?? "",
|
|
|
|
guild_id: process.env.GUILD_ID ?? "",
|
|
|
|
client_id: process.env.CLIENT_ID ?? ""
|
2021-11-08 17:34:26 +01:00
|
|
|
}
|