Commit graph

537 commits

Author SHA1 Message Date
TSRBerry 5be9915501
logfilereader: Fix macOS version detection & Reply to analyzed log (#45)
* Fix macOS version detection correctly this time

* Reply to the message with the uploaded log

* Apply black formatting
2023-04-28 22:38:23 +02:00
TSRBerry 45538eec6f
logfilereader: Fix analysing every attachment (#44)
* 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
2023-04-27 20:56:57 +02:00
TSRBerry e937abb41c
Fix a few macro and logfilereader issues (#43)
* Try to improve exception logging

* Fix KeyError for new aliases

* List aliases and macros together

* Fix AttributeError when reading logs
2023-04-26 20:38:52 +02:00
TSRBerry 994438d3fa
Add commands to block log analysis of specific TIDs (#42)
* 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
2023-04-24 08:21:04 +02:00
Mary 2f4990d64f
Revert "Bump charset-normalizer from 2.1.0 to 3.1.0 (#36)" (#41)
This reverts commit 5515443ff5.
2023-04-20 07:47:13 +02:00
dependabot[bot] 4394ecd808
Bump yarl from 1.8.1 to 1.8.2 (#37)
Bumps [yarl](https://github.com/aio-libs/yarl) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/aio-libs/yarl/releases)
- [Changelog](https://github.com/aio-libs/yarl/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/yarl/compare/v1.8.1...v1.8.2)

---
updated-dependencies:
- dependency-name: yarl
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 07:42:06 +02:00
dependabot[bot] 5515443ff5
Bump charset-normalizer from 2.1.0 to 3.1.0 (#36)
Bumps [charset-normalizer](https://github.com/Ousret/charset_normalizer) from 2.1.0 to 3.1.0.
- [Release notes](https://github.com/Ousret/charset_normalizer/releases)
- [Changelog](https://github.com/Ousret/charset_normalizer/blob/master/CHANGELOG.md)
- [Upgrade guide](https://github.com/Ousret/charset_normalizer/blob/master/UPGRADE.md)
- [Commits](https://github.com/Ousret/charset_normalizer/compare/2.1.0...3.1.0)

---
updated-dependencies:
- dependency-name: charset-normalizer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 07:41:55 +02:00
dependabot[bot] cc9e55057a
Bump frozenlist from 1.3.1 to 1.3.3 (#35)
Bumps [frozenlist](https://github.com/aio-libs/frozenlist) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/aio-libs/frozenlist/releases)
- [Changelog](https://github.com/aio-libs/frozenlist/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/frozenlist/compare/v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: frozenlist
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 07:41:42 +02:00
dependabot[bot] 90b6f45005
Bump discord-py from 2.0.0 to 2.2.2 (#34)
Bumps [discord-py](https://github.com/Rapptz/discord.py) from 2.0.0 to 2.2.2.
- [Release notes](https://github.com/Rapptz/discord.py/releases)
- [Commits](https://github.com/Rapptz/discord.py/compare/v2.0.0...v2.2.2)

---
updated-dependencies:
- dependency-name: discord-py
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 07:41:33 +02:00
TSRBerry 20a7d0506c
Fix logfilereader not detecting games (#40) 2023-04-20 07:41:18 +02:00
TSRBerry 3a0230259a
reply-targets: Await the result of fetch_message() (#39)
* Await the result of fetch_message()

* Apply black formatting
2023-04-05 18:57:46 +02:00
Mary bf59634898 Fix broken get_userlog in logs 2023-04-05 18:33:24 +02:00
Mary dea6cf5f38 Remove imagemanip 2023-04-05 15:03:54 +02:00
Mary f642c953e8 Remove requirements.txt 2023-04-05 12:24:02 +02:00
Mary f1e5c34fb3 Fix hackwarn using target_user instead of the target_user name 2023-04-05 12:19:21 +02:00
Mary 48f9cc5cde Change robocop_ng to have state directory differ from working directory 2023-04-05 12:10:18 +02:00
TSRBerry 8463b9b2fb
Add hackwarn command (#20)
* Add hackwarn command

* Fix command usage message
2023-04-02 15:15:49 +02:00
TSRBerry 4ad2527a59
Use reply message to target a specific member & Add aliases for macros (#26)
* 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
2023-04-02 13:56:49 +02:00
dependabot[bot] 9912df774d
Bump pillow from 9.2.0 to 9.5.0 (#33)
Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.2.0 to 9.5.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/9.2.0...9.5.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-02 13:53:24 +02:00
dependabot[bot] 8c8ca5a883
Bump humanize from 3.14.0 to 4.6.0 (#32)
Bumps [humanize](https://github.com/python-humanize/humanize) from 3.14.0 to 4.6.0.
- [Release notes](https://github.com/python-humanize/humanize/releases)
- [Commits](https://github.com/python-humanize/humanize/compare/3.14.0...4.6.0)

---
updated-dependencies:
- dependency-name: humanize
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-02 13:51:02 +02:00
dependabot[bot] ec02588ade
Bump gidgethub from 5.2.0 to 5.2.1 (#31)
Bumps [gidgethub](https://github.com/brettcannon/gidgethub) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/brettcannon/gidgethub/releases)
- [Changelog](https://github.com/brettcannon/gidgethub/blob/main/docs/changelog.rst)
- [Commits](https://github.com/brettcannon/gidgethub/compare/v5.2.0...v5.2.1)

---
updated-dependencies:
- dependency-name: gidgethub
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-02 13:45:17 +02:00
dependabot[bot] 08ded71a91
Bump aiohttp from 3.8.1 to 3.8.4 (#30)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.1 to 3.8.4.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.1...v3.8.4)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-02 13:41:57 +02:00
dependabot[bot] db73c59e20
Bump multidict from 6.0.2 to 6.0.4 (#29)
Bumps [multidict](https://github.com/aio-libs/multidict) from 6.0.2 to 6.0.4.
- [Release notes](https://github.com/aio-libs/multidict/releases)
- [Changelog](https://github.com/aio-libs/multidict/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/multidict/compare/v6.0.2...v6.0.4)

---
updated-dependencies:
- dependency-name: multidict
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-02 13:41:06 +02:00
TSRBerry 5e2ce2abaa
Allow formatter to run on forks (#28)
* Allow formatter to run on forks

* Sometimes RTFM does save some time

* Automatically fix formatting for same repo PRs

* Apply black formatting
2023-04-01 18:43:56 +02:00
TSRBerry 9caa1f6b72
Add workflow to automatically apply black formatting & Add dependabot (#27)
* Add automatic formatting for pull requests

* Add dependabot.yml
2023-04-01 17:51:07 +02:00
Mary c82fc0e78c Fix macros command 2023-03-30 20:38:03 +02:00
Mary 29b2412513 Fix missing setup function for persistence role module 2023-03-30 19:44:43 +02:00
TSRBerry fc5b959558
Call Cog.listener (#25) 2023-03-30 19:37:49 +02:00
Mary 85595256c3 Fix load/unload/pull commands with module name changes 2023-03-30 19:29:29 +02:00
TSRBerry af92876835 Add macro cog (#24)
* Add macro cog

* Adjust macro cooldown

* Add macros.json to wanted_jsons

---------

Co-authored-by: Mary <mary@mary.zone>
2023-03-30 19:05:29 +02:00
TSRBerry f10ab7bb50
Add role persistence cog (#23) 2023-03-30 19:01:04 +02:00
Mary 2f2475985d Fix module support 2023-03-09 23:19:53 +01:00
TSRBerry bd5f37086e
Fix errors when trying to access an avatar and some cleanup (#22)
* Replace avatar_url with str(display_avatar)

* Rewrite imports and resolve a few warnings
2023-03-09 23:01:10 +01:00
Mary 950b3f577b Update move logic after rebase 2023-03-08 08:29:56 +01:00
Mary 5d43842e3c Fixes after rebase 2023-03-03 22:20:05 +01:00
TSR Berry d7852c2307
reactionroles: Wait until the bot is ready 2023-03-03 20:14:48 +01:00
TSR Berry 7f7a4c4707
cron: Wait until bot is ready 2023-03-03 20:10:15 +01:00
TSR Berry 3418c206d9
Apply black formatting 2023-03-03 19:58:51 +01:00
Mary b2bd3142a9
Adjust for support channel changes and macos support 2023-03-03 19:58:51 +01:00
Mark 367cc8fe9d
Added more warnings in log reader (#17)
* Added warnings:

- File permissions fix
- File not found fix
- Missing services fix
- Graphics Backend threading warning
- Software memory manager warning severity upgraded

* Small fixes:
- Use file size to track duplicate files
- Use logging module for exception warning

* Fix log analysis not showing on no game boot

* Formatting for clarity on mobile, minor rewording

* Add graphics backend to visible output

* Suggest Vulkan for AMD and Intel GPU

* Reword pr-testing message

* Remove anisotropic filtering warning

* Deduplicate mods information

* Nit: spelling error in comment

* Shorten log time message

* Increase bytes read to handle large amounts of DLC

* Add Texture Recompression to output

* Fix shadowed variables

* Recompression suggestion for Vulkan memory error

* Improve regex to deal with MB/MiB RAM measurement

* Rename Expand DRAM warning to match rewording

* Update LDN regex to detect new versions
2023-03-03 19:58:51 +01:00
Mary ade0917985
Upstream reaction roles changes 2023-03-03 19:58:51 +01:00
Mary b4d95b5635
Fix last commit again 2023-03-03 19:58:51 +01:00
Ayato (Shahil) 5ee601bda5
Update mod.py (#18) 2023-03-03 19:58:51 +01:00
Mary c8a9603bb0
Fix build issues 2023-03-03 19:58:51 +01:00
Mark 0015a812f9
Further fixes/improvements (#16)
* Fix AF warning when Unknown

* Flag FS integrity check being disabled
2023-03-03 19:58:51 +01:00
VocalFan ada0e92d32
Added many more error codes for .serr (#12)
* All the modules added, and all FS Error codes!

* Added common errors, plus all HIDBUS errors.

* Added all error codes for new modules!

* 0x2A2 fatal error added.

* Fixed accidental paste

* Added erpt error codes + new Devmenu module.
2023-03-03 19:58:51 +01:00
Mark b98928f801
Update missing key error since no libhac used (#14) 2023-03-03 19:58:50 +01:00
Mark d0acba564f
Log reading improvements (#13)
* Handles new Ryujinx version numbering

* Add detection of ResultFsPermissionDenied and ResultFsTargetNotFound errors

* Warns on detection of old Ryujinx version
2023-03-03 19:58:50 +01:00
SS 0874e367c1
Add LDN/Tester reaction-roles select support in Ryujinx guild with Ryuko (#9)
* Add LDN/Tester reaction-roles select support in Ryujinx guild with Ryuko

* Fixed Mario Kart role name

* Add "How to remove reaction" message in embed

* 1) organised to classes 2) moved a message to embed footer
And start.sh is a file i will delete it later

* Footer

* Change emoji of Splatoon 2 (paintbrush => 🦑)

* Removed a test func

* Indian English, its not my problem

* Removed  attribute and use m.guild in handle_offline_reaction_*()

* More stricter type checking

* equal sign comma

Co-authored-by: Mary <thog@protonmail.com>

* Address Thog comment 1/?

* Address Thog comment 2/?

* bye bye start.sh (Address Thog comment 3/?)

* Fix a loop constant confusion

* Formated with

* A fix

* One more fix & added names loop variables

* Improve embed description once more

* Removed black bracket formatting

* add dynamic embed description

* Use the f strings

* Fix embed footer desc

* Added message editing on new game add, and generate embed in a seperate function

* Test

* added a comment

* Code refactor, bug fixes

* use get() for recieving role name

* Add pokemon/mario party superstars

* Embed changes

* Addded Pokemon BD/SP. Bruh how many games I will add in future.

* Fix P BD/SP.

Co-authored-by: choppymaster <>
Co-authored-by: Mary <thog@protonmail.com>
2023-03-03 19:58:50 +01:00
Mark 22f81b449b
Log reading improvements (#11)
* Added warnings for several settings:
- Expand DRAM hack
- Memory Manager Mode
- Ignore Missing Services
- Anisotropic Filtering set to not Auto
- Debug logs enabled
- New severity level for PPTC and Shader cache warnings

* Various fixes:
- Warn for outdated keys/firmware,
- Error snippet fix when no game boots
- Embed improvements
- Improve duplicate log upload tracking to link to last uploaded file

* Larger download header range, handle larger files.

* Move notes visibility to show on startup crash

* Added vsync disabled warning and dump hash error

* Clean up controller warning to declutter empty log message

* Add .NET 6 shader warning and genericise shader init error
2023-03-03 19:58:50 +01:00