A script that creates a line graph of activity in the UBA server
- The discord.py file retrieves all the messages from the #regimental channel on the Discord.
- The main.py then searches all the "Total Regimental Tryouts Hosted posts for the amount of tryouts being hosted by each regiment and in total using regex.
- Each regiment is given its own line in the graph with an extra total line added for the total tryouts hosted in a day and time stamps are then put into a line graph with reactions as the Y axis and time stamp as the X axis.
- the graph is then saved to the graph.png file.
as of 30/01/2024
- The discord.py file retrieves all the messages from the #regimental channel on the Discord.
- The main.py then searches all the "Total Regimental Tryouts Hosted posts for the amount of tryouts being hosted by each regiment using regex.
- Each regiment is given its own individual bar in the bar graph.
- the graph is then saved to the graph.png file.
as of 30/01/2024
- The discord.py file retrieves all the messages from the #activity channel on the Discord.
- the timestamps and reaction count is extracted from all the "Activity check posts.
- The script then generates a line graph with timestamps on the X-axis and reaction counts on the Y-axis
- Then the graph is saved to the graph.png file.
as of 22/01/2024