summaryrefslogtreecommitdiff
path: root/src/commands/voice
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-27 10:40:43 -0700
committer8cy <[email protected]>2020-04-27 10:40:43 -0700
commit5aee01b480ee2a3fb0581dec20e890ac2f1743d7 (patch)
tree0b49b4e1dd2f2001ccf3d17b09bec3bc2d6a79cc /src/commands/voice
parentchange formatting of serverinfo embed, v8.0.1 (diff)
downloaddep-core-5aee01b480ee2a3fb0581dec20e890ac2f1743d7.tar.xz
dep-core-5aee01b480ee2a3fb0581dec20e890ac2f1743d7.zip
add support and embed cmd, v8.0.2
also change msg.channel.send to msg.say
Diffstat (limited to 'src/commands/voice')
-rw-r--r--src/commands/voice/loop.ts2
-rw-r--r--src/commands/voice/play.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/voice/loop.ts b/src/commands/voice/loop.ts
index 69cc6a1..eb289a4 100644
--- a/src/commands/voice/loop.ts
+++ b/src/commands/voice/loop.ts
@@ -29,7 +29,7 @@ module.exports = class LoopVoice extends Command {
) {
return msg.reply('There isn\'t any audio playing right now. ' + emoji.random());
}
- msg.channel.send(
+ msg.say(
`${msg.guild.musicData.nowPlaying.title} added to queue. ` + emoji.random()
);
msg.guild.musicData.queue.unshift(msg.guild.musicData.nowPlaying);
diff --git a/src/commands/voice/play.ts b/src/commands/voice/play.ts
index 17bca2f..c6d37a9 100644
--- a/src/commands/voice/play.ts
+++ b/src/commands/voice/play.ts
@@ -144,7 +144,7 @@ module.exports = class PlayVoice extends Command {
.addField(`‎`, '**Song #**' + vidNameArr[3])
.addField(`‎`, '**Song #**' + vidNameArr[4])
.addField(`‎`, '**Exit selection**: ' + 'exit');
- var songEmbed = await msg.channel.send({
+ var songEmbed = await msg.say({
embed
});
var that = this;