1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-26 16:33:18 +00:00
musix-oss/src/struct/config/config.js

102 lines
2.6 KiB
JavaScript
Raw Normal View History

2020-04-16 20:08:12 +00:00
require("dotenv/config");
2020-02-10 19:04:42 +00:00
2020-02-05 20:02:53 +00:00
module.exports = {
2020-04-16 20:08:12 +00:00
token: process.env.TOKEN,
devToken: process.env.DEVTOKEN,
dblKey: process.env.DBLKEY,
2020-04-25 09:56:13 +00:00
bodKey: process.env.BODKEY,
2020-04-16 20:08:12 +00:00
api_key: process.env.GOOGLE_API_KEY,
2020-04-19 17:00:16 +00:00
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,
2020-04-21 19:10:30 +00:00
spotify_refresh_token: process.env.SPOTIFY_REFRESH_TOKEN,
2020-06-09 18:25:55 +00:00
lastfm_api_key: process.env.LASTFM_API_KEY,
lastfm_secret: process.env.LASTFM_SECRET,
2020-06-16 18:51:11 +00:00
webhookUrl: process.env.WEBHOOK_URL,
2020-04-19 17:00:16 +00:00
port: 8888,
redirectUri: "http://localhost:8888/callback/",
2020-04-16 20:08:12 +00:00
testServer: "489111553321336832",
primary_test_channel: "617633098296721409",
secondary_test_channel: "570531724002328577",
devId: "360363051792203779",
embedColor: "#b50002",
2020-07-04 19:17:20 +00:00
invite: "https://musix-web.herokuapp.com/releases",
supportServer: "https://musix-web.herokuapp.com/discord",
2020-07-01 18:52:34 +00:00
devMode: false,
2020-04-28 09:14:38 +00:00
api: false,
2020-04-16 20:08:12 +00:00
saveDB: true,
respawn: true,
shards: 10,
shardDelay: 10000,
spawnTimeout: 60000,
respawnDelay: 1000,
prefix: ">",
devPrefix: "-",
2020-06-04 05:26:50 +00:00
defaultVolume: 50,
2020-04-16 20:08:12 +00:00
permissions: false,
dj: false,
djrole: null,
startPlaying: true,
bass: 1,
2020-07-04 19:17:20 +00:00
autoPlay: true,
2020-06-16 18:51:11 +00:00
};
module.exports.streamConfig = {
ytdlOptions: {
filter: "audio",
highWaterMark: 1 << 25,
volume: false,
requestOptions: {
2020-06-30 17:43:00 +00:00
maxRedirects: 4,
},
2020-06-16 18:51:11 +00:00
},
options: {
seek: null,
bitrate: 1024,
volume: 1,
type: "converted",
},
2020-06-30 17:43:00 +00:00
};
2020-06-16 18:51:11 +00:00
module.exports.queueConfig = {
textChannel: null,
voiceChannel: null,
connection: null,
songs: [],
volume: null,
bass: null,
nigthCore: false,
playing: false,
paused: false,
looping: false,
songLooping: false,
votes: 0,
voters: [],
votesNeeded: null,
time: 0,
endReason: null,
2020-06-30 17:43:00 +00:00
};
2020-06-16 18:51:11 +00:00
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> ",
2020-07-04 19:17:20 +00:00
};