61 Commits

Author SHA1 Message Date
13xforever
48fb3fcd5b
fix all the places where database is actually open for modification 2025-03-29 08:47:19 +05:00
13xforever
1a9359d863
switch to AsyncReadWriteLock to support async/await 2025-03-27 14:59:26 +05:00
13xforever
55f45457a2
use read/write locking for sqlite to fix Error 5: 'database is locked' 2025-03-27 12:20:33 +05:00
13xforever
9cf176b47e
update "Check for updates" button on game info embed in spam channel
you can now copy/paste new bot command and it should just work
2025-03-26 06:46:11 +05:00
13xforever
3a804478e5
allow all psn commands in dms for now 2025-03-25 17:43:22 +05:00
13xforever
e2d38dacd3
fix psn check commands in DMs 2025-03-25 17:36:46 +05:00
13xforever
77504c8853
update AllowDMUsage on some commands 2025-03-25 15:42:45 +05:00
13xforever
d06f618b8d
add dmusage attribute to some commands 2025-03-25 13:15:37 +05:00
13xforever
12b733633f
fix warns, part 2 2025-03-25 12:58:04 +05:00
13xforever
d4aeffc0ea
fix psn commands 2025-03-23 11:19:25 +05:00
13xforever
699016ce9d
fix misc commands 2025-03-22 12:42:39 +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
29c2bef51a
update namespaces and some enums 2025-03-09 11:40:00 +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
c9a5c4c0f8 move hardcoded bot image resources to config 2025-03-03 18:26:40 +00: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
d130b2f501
upgrade d#+ client and update event handlers to keep the ordering where necessary 2023-04-15 19:39:51 +05:00
13xforever
61f3e78baa move warning for multi-pkg updates and make it more explicit 2022-07-05 16:28:16 +05:00
13xforever
ebbbbd0b0b move stuff around 2022-07-05 14:47:47 +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
a35b5f93ac add yet another hack to workaround new client library breakage 2021-06-15 20:37:49 +05:00
13xforever
f5f2be89df <:sqvat:850718998605070348> 2021-06-05 17:58:13 +05:00
13xforever
31f1b99961 add reply for psn check update results 2021-06-05 17:49:38 +05:00
13xforever
2e04988b5b clean up old messages when user answered with text 2021-06-04 21:26:29 +05:00
13xforever
4e8f070959 reuse messages to reduce the number of api calls 2021-06-03 23:48:05 +05:00
13xforever
eef13f9a4a namespace button interactions for future 2021-06-03 23:17:11 +05:00
13xforever
7812ed404d improve !psn check updates for smoothbrains + buttons! 2021-06-03 22:52:19 +05:00
13xforever
dcb74a9a6f update some code style and refactor small helper for future use 2021-05-01 02:17:19 +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
68cd8aaeb6 limit !psn check updates to spam channels 2021-04-16 00:16:28 +05:00
13xforever
bf440604e2 implement persistent psn title update api response cache 2021-04-15 00:01:48 +05:00
13xforever
1c915e05b5 use await using where appropriate 2020-11-14 15:25:20 +05:00
13xforever
24f63858e0 replace object initialization with the new() 2020-11-14 14:33:29 +05:00
13xforever
610c01318a botupdate, part 2 2020-11-13 02:48:49 +05:00
13xforever
949b6c2b29 update 3rd party dependencies
azure computervision 5.0 -> 6.0
2020-10-27 01:08:55 +05:00
13xforever
284bc51f6d remove psn scraping and related code now that web store redesign is live 2020-10-27 00:30:56 +05:00
13xforever
8d6930954c fix the breakage after package update 2020-06-02 18:19:25 +05:00
13xforever
742c81fe86 announce new PS3 fw versions 2020-03-31 10:20:15 +05:00
13xforever
ad62f78b29 handle latest build rollback from update api 2020-03-28 22:48:43 +05:00
13xforever
15ed3a64fe update to c# 8.0 syntax, mostly for .Substring() 2019-11-06 03:45:31 +05:00
13xforever
ca0048c95a implement check for ps3 firmware update 2019-08-28 21:29:39 +05:00
13xforever
1b508e34f2 make compiler happy again 2019-08-19 16:53:30 +05:00
13xforever
0760948901 note for disconnected input devices 2019-06-06 10:16:24 +05:00
13xforever
1a42b68d32 ignore commands in !psn check updates when called with invalid code first 2019-04-22 17:25:33 +05:00
13xforever
412808cda1 update deps, fix broken stuff for the changed api calls 2019-04-20 17:56:16 +05:00
13xforever
e0aa6110b9 fix potential issues with interactive stuff where it could pick up messages from another channel 2019-03-06 21:24:26 +05:00
13xforever
dca59dbaa9 !download command to search for games 2019-03-05 21:04:19 +05:00
13xforever
4747081433 differentiate between no patches and unknown game 2019-03-05 05:12:51 +05:00