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

@@ -2,29 +2,29 @@
The Equality Class is just used to show
that a Class has an ID that can be used to
check for equality.
Never use == or === when comparing
objects in discord.js, they will be different
instances sometimes.
Instead, use objectThatExtendsEquality.equals()
*/
class Equality{
constructor(){
}
get eqDiscriminator(){
return "id";
}
equals(object){
if(object && object[this.eqDiscriminator] == this[this.eqDiscriminator]){
return true;
}
return false;
}
equalsStrict(object){
// override per class type
return;