Minor refactor of Actions

This commit is contained in:
Amish Shah
2017-04-29 17:56:36 +01:00
parent dd8f77fcf0
commit f7d65991d5
19 changed files with 37 additions and 104 deletions

View File

@@ -12,9 +12,7 @@ class MessageReactionRemoveAll extends Action {
message._clearReactions();
this.client.emit(Constants.Events.MESSAGE_REACTION_REMOVE_ALL, message);
return {
message,
};
return { message };
}
}