13xforever
e4a4ed4302
if requesting update info fails for specific build, use call without commit
2019-01-03 21:25:15 +05:00
13xforever
eba1b70fed
Use extra information from the new update info model
2019-01-03 21:16:07 +05:00
13xforever
ba75f23a84
change inspection for SPU Block Size to recommend Safe
2019-01-03 18:39:05 +05:00
13xforever
fce0860baf
update deps
2019-01-03 18:28:13 +05:00
Asinine
b78cdab3c0
Small changes to bot responses ( #144 )
...
* Update CompatBot/EventHandlers/LogParsingHandler.cs
Co-Authored-By: Asinin3
2019-01-02 21:53:15 +05:00
13xforever
4a8d477805
fix update info model
2019-01-01 19:24:14 +05:00
13xforever
b62a5ad0d8
do not advertised servers that weren't whitelisted
2018-12-10 21:29:33 +05:00
13xforever
2c98abd65c
fix log parsing result formatting
2018-11-26 20:55:54 +05:00
13xforever
fea811ff7f
more potential issues
2018-11-26 02:53:51 +05:00
13xforever
d4e1d0746e
let's try not to give false piracy warnings
...
also report empty messages with embeds better
2018-11-26 02:47:08 +05:00
13xforever
9d00f3d1fb
add alias for !sudo commands
2018-11-26 01:45:15 +05:00
13xforever
0653673204
emoji for Maru
2018-11-26 01:40:04 +05:00
13xforever
1ba6d5bb79
fixed !command abuse to post discord invites and piracy links
...
credit Maru for the pointer on how you can abuse the system
personalized embed experience for the most picky user
2018-11-26 01:34:23 +05:00
13xforever
5280f08692
squash the last remnants of resistance
2018-11-24 15:16:42 +05:00
13xforever
1f85e11385
Merge branch 'master' into vnext
2018-11-16 19:27:57 +05:00
13xforever
d584dc20d9
useless junk
2018-11-16 19:27:20 +05:00
Ilya
6cbb8436cd
Apply suggestions from code review
...
Co-Authored-By: MsDarkLow <msdarklow@gmail.com>
2018-11-16 01:39:26 +00:00
MsDarkLow
1bedbf552b
Update Misc.cs
2018-11-15 02:29:32 +00:00
MsDarkLow
05242bde30
Update Misc.cs
...
Added for 8ball:
- 6 Confirmation quotes (16 - > 22)
- 7 Negative quotes (11 -> 18)
Added a space between // and the number in 2nd 8ball comment
Added for Rate:
- 4 Positive Quotes (40 -> 44)
- 1 Negative Quote (25 -> 26)
2018-11-15 02:21:16 +00:00
13xforever
1233c1ecd8
lift restrictions a bit
2018-11-15 02:27:51 +05:00
13xforever
76e3b88e4f
more universal fix for this problem
2018-11-13 13:44:35 +05:00
13xforever
0042a42409
fun stuff
2018-11-13 04:37:13 +05:00
13xforever
21f9a3e2a1
update dependencies
...
fun stuff
2018-11-13 04:05:07 +05:00
13xforever
5d9ceb68af
wrong reaction, oops
2018-11-12 14:38:16 +05:00
13xforever
643e7bceac
try to explicitly refuse to answer
2018-11-12 14:37:12 +05:00
13xforever
9318b08919
manually trigger typing for !explain list
2018-11-12 14:34:15 +05:00
13xforever
ed7ed87d76
less spam when people refuse to read
2018-11-12 14:28:56 +05:00
13xforever
dd7a5bcba2
attempt to restart the bot on catastrophic failures
2018-11-12 13:28:52 +05:00
13xforever
ed1ad561e4
fix build
2018-11-09 21:21:21 +05:00
13xforever
4820445696
increase delay before checking for new builds in hopes of increasing the success rate
2018-11-09 20:54:53 +05:00
13xforever
8e6b998c5b
come to think of it, !latest cached is useless, just make !latest smarter
2018-11-08 22:43:56 +05:00
13xforever
194b0f8019
cache update info after restart if there was no new updates since last shutdown
2018-11-08 22:41:53 +05:00
13xforever
f39d5e7431
new command to show last known update information
2018-11-08 22:05:07 +05:00
13xforever
fee6ad6ed5
Merge remote-tracking branch 'upstream/master' into vnext
2018-11-08 16:46:07 +05:00
13xforever
3ab709522f
alias for !warn users
2018-11-08 16:45:53 +05:00
Ilya
cbdfd8914d
increased time interval between the normal new build checks
2018-11-08 14:09:36 +05:00
13xforever
e7c03beb4f
vs code plz
2018-11-06 22:40:01 +05:00
13xforever
ec86fce960
prevent searching for most special invisible symbols
2018-11-06 22:21:33 +05:00
13xforever
219196433a
update title info formatting for compat search results and embeds
2018-11-06 18:57:39 +05:00
13xforever
c283ae4ed2
fix driver version extraction from opengl version, again
2018-11-05 23:48:31 +05:00
13xforever
52262a8a5b
abort files check if no ird was found
2018-11-05 22:57:58 +05:00
13xforever
16f836b3f5
Ease up on the outdated build detection
...
Only note it if the build difference is too great (by default, older than 10 builds)
2018-11-05 22:49:21 +05:00
13xforever
cea0e04df7
Cross-reference 'sys_fs_open' failed messages with the corresponding ird
...
Resolves #90
2018-11-05 22:32:00 +05:00
13xforever
f71cd55438
Clean up 7z handler
2018-11-05 16:18:55 +05:00
13xforever
949a8cfc8e
Fix driver version extraction for OpenGL
2018-11-05 16:17:23 +05:00
13xforever
49a6e202dd
IRD downloads with local caching
2018-11-05 16:01:31 +05:00
13xforever
9c712375a3
Add game version to the results (for e.g. heavy rain)
2018-11-05 02:02:56 +05:00
13xforever
cd7a5dbf62
IRD lookup command
...
Resolves #89 bar local cache
2018-11-05 01:51:08 +05:00
13xforever
142f5861a0
Report number of found title updates
2018-11-03 16:35:31 +05:00
13xforever
77ff167b89
Limit full member list processing to one thread at a time
...
Also return results of spoofing checks as an attachments instead of spaming the channel
2018-11-03 16:32:05 +05:00
13xforever
9cd9d82d3d
More fixes to spoof checker
2018-11-03 00:11:27 +05:00
13xforever
3d5ae7be35
Update name spoofing audit command group
2018-11-02 23:39:23 +05:00
13xforever
ec288040bd
Detect when GPU/driver doesn't support OpenGL 4.3
2018-11-02 00:00:57 +05:00
13xforever
603cece57b
Support logs compressed with 7z
...
Fixes #98
2018-11-01 21:35:43 +05:00
13xforever
601e2a7c3e
Support logs compressed with RAR
...
Fixes #97
2018-11-01 21:02:05 +05:00
13xforever
a57c63864d
change log archive numbering to include date
...
also change some fun command descriptions
2018-11-01 18:11:30 +05:00
13xforever
f2c6c19a26
Detect game patches being applied
2018-10-28 20:06:53 +05:00
13xforever
0f819028b0
Detect disc games installed as a pkg
2018-10-28 16:46:47 +05:00
13xforever
ed8a3b6ec4
Link bot spam channel in !explain
2018-10-28 16:46:34 +05:00
13xforever
66595ba281
some fun
2018-10-28 15:42:32 +05:00
13xforever
855a8385ba
Ignore TTY.LOG uploads
2018-10-28 14:56:19 +05:00
13xforever
01cb88c16a
Show prompt for unsupported log archive types
...
Fixes #88
2018-10-28 14:51:26 +05:00
13xforever
d9b46c025a
XAudio2 issues diagnosis
...
Fixes #106
2018-10-28 14:33:25 +05:00
13xforever
6d56e0a729
update dsharpplus packages
2018-10-28 14:06:33 +05:00
Ilya
8000d49d73
Merge pull request #105 from 13xforever/feature/anti-mod-spam
...
Reduce moderation spam from bot
2018-10-23 01:23:07 +05:00
Ilya
0e7c5dffdd
Update CompatBot/Commands/Misc.cs
2018-10-23 01:21:38 +05:00
Ilya
dec92fbd19
Update CompatBot/Commands/Misc.cs
2018-10-23 01:21:28 +05:00
13xforever
9588713424
mention that you can still see the full warning list in bot dms
2018-10-23 00:33:18 +05:00
13xforever
49dbd209a6
Show total warning count if the output was abridged
...
Also always show full warning list if it was requested by a whitelisted role
2018-10-23 00:24:17 +05:00
13xforever
19a1b74721
The man has spoken, so TGE is now 🙃
2018-10-22 22:48:44 +05:00
13xforever
b5dce03799
credit TGE for issue #5 according to the #donors poll
2018-10-22 22:40:31 +05:00
13xforever
da663bbde8
Reduce spam for name spoofing log
...
Should fix #102
If more than 3 users change their display name to the same value, ignore it for an hour since the last detected change
2018-10-22 22:32:10 +05:00
13xforever
780e43cd3e
!explain shouldn't be case-sensitive
...
Fixes #101
2018-10-22 21:50:07 +05:00
13xforever
06c7725798
Reduce moderation spam for suicidal users
...
Fixes main points of issue #87
* do not respond with anything if more than 3 warnings were issued during the last 15 minutes
* list only 3 most recent warnings in the public channels
2018-10-22 21:45:53 +05:00
Roberto Anić Banić
53fcd00173
Credit where credit is due
...
About time
2018-10-21 18:11:54 +02:00
13xforever
a23b376195
Fix potential issues with psn scraper
2018-10-08 21:35:42 +02:00
13xforever
6e37e9920f
various fixes and log notes
2018-10-08 21:35:42 +02:00
13xforever
91038fd7f7
Don't use internal discord client logging now that we have a proper solution
2018-10-06 12:03:09 +02:00
13xforever
71467d2f07
Change default log location to the project root after testing
2018-10-06 12:03:09 +02:00
13xforever
309456d742
Bump min log level to INFO for release configuration
2018-10-06 12:03:09 +02:00
13xforever
902a9dd48b
Add a note for games that have multiple update pkgs
2018-10-06 12:03:09 +02:00
13xforever
0bc1e641d2
implemented persistent logging
...
by default config parameter `LogPath` is set to `logs/bot.log`
2018-10-06 12:03:09 +02:00
13xforever
ab7011e9db
update packages
2018-10-06 12:03:09 +02:00
13xforever
3a3b4cda66
Change !explain list message a bit to reduce spam from noobs
2018-10-06 12:03:09 +02:00
13xforever
605a5c67be
Swallow all exceptions in async void methods
...
Otherwise an uncaught exception will terminate the whole process :(
2018-10-06 12:03:09 +02:00
13xforever
eef13b3d01
Check for permissions to look at the channel message history
2018-09-20 19:27:06 +02:00
13xforever
fb46bc95c3
Apparently you can't spell Corporation without ATI
2018-09-18 18:09:11 +02:00
13xforever
cdfb3c3cf0
fixed amd driver version mapping for opengl
...
I swear, one day I'll get it all right at the same time
2018-09-16 14:01:38 +02:00
13xforever
f12f3a236f
fix (?) potential exception when reporting the piracy to bot log
2018-09-16 14:01:38 +02:00
13xforever
58d437e1cc
change wording for Giga SPU Block Size note
2018-09-14 11:58:07 +02:00
13xforever
587dd1fc6c
fix nvidia driver version formatting in some cases
2018-09-14 11:58:07 +02:00
13xforever
4819e795f4
thanks, AMD
2018-09-14 11:58:07 +02:00
13xforever
1b94c28597
use explicit formatting to avoid guild mentions
2018-09-13 22:00:10 +02:00
13xforever
a03458d9d3
explicitly show username#discriminator and nickname
2018-09-13 21:48:10 +02:00
13xforever
5f2f52082e
!audit spoofing
...
checks every user for potential name spoofing
2018-09-13 21:35:53 +02:00
13xforever
59342a40ec
use compact updat info format
...
remove update links from log parsing result
2018-09-13 21:35:53 +02:00
13xforever
5a3ed39b4e
detect encrypted or corrupted disc dumps
2018-09-13 21:35:53 +02:00
13xforever
337a2c6be0
new log issue detections
...
* giga spu block size
* corrupted rap files
2018-09-13 21:35:53 +02:00
13xforever
ca88dfd014
user name spoofing monitoring
2018-09-13 21:35:53 +02:00
13xforever
393194aab4
some config comments
2018-09-13 21:35:53 +02:00
13xforever
47881811a0
well, I am stupid
2018-09-13 21:35:53 +02:00
13xforever
76d68d3da6
...
2018-09-13 21:35:53 +02:00
13xforever
4bca3eea25
add optional comment to the report
2018-09-10 16:56:52 +02:00
13xforever
d58edb803c
prevent reporting abuse
2018-09-10 16:56:52 +02:00
13xforever
23d4071555
!report message
2018-09-10 16:56:52 +02:00
13xforever
598a6e2c0f
trigger update check on successful build announcement
2018-09-10 16:56:52 +02:00
13xforever
419d126366
reduce log result size if there are N/A settings
2018-09-10 16:56:52 +02:00
13xforever
a8ddf3f463
periods or no periods, that's the question
2018-09-10 16:56:52 +02:00
13xforever
c7b9bb86d9
indicate os in the first line of the build info
2018-09-10 16:56:52 +02:00
13xforever
cb0152e998
swallow TaskCancelledException in threads
2018-09-10 16:56:52 +02:00
13xforever
481958aba3
some diagnostics to see why it doesn't work on main server
2018-09-09 10:50:48 +02:00
13xforever
7930121134
if server is unknown, leave it
2018-09-08 17:42:37 +02:00
13xforever
90c0314bca
don't crash if something gone wrong with the guild
2018-09-08 17:30:56 +02:00
13xforever
f9836f56d7
persist update check state
2018-09-08 17:17:38 +02:00
13xforever
3be1ce44bf
Post new RPCS3 update announcements in #compatbot
2018-09-08 17:17:38 +02:00
13xforever
c3a23682e1
swallow 404 errors when checking for covers on gametdb
2018-09-08 17:17:38 +02:00
13xforever
96999f9175
Show alternative game title in product info embed
...
Show game title from the logs if available
Link PR and game wiki page when available
2018-09-08 17:17:38 +02:00
13xforever
5139a0d4ed
only use #compatbot when not in DM
2018-09-08 17:17:38 +02:00
13xforever
581bdfe4f8
limit !warn list users
2018-09-08 17:17:38 +02:00
13xforever
6fcfdef2c6
fix !rate 1
2018-09-08 17:17:38 +02:00
13xforever
7f8e0644e6
fix !top amount and searching for Persona games
2018-09-08 17:17:38 +02:00
13xforever
9c8a73b5a6
more notes and suggestions
2018-09-08 17:17:38 +02:00
13xforever
c36330c4b7
Dedicated Settings detections
2018-09-08 17:17:38 +02:00
13xforever
badff7b495
fix disc inside /game/ detection
...
fixes false positive when launching the game through patch/dlc 🙄
2018-09-08 17:17:38 +02:00
13xforever
672d36f1d4
fixes for showing AMD driver versions
2018-09-08 17:17:38 +02:00
13xforever
4839792879
fix vulkan driver version for intel and nvidia
2018-08-29 22:57:15 +02:00
13xforever
0ed01739c1
for some reason pipe reader decided to break on advance with specified examined position
...
also updated some deps
2018-08-29 20:43:36 +02:00
13xforever
064beedc30
vulkan driver version decoding
2018-08-29 20:31:36 +02:00
13xforever
9fc1282c90
fix exception in GameTdbScraper
2018-08-29 20:31:36 +02:00
13xforever
18b16ab992
scrape for game-related content as well
2018-08-29 20:31:36 +02:00
13xforever
050e761d8f
fix channel name resolution in warnings
2018-08-19 21:13:57 +02:00
13xforever
8644811efe
allow invite links without the protocol
2018-08-19 21:13:57 +02:00
13xforever
5e62feed7f
oops, leftovers from debugging
2018-08-19 13:59:31 +02:00
13xforever
1a50bbc608
rate limits on meme commands instead of hard channel limit
2018-08-19 13:59:31 +02:00
13xforever
3a35125573
GameTDB thumbnail provider
2018-08-19 13:59:31 +02:00
13xforever
2e996fa9a9
show invite links in dm
2018-08-19 13:59:31 +02:00
13xforever
0956410d69
game title scraping from gametdb
2018-08-19 13:59:31 +02:00
13xforever
176d5ab919
oops, this is no longer needed to be disabled
2018-08-19 13:59:31 +02:00
13xforever
a74700b5dc
add discord.me filtering
2018-08-19 13:59:31 +02:00
13xforever
8e8dce42c5
remove region filters for !top
2018-08-19 13:59:31 +02:00
13xforever
9a86cd8940
discord invite filtering
...
also updated how reporting works, with more levels of urgency
updated discord client
various fixes
2018-08-19 13:59:31 +02:00
13xforever
8f6eed45dd
new command to scrape psn by full content id; useful for delisted games
2018-08-19 13:59:31 +02:00
13xforever
e479772d4c
more command aliases
2018-08-14 20:46:59 +02:00
13xforever
9c38bee898
Detect an issue with pad initialization and native ui
2018-08-14 20:46:59 +02:00
13xforever
6c4a9cc7b0
add a timeout to log parsing
2018-08-14 20:46:59 +02:00
13xforever
7ef0d45333
oops, don't break single-page results
2018-08-14 20:46:59 +02:00
13xforever
0be538bc8a
fix game updates check for games that has more than 25 patches available
2018-08-14 20:46:59 +02:00
nitrohigito
25560ecfbb
final final final edit
...
this is all very important
trust me on this one
2018-08-12 12:59:21 +02:00
nitrohigito
b00dc957a4
final final edit
...
but a different one at that
2018-08-12 12:59:21 +02:00
nitrohigito
f2e7fcae5d
final edit
...
99.99% chance im not changing this again
2018-08-12 12:59:21 +02:00
nitrohigito
fb9008b15f
minor edit
2018-08-12 12:59:21 +02:00
nitrohigito
3c9aef7cc8
major, world-changing fixes
2018-08-12 12:59:21 +02:00
13xforever
6dd2d8db1e
do field paging in log parsing results
...
also cap report for missing licenses to 10 items max
2018-08-11 23:02:34 +02:00
13xforever
efdf8f9117
note on resolution in log results
2018-08-11 23:02:34 +02:00
13xforever
7dac7bacf2
actually, we need to remove the most recent message, not the oldest; I'm dumb
2018-08-11 16:09:09 +02:00
13xforever
5205fe184c
delete last bot message if told to shut up
2018-08-11 16:00:58 +02:00
13xforever
7ffd507b5e
fix extracting enabled library list
...
limit simultaneous log parsing to half the cores instead of N-1
2018-08-11 16:00:58 +02:00
13xforever
6f70baf0bf
let's fix this performance issue with log parsing blocking all the event processing
2018-08-08 22:37:27 +02:00
13xforever
d36418f191
even more answers
2018-08-07 01:16:08 +02:00
13xforever
79b84e5485
a couple of new responses for meme commands, and also restricted to spam channel
2018-08-07 01:16:08 +02:00
13xforever
b08587b04e
use built-in jump link generator instead of manual string formatting
...
some fun stuff
2018-08-07 01:16:08 +02:00
13xforever
674ea98969
show that no game updates available inside the same embed
2018-08-07 01:16:08 +02:00
13xforever
d924cda609
make links shorter in update checker, so they won't get all wonky if we have thumbnail for the game
2018-08-06 09:11:34 +02:00
13xforever
67a7d20c11
send a message explaining that the command is restricted to a specific channel
2018-08-06 09:11:34 +02:00
13xforever
2ac9f90b57
this was stupid
2018-08-06 09:11:34 +02:00
13xforever
2c1fa76266
ThumbnailSpamId for main server
2018-08-05 20:54:36 +02:00
13xforever
998c27c966
scrape only full game lists in PSN stores, also cache title names
...
new isssue detections for log parser
consistent reaction with emoji only / text when can't
ability to disable commands at runtime (fixes #56 )
command to check for game updates
various other bugfixes
2018-08-05 20:54:36 +02:00
13xforever
fbad33ea13
implemented some rudimentary psn api client
...
implemented psn crawling for ps3 game metadata (mostly for thumbnails)
implemented game thumbnails for game embeds
fixed usage of dbcontext
some other bugfixes
2018-08-05 20:54:36 +02:00
13xforever
24040de62c
I am dumb and this is not very obvious
2018-08-05 16:34:52 +02:00
13xforever
e1cecc2ee6
fix autoupdating in case it failed
2018-08-05 16:34:52 +02:00
Ilya
28d093cc68
Fixed the permissions for !explain add
2018-07-30 09:44:14 +02:00
13xforever
710d902210
seriously, discord, you need to chill
2018-07-25 15:14:54 +02:00
13xforever
7b4dbdfb5e
fix !warn list argument descriptions
2018-07-25 15:14:54 +02:00
13xforever
d7c1af3995
also whitelisted roles for log results with detected piracy string
2018-07-25 15:14:54 +02:00
13xforever
86afa1cc8d
missing rap in random pasted log snippets
2018-07-25 15:14:54 +02:00
13xforever
d51a666b04
Detect missing rap files
2018-07-25 15:14:54 +02:00
13xforever
89f58e2201
use role whitelist for piracy checks
2018-07-25 15:14:54 +02:00
13xforever
2bf9221a53
fix log parsing results for recent discord client update
2018-07-25 15:14:54 +02:00
13xforever
7d8c9aeec5
fix os detection in some multirun logs
2018-07-25 15:14:54 +02:00
13xforever
6c48a76005
fml... ignore case on piracy checks
2018-07-23 09:58:43 +02:00
13xforever
b2e0416e58
fix piracy check in log
2018-07-20 21:07:54 +02:00
13xforever
ae9fea4785
fixed the issue where manual library selection was selected, but no library was checked
2018-07-20 20:57:16 +02:00
13xforever
5a0c7c75ed
fix channel converter
2018-07-20 20:57:16 +02:00
13xforever
f42d0fc962
some fatal errors take two lines
...
would be better to match until the next dot, BUT for some reason I couldn't make it match
2018-07-20 20:57:16 +02:00
13xforever
cfa5bad006
make explain list sections uppercase for better contrast
2018-07-20 20:57:16 +02:00
Ilya
0a537fc753
Enabled cooldown on !explain to prevent accidental spamming
2018-07-20 20:57:16 +02:00
13xforever
a4c24e516e
apparently commit hashes in filenames and in log could have different prefix length
2018-07-20 20:57:16 +02:00
13xforever
311e9dd683
when pasting from the UI, there're no dots :(
2018-07-20 09:22:28 +02:00
13xforever
9642da031e
why the heck not
2018-07-20 09:22:28 +02:00
13xforever
833fa16ca9
moved some stuff around to better reflect the code organization, hopefully
2018-07-20 09:22:28 +02:00
13xforever
6d3ac6c767
fml
2018-07-20 09:22:28 +02:00
13xforever
9e428e11ca
some minor text changes
2018-07-20 09:22:28 +02:00
13xforever
4aa629f685
when checking if we've been asked to cool it, limit the history check pretty much only by time
2018-07-20 09:22:28 +02:00
13xforever
4822b01ed8
do not suggest uploading full logs to users with any role
2018-07-20 09:22:28 +02:00
13xforever
a1ecb592dc
fix channel mention on adding a new warning
2018-07-20 09:22:28 +02:00
13xforever
14462d7bed
command to fix channel mentions in warnings
2018-07-20 09:22:28 +02:00
13xforever
0b09056c5e
command to fix warning timestamps for older records
2018-07-20 09:22:28 +02:00
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