Commit Graph

162 Commits

Author SHA1 Message Date
13xforever
7fd7d09973 RPCS3 Compatibility Bot reimplemented in C# for .NET Core
RPCS3 Compatibility Bot reimplemented in C# for .NET Core

Current status of this PR:
* tested and targeted for .NET Core 2.1
* all functionality is either on par or improved compared to the python version
* compatibility with current bot.db should be preserved in all upgrade scenarios
* some bot management commands were changed (now under !sudo bot)
* standard help generator for the new discord client is ... different;
  compatibility with old format could be restored through custom formatter if needed
* everything has been split in more loosely tied components for easier extensibility and maintenance
* log parsing has been rewritten and should work ~2x as fast
2018-07-20 09:22:28 +02:00
13xforever
1709f445b4 oops, forgot this debug print() 2018-06-17 12:27:22 +02:00
13xforever
d5835739a6 show unknown user ids only in dms 2018-06-17 12:27:22 +02:00
13xforever
03daa484f9 fix reporter and reportee on adding a new warning
fix report generation in case reporter is no longer available
2018-06-17 12:27:22 +02:00
13xforever
b4635f51c0 print exceptions just in case 2018-06-17 12:27:22 +02:00
13xforever
f37e44f782 fix some type hinting 2018-06-17 11:40:22 +02:00
13xforever
f043028090 check moderated channel history on startup in case people were chatting while the bot was down 2018-06-17 11:40:22 +02:00
13xforever
8c369e0d60 make it so users can use !warn list on themselves, and only show warn details in DM for mods 2018-06-17 11:40:22 +02:00
13xforever
c49b3f391d fix starbucks moderation 2018-06-17 11:40:22 +02:00
13xforever
136fde04d4 Show explicit message when user doesn't have any warnings to their name 2018-06-17 11:40:22 +02:00
13xforever
d5d631371f fix saving warning on piracy trigger 2018-06-17 11:40:22 +02:00
13xforever
6bff5708c7 show only text names of warned users in public
show user ids in DM
2018-06-17 11:40:22 +02:00
13xforever
e9b0b971b9 fix multiline explanations 2018-06-17 11:40:22 +02:00
13xforever
fbcac892ef fixed reaction for denied commands 2018-06-17 11:40:22 +02:00
13xforever
850773ff44 implemented !explain command 2018-06-17 11:40:22 +02:00
13xforever
b1482efcde added reporter to the warning db
added db schema migrations with the new column and new index
fixed `except:` to use `except Exception:` instead
2018-06-17 11:40:22 +02:00
13xforever
e711407b23 add usage example for !warn 2018-06-17 11:40:22 +02:00
13xforever
134bf2fa74 warning support for unknown (banned / kicked) users 2018-06-17 11:40:22 +02:00
13xforever
a2d3f2070f add reactions to failed mod and sudo commands, and also log user names 2018-06-17 11:40:22 +02:00
13xforever
4d77a1ed1b implemented !warn list to list all users with warnings 2018-06-17 11:40:22 +02:00
13xforever
3ec520a243 add piracy trigger context logging 2018-06-09 10:38:38 +02:00
Roberto Anić Banić
eb0fe5af34 Anime stuff 2018-06-09 09:59:52 +02:00
Roberto Anić Banić
c0cdcada68 Implement warning system 2018-06-09 10:07:47 +02:00
13xforever
92c8839592 only append search query if report requires attention from moderators 2018-06-07 15:35:26 +02:00
13xforever
3cce43bf1f add piracy trigger to logs 2018-06-07 15:35:26 +02:00
13xforever
bedf736d36 Give GL RENDERER device higher priority to show correct device selected by the switchable graphics with OpenGL renderer 2018-06-07 15:35:02 +02:00
13xforever
7e109d6cbb Proper support for old and new format of OpenGL info 2018-06-07 15:35:02 +02:00
13xforever
7f818cebdb better buffer management 2018-06-07 15:35:02 +02:00
13xforever
59f5ef0aa6 Support logs with multiple runs
* Try to parse last run from the logs
* Optimized memory usage by flushing buffer every 256 KB
* Indicate if log was too large and parsed settings could reflect not the last run
2018-06-07 15:35:02 +02:00
13xforever
23a54a9cec Add new options to parsed data
* Aspect Ratio
* Force CPU Blit

Also fix some capitalization
2018-06-02 10:52:50 +02:00
13xforever
0dc3f09a6a use checkmarks instead of true/false
might be (?) less confusing for some users
2018-05-29 08:36:39 +02:00
13xforever
713e52ecd7 fix lib list when Manual lib loader is selected 2018-05-29 08:36:39 +02:00
Roberto Anić Banić
eded517871 UGH 2018-05-10 23:27:15 +02:00
Nicba1010
5129d68e15 Fixed a pretty bad piracy check bug 2018-05-09 09:10:38 +02:00
Ilya
65a819ac21 Do not fail when reporting empty messages with logs attached (#41)
* Do not fail when reporting empty messages with logs attached

Embed field cannot be empty, so just mention that it was log

* better reporting of attachments

* fml
2018-05-08 11:37:06 +02:00
Ilya
605b9cace6 this fixes log parsing for upcoming log format changes (#40) 2018-05-07 15:48:46 +02:00
Nicba1010
a09bbad1f3 piracy reports on in bot-log for pirated releases 2018-04-26 18:08:14 +02:00
Nicba1010
e8b3d4b7f2 Fix importance 2018-04-24 18:02:07 +02:00
Nicba1010
d14b0cc571 Zip support added 2018-04-22 11:16:48 +02:00
Nicba1010
e2b725d506 Removed auto delete and added actual logging 2018-04-21 00:27:49 +02:00
Nicba1010
c0de70c926 Implement auto delete in #media and #bot-spam by reacting with coffee emote, works for ppl with roles only. 2018-04-20 20:45:18 +02:00
Ilya
a3235f61ff New feature: os detection (#37)
* detect OS in logs

* Returned Frame Limit option in embed version of log, and moved detected OS around
2018-04-09 15:57:55 +02:00
Roberto Anić Banić
a175ef0ac4 Juhn-proof bot 2018-04-03 10:47:35 +02:00
Nicba1010
ed32e6051b Remove code limit in Direct Messages 2018-04-03 10:43:41 +02:00
Roberto Anić Banić
aff2b43066 Add !sudo restart (#36)
* Add !sudo restart

* Remove reference line

* Send via context instead of channel

* Hotfix

* Fix sudo say 1

* Remove debug print

* Bytes to string

* I cannot into bytes

* UTF8

* I still cannot into string
2018-04-03 10:35:48 +02:00
Roberto Anić Banić
02edb6ac0e Merge pull request #35 from 13xforever/hotfix/smol_fixes
Fix some shit that I broke or forgot to fix earlier
2018-04-03 09:46:17 +02:00
13xforever
c8e8492cc8 also fix !top 0 2018-04-03 02:00:56 +05:00
13xforever
54aa4d9ed0 Fix !compat results formatting
Fix !top without parameters
Use plain text for product code lookup when in maintenance mode to be less obnoxious
2018-04-03 01:47:28 +05:00
Roberto Anić Banić
f457104585 Merge pull request #34 from 13xforever/hotfix/maintenance
fix product code lookup when api is in maintenance mode
2018-04-02 21:22:25 +02:00
13xforever
59bd995ba2 use different yellow to be more distinct from compat statuses 2018-04-02 23:23:47 +05:00