diff --git a/structure/client/Resolver.js b/structure/client/Resolver.js index 0d3d0f3..dde8603 100644 --- a/structure/client/Resolver.js +++ b/structure/client/Resolver.js @@ -173,12 +173,12 @@ class Resolver { } /** - * + * Resolve multiple channels * * @param {array} [resolveables=[]] an array of channel resolveables (name, id) * @param {guild} guild the guild in which to look for channels * @param {boolean} [strict=false] whether or not partial names are resolved - * @returns {array} an array of guild channels + * @returns {array || false} an array of guild channels or false if none were resolved * @memberof Resolver */ async resolveChannels(resolveables = [], guild, strict = false) { @@ -228,7 +228,16 @@ class Resolver { } - async resolveRoles(resolveables = [], guild, strict) { + /** + * Resolve multiple roles + * + * @param {array} [resolveables=[]] an array of roles resolveables (name, id) + * @param {Guild} guild the guild in which to look for roles + * @param {boolean} [strict=false] whether or not partial names are resolved + * @returns {array || false} an array of roles or false if none were resolved + * @memberof Resolver + */ + async resolveRoles(resolveables = [], guild, strict = false) { if(typeof resolveables === 'string') resolveables = [ resolveables ]; if(resolveables.length === 0) return false;