msg.sender is an alias to msg.author

This commit is contained in:
abalabahaha
2015-11-20 17:17:25 -08:00
parent 4b7faf9754
commit 0ba7a1796e
2 changed files with 6 additions and 2 deletions

View File

@@ -68,6 +68,10 @@ class Message extends Equality{
replyTTS(){
return this.client.replyTTS.apply(this.client, reg(this, arguments));
}
get sender(){
return this.author;
}
}
module.exports = Message;