From fc882c4f4cb0aa63cb029fe429789daec13ee0bd Mon Sep 17 00:00:00 2001 From: Kattah Date: Sun, 23 Jul 2023 21:00:08 +0900 Subject: [PATCH] removed links --- src/clients/modules/handler.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/clients/modules/handler.js b/src/clients/modules/handler.js index 219e0cf..104390c 100644 --- a/src/clients/modules/handler.js +++ b/src/clients/modules/handler.js @@ -222,6 +222,11 @@ module.exports = { const channelEditors = msg.mongoChannel.editors.find((x) => x.id === msg.user.id); const ChannelOwnerEditor = msg.user.login === msg.channel.login; if (!channelEditors && !ChannelOwnerEditor) { + if (msg.channel.id == '71092938') { + msg.send(`Only channel editors can use this command. Ask the broadcaster nicely to add you as an editor :)`); + return; + } + msg.send( `Only channel editors can use this command. Ask the broadcaster nicely to add you as an editor :) https://poros.lol/dashboard/${msg.channel.login}/channel/editors`, );