Tinasha-Bot/config.js

137 lines
3.8 KiB
JavaScript
Raw Normal View History

2023-08-20 14:29:07 +09:00
module.exports = {
2024-07-05 20:45:47 +07:00
OWNER_IDS: [""], // Bot owner ID's
SUPPORT_SERVER: "", // Your bot support server
2024-03-17 13:58:37 +09:00
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
2024-07-05 20:45:47 +07:00
TEST_GUILD_ID: "", // Guild ID where the interactions should be registered. [** Test you commands here first **]
2024-03-17 13:58:37 +09:00
},
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: {
2024-04-15 05:51:20 +07:00
ENABLED: true,
2024-03-17 13:58:37 +09:00
LOG_EMBED: "#36393F",
DM_EMBED: "#36393F",
},
DASHBOARD: {
enabled: true, // enable or disable dashboard
2024-07-05 20:45:47 +07:00
baseURL: "http://localhost:8080", // base url
failureURL: "http://localhost:8080", // failure redirect url
port: "8080", // port to run the bot on
2024-03-17 13:58:37 +09:00
},
ECONOMY: {
2024-04-15 05:51:20 +07:00
ENABLED: true,
2024-03-17 13:58:37 +09:00
CURRENCY: "₪",
2024-04-15 05:51:20 +07:00
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
2024-03-17 13:58:37 +09:00
},
2024-12-06 06:37:16 +07:00
2024-03-17 13:58:37 +09:00
MUSIC: {
ENABLED: true,
2024-06-24 23:19:34 +07:00
IDLE_TIME: 120, // Time in seconds before the bot disconnects from an idle voice channel
2024-12-06 06:37:16 +07:00
DEFAULT_VOLUME: 60, // Default player volume 1-100
MAX_SEARCH_RESULTS: 100,
2024-12-06 06:37:16 +07:00
DEFAULT_SOURCE: "ytsearch", // ytsearch = Youtube, ytmsearch = Youtube Music, scsearch = SoundCloud, spsearch = Spotify
2024-03-17 13:58:37 +09:00
// Add any number of lavalink nodes here
2024-12-06 06:37:16 +07:00
// Refer to https://github.com/lavalink-devs/Lavalink to host your own lavalink server
2024-03-17 13:58:37 +09:00
LAVALINK_NODES: [
2024-04-16 06:48:53 +07:00
{
2024-12-06 06:37:16 +07:00
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
2024-04-15 05:51:20 +07:00
},
2024-03-17 13:58:37 +09:00
],
},
GIVEAWAYS: {
2024-04-15 05:51:20 +07:00
ENABLED: true,
2024-03-17 13:58:37 +09:00
REACTION: "🎁",
START_EMBED: "#FF468A",
END_EMBED: "#FF468A",
},
IMAGE: {
2024-04-15 05:51:20 +07:00
ENABLED: true,
2024-03-17 13:58:37 +09:00
BASE_API: "https://strangeapi.hostz.me/api",
},
INVITE: {
2024-04-15 05:51:20 +07:00
ENABLED: true,
2024-03-17 13:58:37 +09:00
},
MODERATION: {
2024-04-15 05:51:20 +07:00
ENABLED: true,
2023-08-20 14:29:07 +09:00
EMBED_COLORS: {
2024-03-17 13:58:37 +09:00
TIMEOUT: "#102027",
UNTIMEOUT: "#4B636E",
KICK: "#FF7961",
SOFTBAN: "#AF4448",
BAN: "#D32F2F",
UNBAN: "#00C853",
VMUTE: "#102027",
VUNMUTE: "#4B636E",
DEAFEN: "#102027",
UNDEAFEN: "#4B636E",
DISCONNECT: "RANDOM",
MOVE: "RANDOM",
2023-08-20 14:29:07 +09:00
},
2024-03-17 13:58:37 +09:00
},
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)
2024-03-17 13:58:37 +09:00
},
STATS: {
2024-04-15 05:51:20 +07:00
ENABLED: true,
2024-03-17 13:58:37 +09:00
XP_COOLDOWN: 5, // Cooldown in seconds between messages
DEFAULT_LVL_UP_MSG: "{member:tag}, You just advanced to **Level {level}**",
},
SUGGESTIONS: {
2024-04-15 05:51:20 +07:00
ENABLED: true, // Should the suggestion system be enabled
2024-03-17 13:58:37 +09:00
EMOJI: {
UP_VOTE: "⬆️",
DOWN_VOTE: "⬇️",
2023-08-20 14:29:07 +09:00
},
2024-03-17 13:58:37 +09:00
DEFAULT_EMBED: "#4F545C",
APPROVED_EMBED: "#43B581",
DENIED_EMBED: "#F04747",
},
TICKET: {
2024-04-15 05:51:20 +07:00
ENABLED: true,
2024-03-17 13:58:37 +09:00
CREATE_EMBED: "#068ADD",
CLOSE_EMBED: "#068ADD",
},
2024-08-14 09:58:10 +07:00
};