Discord bot that does API requests to retrieve a collection of daily achievements for the next day and pushes an alert when any that is in a watchlist shows up.
Overhauled the database to include a collection of categories, which correspond to the categories found in the server. Each doc contains the name, unique ID, and two (string, ulong) mappings of the channels, one for text, the other for voice.
Switch selection statements are now being used as a dispatcher in the invocation of specific methods to handle the event. Currently there are two events being handled: messages that are received, and voice channel state changes. More will come, but so long the structure is being maintained, it shouldn't become an issue in the future.
In addition, some of the configuration settings have been changed to reflect something all-in-one as opposed to having different settings everywhere.
Overhauled the database to include a collection of
categories
, which correspond to the categories found in the server. Each doc contains the name, unique ID, and two (string, ulong) mappings of the channels, one for text, the other for voice.Switch selection statements are now being used as a dispatcher in the invocation of specific methods to handle the event. Currently there are two events being handled: messages that are received, and voice channel state changes. More will come, but so long the structure is being maintained, it shouldn't become an issue in the future.
In addition, some of the configuration settings have been changed to reflect something all-in-one as opposed to having different settings everywhere.