Switch to maps for action deleted + more cleaning (#592)

This commit is contained in:
Schuyler Cebulskie
2016-09-03 18:21:31 -04:00
committed by Amish Shah
parent a3b9b0f1b4
commit 5af09d335c
7 changed files with 23 additions and 36 deletions

View File

@@ -4,12 +4,6 @@ const Constants = require('../../util/Constants');
class MessageDeleteBulkAction extends Action {
constructor(client) {
super(client);
this.timeouts = [];
this.deleted = {};
}
handle(data) {
const client = this.client;
const channel = client.channels.get(data.channel_id);