Skip to content

Commit

Permalink
Update resolve documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaaz committed Feb 15, 2019
1 parent df298a5 commit 963b001
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/Utility/Resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import AxonError from '../Errors/AxonError';
*/
class Resolver {
/**
* User resolver
* Resolve a user within all the users the bot has.
*
* @param {Object<Eris.Client>} client - The bot client
* @param {Array/String} args - Array of arguments resolved by the command.
Expand Down Expand Up @@ -48,8 +48,7 @@ class Resolver {
return user; // Return the user object.
}

/**
* Member resolver
/** Resolve a member within a guild.
*
* @param {Object<Guild>} guild - Object Guild resolved by the command.
* @param {Array/String} args - Array of arguments resolved by the command.
Expand Down Expand Up @@ -88,7 +87,7 @@ class Resolver {
}

/**
* Role resolver
* Resolve a role within a guild.
*
* @param {Object<Guild>} guild - Object Guild resolved by the command.
* @param {Array/String} args - Array of arguments resolved by the command.
Expand Down Expand Up @@ -123,7 +122,7 @@ class Resolver {
}

/**
* Channel resolver
* Resolve a channel within a guild.
*
* @param {Object<Guild>} guild - Object Guild resolved by the command.
* @param {Array/String} args - Array of arguments resolved by the command.
Expand Down Expand Up @@ -158,7 +157,7 @@ class Resolver {
}

/**
* Guild resolver
* Resolve a guild within all guilds the bot is in.
*
* @param {Object<Eris.Client>} client - The bot client
* @param {Array} args - Array with guild name/ID
Expand Down

0 comments on commit 963b001

Please sign in to comment.