Skip to content

Commit

Permalink
removed links
Browse files Browse the repository at this point in the history
  • Loading branch information
kattah7 committed Jul 23, 2023
1 parent 6cbc5b1 commit fc882c4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/clients/modules/handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
);
Expand Down

0 comments on commit fc882c4

Please sign in to comment.