The "Student Info" button has a few problems.
- The biggest problem is Discord's hard 2000-character limit on messages. When the "Student Info" response message exceeds 2000 characters, an error will be raised, and the message will not be sent. This could be solved by simply putting the output into a .txt file and attaching that to the message rather than as raw text.
- The button and database table it uses really aren't necessary. The only reason they still exist is that some bot functionality currently relies on that table. However, the queue_history table would be able to provide the same information that the student_info table currently stores with some carefully curated queries. Additionally, the excel spreadsheet @TwoLettuce made could extract the "times helped today" if we really need it. The student_info table was useful for testing, but seems to no longer be necessary.
The "Student Info" button has a few problems.