From acbe9d25ae04ad9469210b6b7ae497b9256aa9fa Mon Sep 17 00:00:00 2001 From: DeadCakeMix <106091046+TheDeadCakeMix@users.noreply.github.com> Date: Wed, 25 May 2022 08:53:42 -0500 Subject: [PATCH] Grammar Fix Fixed some grammar and made it easier to read --- bot.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bot.js b/bot.js index 23fec44..73e921e 100644 --- a/bot.js +++ b/bot.js @@ -108,17 +108,17 @@ client.on('message', async msg => { if (!permissions.has('CONNECT')) { - return msg.channel.send("I don't have enough permissions to join your voice channel!"); + return msg.channel.send("I don't have the permissions needed to join your voice channel!"); } if (!permissions.has('SPEAK')) { - return msg.channel.send("I don't have enough permissions to speak in your voice channel!"); + return msg.channel.send("I don't have the permissions needed to speak in your voice channel!"); } if (!permissions.has('EMBED_LINKS')) { - return msg.channel.sendMessage("I don't have enough permissions to insert a URLs!") + return msg.channel.sendMessage("I don't have the permissions needed to insert URLs!") } if (url.match(/^https?:\/\/(www.youtube.com|youtube.com)\/playlist(.*)$/)) { @@ -132,7 +132,7 @@ client.on('message', async msg => { const video2 = await youtube.getVideoByID(video.id); await handleVideo(video2, msg, voiceChannel, true); } - return msg.channel.send(`**${playlist.title}**, Just added to the queue!`); + return msg.channel.send(`**${playlist.title}**, Was just added to the queue!`); } else { try { @@ -162,7 +162,7 @@ client.on('message', async msg => { }); } catch (err) { console.error(err); - return msg.channel.send('No one respone a number!!'); + return msg.channel.send('No one responed with a number!!'); } const videoIndex = parseInt(response.first().content);