Add a very basic ownership validation for the owner cog

This commit is contained in:
Marc Di Luzio 2024-08-13 22:34:02 +01:00
parent f2bfa6d33c
commit f25dc8db35
5 changed files with 37 additions and 264 deletions

View file

@ -93,7 +93,7 @@ while ./scripts/run.py; end
State is stored locally in a `state.json` file. This will be created by the bot. This stores historical information on users, maching schedules, user auth scopes and more. See [`py/state.py`](py/state.py) for schema information if you need to inspect it.
## TODO
* Write integration tests (maybe with [dpytest](https://dpytest.readthedocs.io/en/latest/tutorials/getting_started.html)?)
* Rethink the matcher scope, seems like maybe this could be simpler or removed
* Implement a .json file upgrade test
* Track if matches were successful
* Improve the weirdo