mirror of
https://github.com/musix-org/musix-oss
synced 2025-06-16 18:56:00 +00:00
Moved rest of the messages to messages file
This commit is contained in:
@ -12,26 +12,37 @@ module.exports = {
|
||||
bassFalse: "<:green_check_mark:674265384777416705> Bass is now false!",
|
||||
bassLevel: "<:green_check_mark:674265384777416705> Bass level is now",
|
||||
boolean: "<:redx:674263474704220182> Please define a boolean! (true/false)",
|
||||
bug: "Matte#0002\nOr join the support server: https://discord.gg/rvHuJtB",
|
||||
bugDesc: "Matte#0002\nOr join the support server: https://discord.gg/rvHuJtB",
|
||||
bugTitle: "Found a bug with Musix?\nDM the core developer:",
|
||||
cancellingVideoSelection: "'<:redx:674263474704220182> Cancelling video selection",
|
||||
cantSkipToCurrent: "<:redx:674263474704220182> You can\'t skip to the song currently playing!",
|
||||
cmdUsesFooter: "These statistics are from the current uptime.",
|
||||
cmdUsesTitle: "Musix Command Usage During Current Uptime",
|
||||
correctUsage: "<:redx:674263474704220182> correct usage: ",
|
||||
currentBass: ":loud_sound: The current bass is: ",
|
||||
currentDefaultBass: ":speaker: Currect default bass level:",
|
||||
currentDefaultVolume: ":speaker: Current default volume is:",
|
||||
currentPrefix: "Current prefix:",
|
||||
currentVolume: ":loud_sound: The current volume is: ",
|
||||
defaultVolumeMax: "<:redx:674263474704220182> The default volume must be below `100` for quality and safety resons.",
|
||||
defaultVolumeNumber: "<:redx:674263474704220182> I\'m sorry, But the default volume needs to be a valid __number__.",
|
||||
defaultVolumeSet: "<:green_check_mark:674265384777416705> Default volume set to:",
|
||||
devMode: "<:redx:674263474704220182> Dev mode has been turned on! Commands are only available to developer(s)!",
|
||||
dispatcherError: "Error with the dispatcher: ",
|
||||
djFalse: "<:green_check_mark:674265384777416705> `DJ` now set to `false`",
|
||||
djRoleCreated: "<:green_check_mark:674265384777416705> I did not find a role `DJ` so i have created one for you!",
|
||||
djRoleFound: "<:green_check_mark:674265384777416705> I found a `DJ` role from this guild! This role is now the DJ role.",
|
||||
error: "<:redx:674263474704220182> An error occured!",
|
||||
errorConnecting: "Error with connecting to voice channel: ",
|
||||
errorDetected: "Error detected: ",
|
||||
errorDispatcher: "<:redx:674263474704220182> An error has occured while playing music! The queue has been deleted.",
|
||||
errorExe: "<:redx:674263474704220182> there was an error trying to execute that command! Please contact support with the \`bug\` command!",
|
||||
errorExeOpt: "<:redx:674263474704220182> there was an error trying to execute that option! Please contact support with the \`bug\` command!",
|
||||
evalTitle: "Evaluation Command",
|
||||
helpCmdFooter: "Command Alias:",
|
||||
helpFooter: "\"%PREFIX%help <command>\" to see more information about a command.",
|
||||
helpTitle: "help",
|
||||
inviteTitle: "Invite Musix to your Discord server!",
|
||||
joined: "<:green_check_mark:674265384777416705> Joined",
|
||||
loadingSongs: "<a:loading:674284196700618783> Loading song(s)",
|
||||
looping: "<:repeat1:674685561377914892> Looping the queue now!",
|
||||
@ -52,6 +63,7 @@ module.exports = {
|
||||
noResults: "<:redx:674263474704220182> I could not obtain any search results!",
|
||||
noServerQueue: "<:redx:674263474704220182> There is nothing playing!",
|
||||
noSongs: "'<:redx:674263474704220182> That song does not exist!",
|
||||
nowPlayingDesc: "<a:aNotes:674602408105476106>**Now playing:**",
|
||||
notAllowed: "<:redx:674263474704220182> You are not allowed to do that!",
|
||||
notEnoughVotes: "<:redx:674263474704220182> Not enough votes!",
|
||||
notPaused: "<:redx:674263474704220182> The music in not paused!",
|
||||
@ -72,7 +84,11 @@ module.exports = {
|
||||
provideANumber: "Please provide a number ranging from 1-10 to select one of the search results.",
|
||||
provideASong: "<:redx:674263474704220182> Please provide a song position in queue for me to remove!",
|
||||
queueDeleted: "Queue deleted!",
|
||||
queueDesc: "**Now playing:** %SONG%<a:aNotes:674602408105476106>",
|
||||
queueFirstPage: ":page_facing_up: Page: ${page} :page_facing_up:",
|
||||
queueLength: "<:redx:674263474704220182> There are only %SONGS% amount of songs in the queue!",
|
||||
queuePages: ":arrow_down: Next in queue :arrow_down:",
|
||||
queueTitle: "__Song queue__",
|
||||
reloaded: "All files reloaded!",
|
||||
removed: "🗑️ removed \`%SONG%\` from the queue!",
|
||||
reset: "<:green_check_mark:674265384777416705> Reset __all__ guild settings!",
|
||||
@ -80,12 +96,30 @@ module.exports = {
|
||||
resumed: "<:resume:674685585478254603> Resumed the music!",
|
||||
seekingPointPositive: "<:redx:674263474704220182> The seeking point needs to be a positive number!",
|
||||
seekMax: "<:redx:674263474704220182> The lenght of this song is %LENGTH% seconds! You can't seek further than that!",
|
||||
settingsAnnounceSongs: "announcesongs",
|
||||
settingsAnnounceSongsDesc: "Whether to announce songs that start playing or not.",
|
||||
settingsBass: "bass",
|
||||
settingsBassDesc: "Change the default bass level `Not supported`",
|
||||
settingsFooter: "how to use: %PREFIX%settings <Setting name> <value>",
|
||||
settingsPermissions: "permissions",
|
||||
settingsPermissionsDesc: "Change whether to require permissions to use eg `skip, stop, pause, loop, etc...`",
|
||||
settingsPrefix: "prefix",
|
||||
settingsPrefixDesc: "Change the guild specific prefix. (string)",
|
||||
settingsSetDj: "setdj",
|
||||
settingsSetDjDesc: "Set a DJ role. This will allow chosen users to freely use all Musix commands. This will automatically set the `permissions` settings to true in order for the `DJ` role to have effect!",
|
||||
settingsTitle: "Guild settings for Musix",
|
||||
settingsVolume: "volume",
|
||||
settingsVolumeDesc: "Change the default volume that the bot will start playing at. (number)",
|
||||
setVolume: "<:volumehigh:674685637626167307> I set the volume to: ",
|
||||
shuffled: "<:shuffle:674685595980791871> Queue suffled!",
|
||||
skipped: "<:skip:674685614221688832> Skipped the song!",
|
||||
songAdded: "<:green_check_mark:674265384777416705> **%TITLE%** has been added to the queue!",
|
||||
songSelection: "__Song Selection__",
|
||||
startPlaying: "<a:aNotes:674602408105476106> Start playing: ",
|
||||
statusField1: ":signal_strength: Ping",
|
||||
statusField2: "Latency",
|
||||
statusField3: ":stopwatch: Uptime",
|
||||
statusTitle: "Status for Musix",
|
||||
stop: "<:stop:674685626108477519> Stopped the music!",
|
||||
validNumber: "<:redx:674263474704220182> I\'m sorry, But you need to enter a valid __number__.",
|
||||
wrongVoiceChannel: "<:redx:674263474704220182> I'm sorry but you need to be in the same voice channel as Musix to use this command!",
|
||||
|
@ -3,6 +3,6 @@ module.exports = async function (client) {
|
||||
await client.channels.fetch(client.config.secondary_test_channel)
|
||||
.then(x => x.join());
|
||||
} catch (error) {
|
||||
client.debug_channel.send("Error detected: " + error);
|
||||
client.debug_channel.send(client.messages.errorDetected + error);
|
||||
}
|
||||
};
|
@ -19,7 +19,7 @@ module.exports = async function (guild, song, client, seek, play) {
|
||||
});
|
||||
dispatcher.on('error', error => {
|
||||
console.error(error);
|
||||
client.debug_channel.send('Error with the dispatcher: ' + error);
|
||||
client.debug_channel.send(client.messages.dispatcherError + error);
|
||||
serverQueue.voiceChannel.leave();
|
||||
client.queue.delete(guild.id);
|
||||
return serverQueue.textChannel.send(client.messages.errorDispatcher);
|
||||
|
Reference in New Issue
Block a user