jb3/concoction

Message gateway events

Opened this issue · 0 comments

jb3 commented

Message events from the gateway should be handled.

  • MESSAGE_CREATE
  • MESSAGE_UPDATE
  • MESSAGE_DELETE
  • MESSAGE_DELETE_BULK
  • All reaction events

This should use an internal cache similar to the ratelimits/guilds caches, it should not store messages when they are deleted. Instead it should emit a deletion event with the record and then pop the record from ETS for both memory and privacy reasons.