Removed trailing spaces, added unbanMember and kickMember

This commit is contained in:
abalabahaha
2015-11-11 18:27:08 -08:00
parent bb716480b1
commit 3e37c5d91f
20 changed files with 320 additions and 176 deletions

View File

@@ -15,7 +15,7 @@ class Resolver {
constructor(internal) {
this.internal = internal;
}
resolveServer(resource){
if(resource instanceof Server){
return resource;
@@ -49,10 +49,10 @@ class Resolver {
}
resolveString(resource) {
// accepts Array, Channel, Server, User, Message, String and anything
// toString()-able
var final = resource;
if (resource instanceof Array) {
final = resource.join("\n");
@@ -98,7 +98,7 @@ class Resolver {
return found;
}
resolveVoiceChannel(resource) {
// resolveChannel will also work but this is more apt
if(resource instanceof VoiceChannel){