* log_analyser: Use a set for notes
* Use sys.exc_info() instead of sys.exception()
sys.exception() only exists since python 3.11
* Create data dir if it doesn't exist
* Create size helper
* Replace fixed RAM units with size helper
* Rename CommonErrors to CommonError
Enum names should be singular
* Apply black formatting
* Create state files if they don't exist yet
* Add notifications helper to message bot managers
* Inform bot managers about errors if possible
* Handle JSONDecodeErrors including empty files
* Fix modified log detection for multi game logs
* Add app_info to analyse() output
* Add main standalone script for easy debugging
* Apply black formatting
* Update meme.py with .lick meme command
Never done this before.
* Update meme.py with lick meme v2
I used a web-based version of Black to fix the parsing error but couldn't get it to register the commands while indented?
* Add black formatting
* Apply suggestions from code review
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
---------
Co-authored-by: TSR Berry <20988865+TSRBerry@users.noreply.github.com>
* Add disabled_ids as an alias
* Fix possible AttributeErrors in get_app_info()
* Refactor logfilereader.py
* Refactor disabled_ids and fix a few bugs
* Only add active cheats to the list
* Rename disabled_tids to disabled_ids and start adding support for bids
* Add cheat information
* Add analysis block for build ids
Always remove blocked game logs
* Add ro_section to disabled_ids
* Search all potential log files for blocked games
* Add commands to block ro_sections of games
* Change order of macro command arguments
* Add new disabled_ids key to wanted_jsons
* logfilereader: Fix analysing every attachment
Now Ryuko will only analyse logs again
* logfilereader: Stop analysing message.txt
Most of the time these won't contain all the info we need anyway.
* Apply black formatting
* Small styling changes
* Add disallowed_roles for logfilereader
* macros: Fix naming and missing bot parameter
* Add disabled_tids helper
* Add pirate role to named role examples
* logfilereader: Add commands to block specific tids
* Add black formatting
* Add command to manually analyse logs
And some minor cleanup
* Remove command message when using macros
* macro: Reply to the same message as the author invoking the command
* logfilereader: Increase size of empty logs
* meme: Add reply targets
* mod: Add reply targets
* mod_timed: Add reply targets
* macro: Add aliases for macros
* macro: Fix list_macros not listing any macros
* Apply black formatting