issues
search
danparizher
/
Pax-Academia
General purpose utility bot for the Homework Help Discord server
MIT License
13
stars
5
forks
source link
fix: Escape bad regex and resolve type errors
#163
Closed
GabeMillikan
closed
1 year ago
GabeMillikan
commented
1 year ago
This PR:
Makes the
add-alert
command escape invalid regex before inserting it into the database.
Updates the type hinting to fix several errors
refactors a couple of related logical issues & code quality things
adds a migration to
db_update.py
which will update all of our existing alerts
This PR:
add-alert
command escape invalid regex before inserting it into the database.db_update.py
which will update all of our existing alerts