Files
dayz-reforger/config/config.js
T
2023-10-22 22:12:03 -07:00

51 lines
1.3 KiB
JavaScript

const package = require('../package.json');
require('dotenv').config();
const PresenceTypes = {
Playing: 0,
Streaming: 1,
Listening: 2,
Watching: 3,
Custom: 4,
Competing: 5,
};
const PresenceStatus = {
Online: "online",
Offline: "offline",
Idle: "idle",
DoNotDisturb: "dnd",
};
module.exports = {
Dev: process.env.Dev || "DEV.",
Version: package.version, // (major).(minor).(patch)
Admins: ["362791661274660874", "329371697570381824"], // Admins of the bot
ServerID: "1050215624053374976",
GuildID: process.env.GuildID || "",
SupportServer: "https://discord.gg/KVFJCvvFtK", // Support Server Link
Token: process.env.token || "", //Discord Bot Token
Scopes: ["identify", "guilds", "applications.commands"], //Discord OAuth2 Scopes
Nitrado: {
ServerID: process.env.SERVER_ID,
UserID: process.env.USER_ID,
Auth: process.env.AUTH_KEY
},
IconURL: "",
Colors: {
Default: "#8a7c72",
DarkRed: "#ba0f0f",
Red: "#f55c5c",
Green: "#32a852",
Yellow: "#ffb01f"
},
Permissions: 2205281600,
mongoURI: process.env.mongoURI || "mongodb://localhost:27017",
dbo: process.env.dbo || "knoldus",
Presence: {
type: PresenceTypes.Watching,
name: "DayZ Logs", // What message you want after type
status: PresenceStatus.Online
},
}