Create config.js.example

This commit is contained in:
Amane Serenetia 2024-12-10 08:03:55 +07:00
parent ba9bce65f5
commit 2f956b91b1

137
config.js.example Normal file
View File

@ -0,0 +1,137 @@
module.exports = {
OWNER_IDS: [""], // Bot owner ID's
SUPPORT_SERVER: "", // Your bot support server
PREFIX_COMMANDS: {
ENABLED: true, // Enable/Disable prefix commands
DEFAULT_PREFIX: "kt?", // Default prefix for the bot
},
INTERACTIONS: {
SLASH: true, // Should the interactions be enabled
CONTEXT: true, // Should contexts be enabled
GLOBAL: true, // Should the interactions be registered globally
TEST_GUILD_ID: "", // Guild ID where the interactions should be registered. [** Test you commands here first **]
},
EMBED_COLORS: {
BOT_EMBED: "#068ADD",
TRANSPARENT: "#36393F",
SUCCESS: "#00A56A",
ERROR: "#D61A3C",
WARNING: "#F7E919",
},
CACHE_SIZE: {
GUILDS: 10000,
USERS: 1000000,
MEMBERS: 1000000,
},
MESSAGES: {
API_ERROR: "Unexpected Backend Error! Try again later or contact support server",
},
// PLUGINS
AUTOMOD: {
ENABLED: true,
LOG_EMBED: "#36393F",
DM_EMBED: "#36393F",
},
DASHBOARD: {
enabled: true, // enable or disable dashboard
baseURL: "http://localhost:8080", // base url
failureURL: "http://localhost:8080", // failure redirect url
port: "8080", // port to run the bot on
},
ECONOMY: {
ENABLED: true,
CURRENCY: "₪",
DAILY_COINS: 1000, // coins to be received by daily command
MIN_BEG_AMOUNT: 1000, // minimum coins to be received when beg command is used
MAX_BEG_AMOUNT: 25000, // maximum coins to be received when beg command is used
},
MUSIC: {
ENABLED: true,
IDLE_TIME: 120, // Time in seconds before the bot disconnects from an idle voice channel
DEFAULT_VOLUME: 60, // Default player volume 1-100
MAX_SEARCH_RESULTS: 100,
DEFAULT_SOURCE: "ytsearch", // ytsearch = Youtube, ytmsearch = Youtube Music, scsearch = SoundCloud, spsearch = Spotify
// Add any number of lavalink nodes here
// Refer to https://github.com/lavalink-devs/Lavalink to host your own lavalink server
LAVALINK_NODES: [
{
id: "Local Node",
host: "localhost",
port: 2333,
authorization: "youshallnotpass",
secure: false,
retryAmount: 20, // Number of reconnection attempts
retryDelay: 30000 // Delay (in ms) between reconnection attempts
},
],
},
GIVEAWAYS: {
ENABLED: true,
REACTION: "🎁",
START_EMBED: "#FF468A",
END_EMBED: "#FF468A",
},
IMAGE: {
ENABLED: true,
BASE_API: "https://strangeapi.hostz.me/api",
},
INVITE: {
ENABLED: true,
},
MODERATION: {
ENABLED: true,
EMBED_COLORS: {
TIMEOUT: "#102027",
UNTIMEOUT: "#4B636E",
KICK: "#FF7961",
SOFTBAN: "#AF4448",
BAN: "#D32F2F",
UNBAN: "#00C853",
VMUTE: "#102027",
VUNMUTE: "#4B636E",
DEAFEN: "#102027",
UNDEAFEN: "#4B636E",
DISCONNECT: "RANDOM",
MOVE: "RANDOM",
},
},
PRESENCE: {
ENABLED: true, // Whether or not the bot should update its status
STATUS: "online", // The bot's status [online, idle, dnd, invisible]
TYPE: "LISTENING", // Status type for the bot [ CUSTOM | PLAYING | LISTENING | WATCHING | COMPETING ]
MESSAGE: "/play with {members} members in {servers} servers", // Your bot status message (note: in custom status type you won't have "Playing", "Listening", "Competing" prefix)
},
STATS: {
ENABLED: true,
XP_COOLDOWN: 5, // Cooldown in seconds between messages
DEFAULT_LVL_UP_MSG: "{member:tag}, You just advanced to **Level {level}**",
},
SUGGESTIONS: {
ENABLED: true, // Should the suggestion system be enabled
EMOJI: {
UP_VOTE: "⬆️",
DOWN_VOTE: "⬇️",
},
DEFAULT_EMBED: "#4F545C",
APPROVED_EMBED: "#43B581",
DENIED_EMBED: "#F04747",
},
TICKET: {
ENABLED: true,
CREATE_EMBED: "#068ADD",
CLOSE_EMBED: "#068ADD",
},
};