mirror of
https://github.com/Ratstail91/SANCTUM.git
synced 2025-11-29 10:34:26 +11:00
Comment tweak
This commit is contained in:
@@ -44,12 +44,12 @@ exports.SplitArray = function(arr, chunkSize) {
|
|||||||
return groups;
|
return groups;
|
||||||
}
|
}
|
||||||
|
|
||||||
// See if the bot should display its message
|
//CheckValidDisplay
|
||||||
//client - discord.js client
|
//client - discord.js client
|
||||||
//member - discord.js member OR username
|
//member - discord.js member OR username
|
||||||
//channel - discord.js channel OR channel name
|
//channel - discord.js channel OR channel name
|
||||||
//checkRole - check the member's role or not
|
//checkRole - check the member's role or not
|
||||||
exports.CheckValidDisplay = function(client, member, channel, checkRole) {
|
exports.CheckValidDisplay = function(client, member, channel, checkRole) { //See if the bot should display its message
|
||||||
//handle member strings
|
//handle member strings
|
||||||
if (typeof(member) === "string") {
|
if (typeof(member) === "string") {
|
||||||
//get the member
|
//get the member
|
||||||
|
|||||||
Reference in New Issue
Block a user