mirror of
https://github.com/musix-org/musix-oss
synced 2025-07-07 07:30:50 +00:00
Fix code to work on this decade 1/x
This commit is contained in:
99
src/config/config.js
Normal file
99
src/config/config.js
Normal file
@ -0,0 +1,99 @@
|
||||
require("dotenv/config");
|
||||
|
||||
module.exports = {
|
||||
discord_api_token: process.env.DISCORD_API_TOKEN,
|
||||
bodKey: process.env.BODKEY,
|
||||
youtube_api_key: process.env.YOUTUBE_API_KEY,
|
||||
genius_api_key: process.env.GENIUS_API_KEY,
|
||||
soundcloud_api_key: process.env.SOUNDCLOUD_API_KEY,
|
||||
spotify_access_key: process.env.SPOTIFY_ACCESS_KEY,
|
||||
spotify_client_secret: process.env.SPOTIFY_CLIENT_SECRET,
|
||||
spotify_client_id: process.env.SPOTIFY_CLIENT_ID,
|
||||
spotify_refresh_token: process.env.SPOTIFY_REFRESH_TOKEN,
|
||||
lastfm_api_key: process.env.LASTFM_API_KEY,
|
||||
lastfm_secret: process.env.LASTFM_SECRET,
|
||||
port: 8888,
|
||||
redirectUri: "http://localhost:8888/callback/",
|
||||
testServer: "489111553321336832",
|
||||
primary_test_channel: "617633098296721409",
|
||||
secondary_test_channel: "570531724002328577",
|
||||
devId: "360363051792203779",
|
||||
embedColor: "#b50002",
|
||||
invite: "https://musix-web.herokuapp.com/releases",
|
||||
supportServer: "https://musix-web.herokuapp.com/discord",
|
||||
devMode: false,
|
||||
api: false,
|
||||
saveDB: true,
|
||||
respawn: true,
|
||||
shards: 10,
|
||||
shardDelay: 10000,
|
||||
spawnTimeout: 60000,
|
||||
respawnDelay: 1000,
|
||||
prefix: ">",
|
||||
devPrefix: "-",
|
||||
defaultVolume: 50,
|
||||
permissions: false,
|
||||
dj: false,
|
||||
djrole: null,
|
||||
startPlaying: true,
|
||||
bass: 1,
|
||||
autoPlay: false,
|
||||
};
|
||||
|
||||
module.exports.streamConfig = {
|
||||
ytdlOptions: {
|
||||
filter: "audio",
|
||||
highWaterMark: 1 << 25,
|
||||
volume: false,
|
||||
requestOptions: {
|
||||
maxRedirects: 4,
|
||||
},
|
||||
},
|
||||
options: {
|
||||
seek: null,
|
||||
bitrate: 1024,
|
||||
volume: 1,
|
||||
type: "converted",
|
||||
},
|
||||
};
|
||||
|
||||
module.exports.queueConfig = {
|
||||
textChannel: null,
|
||||
voiceChannel: null,
|
||||
connection: null,
|
||||
songs: [],
|
||||
volume: null,
|
||||
bass: null,
|
||||
nightCore: false,
|
||||
playing: false,
|
||||
paused: false,
|
||||
looping: false,
|
||||
songLooping: false,
|
||||
votes: 0,
|
||||
voters: [],
|
||||
votesNeeded: null,
|
||||
time: 0,
|
||||
endReason: null,
|
||||
};
|
||||
|
||||
module.exports.emojis = {
|
||||
garbage: "🗑️ ",
|
||||
green_check_mark: "<:green_check_mark:674265384777416705> ",
|
||||
loading: "<a:loading:674284196700618783> ",
|
||||
loudSound: ":loud_sound: ",
|
||||
megaPhone: "📣 ",
|
||||
notes: "<a:aNotes:674602408105476106>",
|
||||
pause: "<:pause:674685548610322462> ",
|
||||
previous: "<:reverse:705012312142119012> ",
|
||||
redx: "<:redx:674263474704220182> ",
|
||||
repeat: "<:repeat1:674685561377914892> ",
|
||||
repeatSong: "<:repeatsong:674685573419761716> ",
|
||||
resume: "<:resume:674685585478254603> ",
|
||||
shuffle: "<:shuffle:674685595980791871> ",
|
||||
signal: ":signal_strength: ",
|
||||
skip: "<:skip:674685614221688832> ",
|
||||
speaker: ":speaker: ",
|
||||
stop: "<:stop:674685626108477519> ",
|
||||
stopWatch: ":stopwatch: ",
|
||||
volumeHigh: "<:volumehigh:674685637626167307> ",
|
||||
};
|
Reference in New Issue
Block a user