Add Message Deletion via message.delete()

This commit is contained in:
hydrabolt
2016-04-21 18:50:46 +01:00
parent a2841f285c
commit c42e303b7b
4 changed files with 20 additions and 3 deletions

View File

@@ -71,6 +71,10 @@ class Message {
if (data.id)
this.id = data.id;
}
delete() {
return this.client.rest.methods.DeleteMessage(this.channel, this);
}
}
module.exports = Message;