diff --git a/bot/helpers.js b/bot/helpers.js index e631e62..a3aba00 100644 --- a/bot/helpers.js +++ b/bot/helpers.js @@ -8,4 +8,12 @@ if(message.member.roles.some(r=>permRanks.perms.includes(r.name)) ) { } else { return false; } -} \ No newline at end of file +} + +exports.hasSpeechChannels = function(msg){ +if(msg.channel.id.some(r=>speechChannels.channelsIDs.includes(r.id)) ) { + return true; +} else { + return false; +} +}