Added message sending

This commit is contained in:
hydrabolt
2015-10-31 22:59:53 +00:00
parent cc3f9d931a
commit 28308433da
14 changed files with 585 additions and 82 deletions

View File

@@ -26,10 +26,13 @@ class Message{
// this is .add and not .get because it allows the bot to cache
// users from messages from logs who may have left the server and were
// not previously cached.
console.log(mention);
this.mentions.add(client.internal.users.add(new User(mention, client)));
});
}
toString(){
return this.content;
}
}
module.exports = Message;