diff --git a/src/struct/config/emojis.ts b/src/struct/config/emojis.ts new file mode 100644 index 00000000..a19e1da7 --- /dev/null +++ b/src/struct/config/emojis.ts @@ -0,0 +1,20 @@ +module.exports = { + garbage: "🗑️ ", + green_check_mark: "<:green_check_mark:674265384777416705> ", + loading: " ", + loudSoung: ":loud_sound: ", + megaPhone: "📣 ", + notes: "", + pause: "<:pause:674685548610322462> ", + 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> " +} \ No newline at end of file diff --git a/src/struct/config/messages.ts b/src/struct/config/messages.ts index c68bb647..00ceb363 100644 --- a/src/struct/config/messages.ts +++ b/src/struct/config/messages.ts @@ -1,99 +1,101 @@ +const emojis = require('./emojis.ts'); + module.exports = { - alreadyPaused: "<:redx:674263474704220182> The music is already paused!", - alreadyVoted: "<:redx:674263474704220182> You have already voted to skip!", - announceSongs: "📣 Current setting:", - announceSongsFalse: "<:green_check_mark:674265384777416705> announcesongs now set to `false`!", - announceSongsTrue: "<:green_check_mark:674265384777416705> announcesongs now set to `true`!", - bassApplied: "<:volumehigh:674685637626167307> The bass level **%BASS%** will be applied when the next song starts playing!", - 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)", - cancellingVideoSelection: "<:redx:674263474704220182> Cancelling video selection", - cantSkipToCurrent: "<:redx:674263474704220182> You can't skip to the song currently playing!", - channelFull: "<:redx:674263474704220182> Your voice channel is full!", + alreadyPaused: emojis.redx + "The music is already paused!", + alreadyVoted: emojis.redx + "You have already voted to skip!", + announceSongs: emojis.megaPhone + "Current setting:", + announceSongsFalse: emojis.green_check_mark + "announcesongs now set to `false`!", + announceSongsTrue: emojis.green_check_mark + "announcesongs now set to `true`!", + bassApplied: emojis.volumeHigh + "The bass level **%BASS%** will be applied when the next song starts playing!", + bassFalse: emojis.green_check_mark + "Bass is now false!", + bassLevel: emojis.green_check_mark + "Bass level is now", + boolean: emojis.redx + "Please define a boolean! (true/false)", + cancellingVideoSelection: emojis.redx + "Cancelling video selection", + cantSkipToCurrent: emojis.redx + "You can't skip to the song currently playing!", + channelFull: emojis.redx + "Your voice channel is full!", 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:", + correctUsage: emojis.redx + "correct usage: ", + currentBass: emojis.loudSound + "The current bass is: ", + currentDefaultBass: emojis.speaker + "Currect default bass level: ", + currentDefaultVolume: emojis.speaker + "Current default volume is:", currentPrefix: "Current prefix:", - currentVolume: ":loud_sound: The current volume is: ", - dbSaved: "<:green_check_mark:674265384777416705> DB Saved!", - 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)!", + currentVolume: emojis.loudSound + "The current volume is: ", + dbSaved: emojis.green_check_mark + "DB Saved!", + defaultVolumeMax: emojis.redx + "The default volume must be below `100` for quality and safety resons.", + defaultVolumeNumber: emojis.redx + "I'm sorry, But the default volume needs to be a valid __number__.", + defaultVolumeSet: emojis.green_check_mark + "Default volume set to:", + devMode: emojis.redx + "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!", + djFalse: emojis.green_check_mark + "`DJ` now set to `false`", + djRoleCreated: emojis.green_check_mark + "I did not find a role `DJ` so i have created one for you!", + djRoleFound: emojis.green_check_mark + "I found a `DJ` role from this guild! This role is now the DJ role.", + error: emojis.redx + "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!", - errorExeOpt: "<:redx:674263474704220182> there was an error trying to execute that option!", + errorDispatcher: emojis.redx + "An error has occured while playing music! The queue has been deleted.", + errorExe: emojis.redx + "there was an error trying to execute that command!", + errorExeOpt: emojis.redx + "there was an error trying to execute that option!", evalTitle: "Evaluation Command", helpCmdFooter: "Command Alias:", helpFooter: "\"%PREFIX%help \" to see more information about a command.", helpTitle: "help", inviteTitle: "Invite Musix to your Discord server!", - joined: "<:green_check_mark:674265384777416705> Joined", + joined: emojis.green_check_mark + "Joined", joinSupport: "Join the musix support server: ", - loadingSongs: " Loading song(s)", - looping: "<:repeat1:674685561377914892> Looping the queue now!", - loopingSong: "<:repeatsong:674685573419761716> Looping **%TITLE%** now!", - maxBass: "<:redx:674263474704220182> The max bass is `100`!", - maxVolume: "<:redx:674263474704220182> The max volume is `100`!", - noDj: "<:redx:674263474704220182> You need the `DJ` role to use this command!", - noLooping: "<:repeat1:674685561377914892> No longer looping the queue!", - noLoopingSong: "<:repeatsong:674685573419761716> No longer looping the song!", - noPerms: `<:redx:674263474704220182> You need the %PERMS% permission to use this command!`, - noPermsConnect: "<:redx:674263474704220182> I cannot connect to your voice channel, make sure I have the proper permissions!", - noPermsEmbed: "<:redx:674263474704220182> I cannot send embeds (Embed links), make sure I have the proper permissions!", - noPermsManageRoles: "<:redx:674263474704220182> I cannot create roles (Manage roles), make sure I have the proper permissions! I will need this permission to create a `DJ` role since i did not find one!", - noPermsManageSettings: "<:redx:674263474704220182> You need the `MANAGE_SERVER` permission to change the settings!", - noPermsSpeak: "<:redx:674263474704220182> I cannot speak in your voice channel, make sure I have the proper permissions!", - noPermsUseExternalEmojis: "<:redx:674263474704220182> I cannot use external emojis, make sure I have the proper permissions!", - noQuery: "<:redx:674263474704220182> You need to use a link or search for a song!", - 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: "**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!", - noVoiceChannel: "<:redx:674263474704220182> I'm sorry but you need to be in a voice channel to play music!", + loadingSongs: emojis.loading + "Loading song(s)", + looping: emojis.repeat + "Looping the queue now!", + loopingSong: emojis.repeatSong + "Looping **%TITLE%** now!", + maxBass: emojis.redx + "The max bass is `100`!", + maxVolume: emojis.redx + "The max volume is `100`!", + noDj: emojis.redx + "You need the `DJ` role to use this command!", + noLooping: emojis.repeat + "No longer looping the queue!", + noLoopingSong: emojis.repeatSong + "No longer looping the song!", + noPerms: emojis.redx + `You need the %PERMS% permission to use this command!`, + noPermsConnect: emojis.redx + "I cannot connect to your voice channel, make sure I have the proper permissions!", + noPermsEmbed: emojis.redx + "I cannot send embeds (Embed links), make sure I have the proper permissions!", + noPermsManageRoles: emojis.redx + "I cannot create roles (Manage roles), make sure I have the proper permissions! I will need this permission to create a `DJ` role since i did not find one!", + noPermsManageSettings: emojis.redx + "You need the `MANAGE_SERVER` permission to change the settings!", + noPermsSpeak: emojis.redx + "I cannot speak in your voice channel, make sure I have the proper permissions!", + noPermsUseExternalEmojis: emojis.redx + "I cannot use external emojis, make sure I have the proper permissions!", + noQuery: emojis.redx + "you need to use a link or search for a song!", + noResults: emojis.redx + "I could not obtain any search results!", + noServerQueue: emojis.redx + "There is nothing playing!", + noSongs: emojis.redx + "That song does not exist!", + nowPlayingDesc: emojis.notes + "**Now playing:**", + notAllowed: emojis.redx + "You are not allowed to do that!", + notEnoughVotes: emojis.redx + "Not enough votes!", + notPaused: emojis.redx + "The music in not paused!", + noVoiceChannel: emojis.redx + "I'm sorry but you need to be in a voice channel to play music!", nowPlaying: "__Now playing__", - paused: "<:pause:674685548610322462> Paused the music!", + paused: emojis.pause + "Paused the music!", permission: "🔒 Permission requirement:", - permissionsFalse: "<:redx:674263474704220182> That value is already `false`!", - permissionsSetFalse: "<:green_check_mark:674265384777416705> Permissions requirement now set to: `false`", - permissionsSetTrue: "<:green_check_mark:674265384777416705> Permissions requirement now set to: `true`", - permissionsTrue: "<:redx:674263474704220182> That value is already `true`!", - pinging: " Pinging...", - playlistAdded: "<:green_check_mark:674265384777416705> Playlist: **%TITLE%** has been added to the queue!", - positiveBass: "<:redx:674263474704220182> The bass needs to be a positive number!", - positiveVolume: "<:redx:674263474704220182> The volume needs to be a positive number!", + permissionsFalse: emojis.redx + "That value is already `false`!", + permissionsSetFalse: emojis.green_check_mark + "Permissions requirement now set to: `false`", + permissionsSetTrue: emojis.green_check_mark + "Permissions requirement now set to: `true`", + permissionsTrue: emojis.redx + "That value is already `true`!", + pinging: emojis.loading + "Pinging...", + playlistAdded: emojis.green_check_mark + "Playlist: **%TITLE%** has been added to the queue!", + positiveBass: emojis.redx + "The bass needs to be a positive number!", + positiveVolume: emojis.redx + "The volume needs to be a positive number!", prefixHere: "My prefix here is: ", prefixMaxLength: "The prefix must be shorter or equal to 5 letters!", - prefixSet: "<:green_check_mark:674265384777416705> New prefix set to:", + prefixSet: emojis.green_check_mark + "New prefix set to:", 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!", + provideASong: emojis.redx + "Please provide a song position in queue for me to remove!", queueDeleted: "Queue deleted!", queueDesc: "**Now playing:** %SONG%\n:arrow_down: Next in queue :arrow_down:", queueFooter: "songs in the queue!", - queueLength: "<:redx:674263474704220182> There are only %SONGS% amount of songs in the queue!", + queueLength: emojis.redx + "There are only %SONGS% amount of songs in the queue!", queueTitle: "__Song queue__", - quotaReached: "<:redx:674263474704220182> Quota reached please try again after midnight Pacific Time (PT)!", + quotaReached: emojis.redx + "Quota reached please try again after midnight Pacific Time (PT)!", reloaded: "All files reloaded!", - removed: "🗑️ removed `%SONG%` from the queue!", - reset: "<:green_check_mark:674265384777416705> Reset __all__ guild settings!", + removed: emojis.garbage + "removed `%SONG%` from the queue!", + reset: emojis.green_check_mark + "Reset __all__ guild settings!", restart: "restarting all shards...", - 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!", + resumed: emojis.resume + "Resumed the music!", + seekingPointPositive: emojis.redx + "The seeking point needs to be a positive number!", + seekMax: emojis.redx + "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", @@ -108,19 +110,19 @@ module.exports = { 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!", - songBlockedWMG: "<:redx:674263474704220182> This song had been blocked by WMG (Warner Music Groud).\n<:skip:674685614221688832> Skipped to next song.", + setVolume: emojis.volumeHigh + "I set the volume to: ", + shuffled: emojis.shuffle + "Queue suffled!", + skipped: emojis.skip + "Skipped the song!", + songAdded: emojis.green_check_mark + "**%TITLE%** has been added to the queue!", + songBlockedWMG: emojis.redx + "This song had been blocked by WMG (Warner Music Groud).\n<:skip:674685614221688832> Skipped to next song.", songSelection: "__Song Selection__", - startPlaying: " Start playing: ", - statusField1: ":signal_strength: Ping", + startPlaying: emojis.notes + "Start playing: ", + statusField1: emojis.signal + "Ping", statusField2: "Latency", - statusField3: ":stopwatch: Uptime", + statusField3: emojis.stopWatch + "Uptime", statusField4: "Shard: ", 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!", + stop: "Stopped the music!", + validNumber: emojis.redx + "I'm sorry, But you need to enter a valid __number__.", + wrongVoiceChannel: emojis.redx + "I'm sorry but you need to be in the same voice channel as Musix to use this command!", };