49 Commits

Author SHA1 Message Date
13xforever
d06f618b8d
add dmusage attribute to some commands 2025-03-25 13:15:37 +05:00
13xforever
d3d1570111
apparently you can only have 5 context menu commands per type 2025-03-24 20:38:52 +05:00
13xforever
b296790ff1
fix sudo commands, part 2 2025-03-23 17:20:08 +05:00
13xforever
c945b66ec8
fix sudo commands 2025-03-23 15:25:38 +05:00
13xforever
54e4f3a721
comment most of the broken stuff, so the project can be compiled 2025-03-12 12:53:35 +05:00
13xforever
06b375b972
update command structure and markup 2025-03-12 09:29:36 +05:00
13xforever
207f7dc57a
clean up usings 2025-03-08 07:01:28 +05:00
13xforever
5f039d3939
add global usings 2025-03-08 07:01:22 +05:00
13xforever
d6688fd0c4 clean up compiler warnings 2024-06-20 09:44:11 +01:00
Ilya
72dbc4074a
Some performance and code optimizations (#955)
* upgrade deps, remove wrong ppu hashes

* upgrade compiler packages

will require container pull after build

* replace Regex with compiler-generated versions

* use new collection initialization syntax

* configure global defaults for regex

* bump min amd driver version

fixes #950

* add macos version check

fixes #948

* fix #954 (!sudo log date)
2024-05-18 14:26:34 +01:00
13xforever
d957936ede
update code with new language and api features 2023-04-21 02:05:59 +05:00
13xforever
999764518e
fix breaking changes 2022-12-05 12:07:30 +05:00
13xforever
31fa962fc6 switch bot log to zip, which seems to work better under linux 2022-07-03 23:26:40 +05:00
13xforever
a1be9d3251 add max message content length constant 2022-07-03 20:36:13 +05:00
13xforever
b9d9d172d2 idk why linux is failing 2022-07-03 20:17:56 +05:00
13xforever
b01450c23f only perform db compaction once a month 2022-07-03 17:07:10 +05:00
13xforever
619f3550d3 try to fix unexpected end of deflate stream 2022-07-03 16:43:10 +05:00
13xforever
8eba7aba7f flush log before sending the copy 2022-07-03 16:22:46 +05:00
13xforever
26ed377040 add an option to only backup specific database 2022-07-03 16:18:11 +05:00
13xforever
c7710e894e add warning to the gen-salt command now that it's actually used 2022-06-30 17:09:08 +05:00
13xforever
9b1d1fd8c0 add hw.db backup 2022-06-30 16:48:38 +05:00
13xforever
92751ba6e9 use file-scoped namespaces to reduce nesting
some formatting might be fucked
2022-06-30 00:59:46 +05:00
13xforever
a5d780f03d clean up unused usings 2022-06-30 00:55:53 +05:00
13xforever
af32deb58e get proper attachment limits depending on the server boost level 2022-06-29 19:32:53 +05:00
13xforever
2a03d53603 switch to lzma and optimiza db before taking the backup 2021-05-12 21:14:51 +05:00
13xforever
f48304c660 replace built-in compression classes with sharpcompress
allows for specifying best compression ratio
2021-05-12 20:49:42 +05:00
13xforever
c41c264e42 replace .Respond() with .Channel.SendMessage()
this should fix all the issues that cropped up after the semantics change in recent library builds
2021-05-01 01:54:04 +05:00
13xforever
6a9309ee85 make fun commands more useful 2021-04-14 00:51:58 +05:00
13xforever
de39cb2c01 support message links in some !sudo commands 2021-04-14 00:44:22 +05:00
13xforever
44e4dce047 update dependencies 2021-01-24 02:41:32 +05:00
13xforever
54120b278c add an option to get older logs remotely 2021-01-09 14:57:27 +05:00
13xforever
6ad501590f fix resharper warnings 2020-11-14 15:58:16 +05:00
13xforever
610c01318a botupdate, part 2 2020-11-13 02:48:49 +05:00
13xforever
7f4fd3dee7 more telemetry events 2020-07-13 22:23:16 +05:00
13xforever
3d72857add command to get a backup of thumbs.db 2020-03-21 16:06:16 +05:00
13xforever
214a7e5a00 use RecyclableMemoryStream to reduce GC pressure 2019-12-06 16:04:47 +05:00
13xforever
eac6be7e23 refactor to use using statement whenever it makes sense 2019-11-25 18:07:01 +05:00
13xforever
15ed3a64fe update to c# 8.0 syntax, mostly for .Substring() 2019-11-06 03:45:31 +05:00
13xforever
e9c60086ee try to fix log path issues 2019-09-23 20:10:43 +05:00
13xforever
1b508e34f2 make compiler happy again 2019-08-19 16:53:30 +05:00
13xforever
c5617c2583 fuck vs, seriously 2019-02-27 03:39:45 +05:00
13xforever
60f8134e0f ... how? ... 2019-02-27 03:27:58 +05:00
13xforever
5b514f4102 try to fix this channel resolving issue again 2019-02-26 19:34:37 +05:00
13xforever
a3872c984a command to upload current log file 2019-02-24 17:27:08 +05:00
13xforever
6c139cacc8 rename BotShutupHandler
add some emoji fun
2019-02-01 18:37:55 +05: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
24040de62c I am dumb and this is not very obvious 2018-08-05 16:34:52 +02:00
13xforever
833fa16ca9 moved some stuff around to better reflect the code organization, hopefully 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