From 2ba46172b8c853b7e84ea539a5e59e997ddf4952 Mon Sep 17 00:00:00 2001 From: Essem Date: Fri, 6 Aug 2021 12:05:19 -0500 Subject: [PATCH] well crap --- 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 451cdd2..ebbd60c 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 ba4408e..8a7c728 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 5e4e080..d2efedc 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 715e3f1..14a233c 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 63b380f..8888183 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 a7a5859..b27a91c 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 898e816..12ec736 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!";