A bot built by me to automate adding hubblebucks, a form of reputation points to members in the community.
- Canny webhook is configured to send data to respective port once an event is triggered (any kind)
- Events are filtered and 'Marked for Review' events are allowed through
- Feedback data from Canny is scraped to find Discord Usernames
- Usernames are spliced and keyword based search from Discord JS is used since Discord JS does not provide a direct way for converting usernames to user IDs
- User objects on Discord are filtered through to find the correct object with corresponding username#discriminator and User ID is retrieved from the object
- UnbelievaBoat API Patch is used to add reputation points to the corresponding Discord ID