From ac1242f74be338943cb9a45b1d255e384feac858 Mon Sep 17 00:00:00 2001 From: Essem Date: Fri, 6 Aug 2021 12:06:49 -0500 Subject: [PATCH] Revert "well crap" This reverts commit 2ba46172b8c853b7e84ea539a5e59e997ddf4952. --- commands/music/loop.js | 2 +- commands/music/nowplaying.js | 2 +- commands/music/pause.js | 2 +- commands/music/play.js | 2 +- commands/music/queue.js | 2 +- commands/music/skip.js | 2 +- commands/music/stop.js | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/commands/music/loop.js b/commands/music/loop.js index ebbd60c..451cdd2 100644 --- a/commands/music/loop.js +++ b/commands/music/loop.js @@ -3,7 +3,7 @@ const MusicCommand = require("../../classes/musicCommand.js"); class LoopCommand extends MusicCommand { async run() { - if (process.env.NODE_ENV === "production" && this.message.author.id === process.env.OWNER) return "Music commands are coming soon, but they aren't ready yet. Stay tuned to @esmBot_ on Twitter for updates!"; + if (process.env.NODE_ENV === "production" && this.message.author.id !== process.env.OWNER) return "Music commands are coming soon, but they aren't ready yet. Stay tuned to @esmBot_ on Twitter for updates!"; if (!this.message.channel.guild) return "This command only works in servers!"; if (!this.message.member.voiceState.channelID) return "You need to be in a voice channel first!"; diff --git a/commands/music/nowplaying.js b/commands/music/nowplaying.js index 8a7c728..ba4408e 100644 --- a/commands/music/nowplaying.js +++ b/commands/music/nowplaying.js @@ -6,7 +6,7 @@ const MusicCommand = require("../../classes/musicCommand.js"); class NowPlayingCommand extends MusicCommand { async run() { - if (process.env.NODE_ENV === "production" && this.message.author.id === process.env.OWNER) return "Music commands are coming soon, but they aren't ready yet. Stay tuned to @esmBot_ on Twitter for updates!"; + if (process.env.NODE_ENV === "production" && this.message.author.id !== process.env.OWNER) return "Music commands are coming soon, but they aren't ready yet. Stay tuned to @esmBot_ on Twitter for updates!"; if (!this.message.channel.guild) return "This command only works in servers!"; if (!this.message.member.voiceState.channelID) return "You need to be in a voice channel first!"; diff --git a/commands/music/pause.js b/commands/music/pause.js index d2efedc..5e4e080 100644 --- a/commands/music/pause.js +++ b/commands/music/pause.js @@ -2,7 +2,7 @@ const MusicCommand = require("../../classes/musicCommand.js"); class PauseCommand extends MusicCommand { async run() { - if (process.env.NODE_ENV === "production" && this.message.author.id === process.env.OWNER) return "Music commands are coming soon, but they aren't ready yet. Stay tuned to @esmBot_ on Twitter for updates!"; + if (process.env.NODE_ENV === "production" && this.message.author.id !== process.env.OWNER) return "Music commands are coming soon, but they aren't ready yet. Stay tuned to @esmBot_ on Twitter for updates!"; if (!this.message.channel.guild) return "This command only works in servers!"; if (!this.message.member.voiceState.channelID) return "You need to be in a voice channel first!"; diff --git a/commands/music/play.js b/commands/music/play.js index 14a233c..715e3f1 100644 --- a/commands/music/play.js +++ b/commands/music/play.js @@ -5,7 +5,7 @@ const searchRegex = /^ytsearch:/; class PlayCommand extends MusicCommand { async run() { - if (process.env.NODE_ENV === "production" && this.message.author.id === process.env.OWNER) return "Music commands are coming soon, but they aren't ready yet. Stay tuned to @esmBot_ on Twitter for updates!"; + if (process.env.NODE_ENV === "production" && this.message.author.id !== process.env.OWNER) return "Music commands are coming soon, but they aren't ready yet. Stay tuned to @esmBot_ on Twitter for updates!"; if (!this.args[0]) return "You need to provide what you want to play!"; const query = this.args.join(" ").trim(); diff --git a/commands/music/queue.js b/commands/music/queue.js index 8888183..63b380f 100644 --- a/commands/music/queue.js +++ b/commands/music/queue.js @@ -8,7 +8,7 @@ const MusicCommand = require("../../classes/musicCommand.js"); class QueueCommand extends MusicCommand { async run() { - if (process.env.NODE_ENV === "production" && this.message.author.id === process.env.OWNER) return "Music commands are coming soon, but they aren't ready yet. Stay tuned to @esmBot_ on Twitter for updates!"; + if (process.env.NODE_ENV === "production" && this.message.author.id !== process.env.OWNER) return "Music commands are coming soon, but they aren't ready yet. Stay tuned to @esmBot_ on Twitter for updates!"; if (!this.message.channel.guild) return "This command only works in servers!"; if (!this.message.member.voiceState.channelID) return "You need to be in a voice channel first!"; diff --git a/commands/music/skip.js b/commands/music/skip.js index b27a91c..a7a5859 100644 --- a/commands/music/skip.js +++ b/commands/music/skip.js @@ -3,7 +3,7 @@ const MusicCommand = require("../../classes/musicCommand.js"); class SkipCommand extends MusicCommand { async run() { - if (process.env.NODE_ENV === "production" && this.message.author.id === process.env.OWNER) return "Music commands are coming soon, but they aren't ready yet. Stay tuned to @esmBot_ on Twitter for updates!"; + if (process.env.NODE_ENV === "production" && this.message.author.id !== process.env.OWNER) return "Music commands are coming soon, but they aren't ready yet. Stay tuned to @esmBot_ on Twitter for updates!"; if (!this.message.channel.guild) return "This command only works in servers!"; if (!this.message.member.voiceState.channelID) return "You need to be in a voice channel first!"; diff --git a/commands/music/stop.js b/commands/music/stop.js index 12ec736..898e816 100644 --- a/commands/music/stop.js +++ b/commands/music/stop.js @@ -3,7 +3,7 @@ const MusicCommand = require("../../classes/musicCommand.js"); class StopCommand extends MusicCommand { async run() { - if (process.env.NODE_ENV === "production" && this.message.author.id === process.env.OWNER) return "Music commands are coming soon, but they aren't ready yet. Stay tuned to @esmBot_ on Twitter for updates!"; + if (process.env.NODE_ENV === "production" && this.message.author.id !== process.env.OWNER) return "Music commands are coming soon, but they aren't ready yet. Stay tuned to @esmBot_ on Twitter for updates!"; if (!this.message.channel.guild) return "This command only works in servers!"; if (!this.message.member.voiceState.channelID) return "You need to be in a voice channel first!";