mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-08-23 17:47:27 +00:00
Update helpers.js
This commit is contained in:
parent
7df3c9b53d
commit
841c974dba
1 changed files with 9 additions and 1 deletions
|
@ -9,3 +9,11 @@ if(message.member.roles.some(r=>permRanks.perms.includes(r.name)) ) {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
exports.hasSpeechChannels = function(msg){
|
||||
if(msg.channel.id.some(r=>speechChannels.channelsIDs.includes(r.id)) ) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue