gotechnica / technica-site-2024

Themed site 2024
0 stars 0 forks source link

Slackbot [Back-End] (8/19) #72

Open SerenaJewels opened 1 month ago

SerenaJewels commented 1 month ago

This is going to be a little different of a task. The goal of this task is to automate the Technica SlackBot to report the amount of registered hackers once a day in a Tech-Bots channel. Additionally, I think it'd probably be nice to have it report the amount of hackers on command, if possible. That way, it can be called in general!

In order to get the amount of hackers, it will have to read from DynamoDB. We currently have a table called portal-2024-prd-statistics that just has one entry that counts how many people register. You should be able to pull from this number to get an accurate count of how many registered hackers we have.

We had a SlackBot from 2022. However, I don't exactly know what happened to it, and I don't think it's in the Slack anymore. Most likely, you will have to make a new one. We currently do have some code for this bot, so that may be reusable.