diff options
| author | 8cy <[email protected]> | 2020-04-12 05:48:25 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-12 05:48:25 -0700 |
| commit | b9b82004cd5e7b64deb1b20e2ea17353f4d01deb (patch) | |
| tree | e896855b35174116bc5ddc6e716e4a7a8ff40df2 /commands/voice/psycho.js | |
| parent | oop, v3.0.1 (diff) | |
| download | s5nical-b9b82004cd5e7b64deb1b20e2ea17353f4d01deb.tar.xz s5nical-b9b82004cd5e7b64deb1b20e2ea17353f4d01deb.zip | |
emojis for all :D, 3.0.2
Diffstat (limited to 'commands/voice/psycho.js')
| -rw-r--r-- | commands/voice/psycho.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/commands/voice/psycho.js b/commands/voice/psycho.js index 9676b27..ba45254 100644 --- a/commands/voice/psycho.js +++ b/commands/voice/psycho.js @@ -20,12 +20,12 @@ module.exports = class PsychoVoice extends Command { } async run(msg, { query }) { const voiceChannel = msg.member.voice.channel; - if (!voiceChannel) return msg.say('join a channel and try again'); + if (!voiceChannel) return msg.say('join a channel and try again ' + emoji.random()); const id = 'fnd_HSmAODs'; const video = await youtube.getVideoByID(id).catch(function () { return msg.say( - 'there was a problem getting the video you provided' + 'there was a problem getting the video you provided ' + emoji.random() ); }); // // can be uncommented if you don't want the bot to play live streams @@ -52,7 +52,7 @@ module.exports = class PsychoVoice extends Command { msg.guild.musicData.isPlaying = true; return this.playSong(msg.guild.musicData.queue, msg); } else if (msg.guild.musicData.isPlaying == true) { - return msg.say(`${video.title} added to queue`); + return msg.say(`${video.title} added to queue ` + emoji.random()); } var that = this; @@ -104,7 +104,7 @@ module.exports = class PsychoVoice extends Command { if (songEmbed) { songEmbed.delete(); } - return msg.say(`${video.title} added to queue`); + return msg.say(`${video.title} added to queue ` + emoji.random()); } }) .catch(function () { @@ -112,7 +112,7 @@ module.exports = class PsychoVoice extends Command { songEmbed.delete(); } return msg.say( - 'an error has occured when trying to get the video id from youtube' + 'an error has occured when trying to get the video id from youtube ' + emoji.random() ); }); }); @@ -155,7 +155,7 @@ module.exports = class PsychoVoice extends Command { } }) .on('error', function (e) { - msg.say('can\'t play song'); + msg.say('can\'t play song ' + emoji.random()); console.error(e); msg.guild.musicData.queue.length = 0; msg.guild.musicData.isPlaying = false; |