Closed dvillavicencio closed 8 months ago
As for context for whoever finds this PR and ask yourself: what do you mean "without authentication?". The first version of the raid stats command used a mechanism where the user first needed to use a /authorize
command before the bot was able to retrieve raid stats. Nonetheless, this solution uses user-search that Bungie.net offers, and subsequently retrieves information for a user regarding their raid information.
This PR adds a basic command structure for adding a raid-stats command without the need for authenticating yourself with Bungie.net. There's still some iterations to go over so that we can go over rate-limiting for Bungie.net but this functionality is very basic. One other change that this PR has done to the bot, is that it replaced the cache request filter in the servlet architecture, and is using now a
WebFilter
from Netty and additionally, we removed most of the Postgres and Flyway dependencies since these are not compatible with Project Reactor.