Currently, this is done sloppily in index.js. These should live in their own class that understands different types of posts, and their formats. This module should also implement a queuing system to avoid hitting the Discord rate limit.
Seems like discord.js should handle the queuing for us. This issue can be reduced to creating a class that takes data objects (Battle, Kill, etc) and returns a Discord.js RichEmbed object to pass to .send
Currently, this is done sloppily in index.js. These should live in their own class that understands different types of posts, and their formats. This module should also implement a queuing system to avoid hitting the Discord rate limit.
2