Create framework for code quality checks
There are a few code quality things that can probably be detected automatically. Right now, the main things I can think of relate to string localization and emotes-in-strings, but others might exist as well. It might be a good idea to set up some code quality tests that operate on the pre-commit hook that can detect these sorts of things.
The main issues I can think of are that for any sort of intelligent analysis, we'd need to be able to go through the code as if it were data. While this is simple in languages such as LISP, I'd expect it to be quite a bit harder in Python.
It might be easier to attempt some regex magic against line-addition diffs, e.g. the PCRE /<:[^:]+:\d+>/
is probably sufficient to detect a non-standard Discord emote.