📝 Some grammar and punctuation corrections (by andreash64)

Some grammar and punctuation corrections.
This commit is contained in:
Zerio
2020-09-11 17:54:24 +02:00
committed by GitHub
6 changed files with 12 additions and 12 deletions

View File

@@ -29,12 +29,12 @@ exports.run = async (client, message, args) => {
if(filtersUpdated[filterRealName]) { if(filtersUpdated[filterRealName]) {
//The bot adds the filter on the music //The bot adds the filter on the music
message.channel.send(`I'm adding the filter to the music, please wait... Note : the longer the music is, the longer the wait will be ${emotes.music}`); message.channel.send(`I'm adding the filter to the music, please wait... Note: the longer the music is, the longer this will take ${emotes.music}`);
} else { } else {
//The bot removes the filter from the music //The bot removes the filter from the music
message.channel.send(`I'm disabling the filter on the music, please wait... Note : the longer the music is playing, the longer the wait will be ${emotes.music}`); message.channel.send(`I'm disabling the filter on the music, please wait... Note: the longer the music is playing, the longer this will take ${emotes.music}`);
} }

View File

@@ -6,11 +6,11 @@ exports.run = async (client, message, args) => {
//New embed //New embed
const help = new Discord.MessageEmbed() const help = new Discord.MessageEmbed()
.setDescription("Find the list of commands available on this panel.") .setDescription("Find the list of available commands on this panel.")
.addField("**Music - (11)**", "`play`, `pause`, `resume`, `queue`, `clear-queue`, `shuffle`, `np`, `loop`, `volume`, `skip`, `stop`") .addField("**Music - (11)**", "`play`, `pause`, `resume`, `queue`, `clear-queue`, `shuffle`, `np`, `loop`, `volume`, `skip`, `stop`")
.addField("**Filters - (18)**", "`bassboost`, `8D`, `vaporwave`, `nightcore`, `phaser`, `tremolo`, `vibrato`, `reverse`, `treble`, `normalizer`, `surrounding`, `pulsator`, `subboost`, `karaoke`, `flanger`, `gate`, `haas`, `mcompand`") .addField("**Filters - (18)**", "`bassboost`, `8D`, `vaporwave`, `nightcore`, `phaser`, `tremolo`, `vibrato`, `reverse`, `treble`, `normalizer`, `surrounding`, `pulsator`, `subboost`, `karaoke`, `flanger`, `gate`, `haas`, `mcompand`")
.addField("**Informations - (1)**", "`ping`") .addField("**Informations - (1)**", "`ping`")
.setFooter(`To use filters, ${config.prefix}filter (the filter). Example : ${config.prefix}filter 8D.`) .setFooter(`To use filters, ${config.prefix}filter (the filter). Example: ${config.prefix}filter 8D.`)
.setColor("ORANGE") .setColor("ORANGE")
//Message //Message

View File

@@ -12,6 +12,6 @@ exports.run = async (client, message, args) => {
const song = await client.player.nowPlaying(message.guild.id); const song = await client.player.nowPlaying(message.guild.id);
//Message //Message
message.channel.send(`Currently playing ${song.name} ${emotes.music}\nProgression : [${client.player.createProgressBar(message.guild.id)}]`); message.channel.send(`Currently playing ${song.name} ${emotes.music}\nProgress: [${client.player.createProgressBar(message.guild.id)}]`);
} }

View File

@@ -4,6 +4,6 @@ const Discord = require("discord.js")
exports.run = async (client, message, args) => { exports.run = async (client, message, args) => {
//Message //Message
message.channel.send(`Ping : ${client.ws.ping} ms ${emotes.success}`) message.channel.send(`Ping: ${client.ws.ping} ms ${emotes.success}`)
} }

View File

@@ -7,7 +7,7 @@ exports.run = async (client, message, args) => {
if(!message.member.voice.channel) return message.channel.send(`You're not in a voice channel ${emotes.error}`); if(!message.member.voice.channel) return message.channel.send(`You're not in a voice channel ${emotes.error}`);
//If no music is provided //If no music is provided
if (!args[0]) return message.channel.send(`Please enter a music ${emotes.error}`); if (!args[0]) return message.channel.send(`Please specify a song to play ${emotes.error}`);
const aTrackIsAlreadyPlaying = client.player.isPlaying(message.guild.id); const aTrackIsAlreadyPlaying = client.player.isPlaying(message.guild.id);
@@ -18,7 +18,7 @@ exports.run = async (client, message, args) => {
const result = await client.player.addToQueue(message.guild.id, args.join(" ")).catch(() => {}); const result = await client.player.addToQueue(message.guild.id, args.join(" ")).catch(() => {});
if(!result) { if(!result) {
message.member.voice.channel.leave() message.member.voice.channel.leave()
return message.channel.send(`This song provider is not supported...`) return message.channel.send(`This song provider is not supported.`)
}; };
if(result.type === 'playlist'){ if(result.type === 'playlist'){
@@ -33,11 +33,11 @@ exports.run = async (client, message, args) => {
const result = await client.player.play(message.member.voice.channel, args.join(" ")).catch(() => {}); const result = await client.player.play(message.member.voice.channel, args.join(" ")).catch(() => {});
if(!result) { if(!result) {
message.member.voice.channel.leave() message.member.voice.channel.leave()
return message.channel.send(`This song provider is not supported...`) return message.channel.send(`This song provider is not supported.`)
}; };
if(result.type === 'playlist'){ if(result.type === 'playlist'){
message.channel.send(`${result.tracks.length} songs added to the queue ${emotes.music}\nCurrently playing ${result.tracks[0].name} !`); message.channel.send(`${result.tracks.length} songs added to the queue ${emotes.music}\nCurrently playing ${result.tracks[0].name}`);
} else { } else {
message.channel.send(`Currently playing ${result.name} ${emotes.music}`); message.channel.send(`Currently playing ${result.name} ${emotes.music}`);
} }
@@ -52,7 +52,7 @@ exports.run = async (client, message, args) => {
message.channel.send(`Now playing ${newTrack.name} ... ${emotes.music}`); message.channel.send(`Now playing ${newTrack.name} ... ${emotes.music}`);
}) })
.on('channelEmpty', () => { .on('channelEmpty', () => {
message.channel.send(`Stop playing, there is no more member in the voice channel ${emotes.error}`); message.channel.send(`Music stoppted, there are no more members in the voice channel ${emotes.error}`);
}); });
} }
} }

View File

@@ -24,7 +24,7 @@ exports.run = async (client, message, args) => {
//List embed //List embed
const list = new Discord.MessageEmbed() const list = new Discord.MessageEmbed()
.setDescription(`List of all filters enabled or disabled.\nTo add a filter to a \`${config.prefix}filter\` music.`) .setDescription(`List of all filters enabled or disabled.\nUse \`${config.prefix}filter\` to add a filter to a song.`)
.addField("**Filters**", filtersStatuses[0].join('\n'), true) .addField("**Filters**", filtersStatuses[0].join('\n'), true)
.addField("** **", filtersStatuses[1].join('\n'), true) .addField("** **", filtersStatuses[1].join('\n'), true)
.setColor("ORANGE"); .setColor("ORANGE");