Commit Graph

47 Commits

Author SHA1 Message Date
d8cc035fba Fix/simplify pyproject.toml for PDM 2023-04-23 01:11:56 -04:00
e6b9c56468 Bump minor version 2022-09-11 00:04:39 -04:00
10c3b29517 Bump dependencies 2022-09-10 23:22:02 -04:00
7dbcc0f827 Don't fail when next_deck is not set on a deck 2022-09-10 23:21:16 -04:00
1ef48c6555 Remove unused import 2022-09-10 23:18:54 -04:00
4547b352a7 Bump discord.py to 2.0 release 2022-08-19 11:04:51 -04:00
02cf7024da Bump dependencies 2022-07-11 11:57:01 -04:00
b9698fe213 Include guild name in channel permissions messages 2022-06-06 21:44:33 -04:00
d58d56ff0e Re-enable periodic updates 2022-06-06 21:35:03 -04:00
bbd899cdfb Create ArkhamDBClient in setup_hook instead of on_ready 2022-06-06 21:34:06 -04:00
c429278cc8 Add adbupdate command to force an update without sending a message 2022-06-04 22:39:16 -04:00
2684d6083b Create aiohttp session in on_ready to avoid separate loops
Fixes `RuntimeError: Timeout context manager should be used inside a
task` errors when querying arkhamdb
2022-06-04 22:39:04 -04:00
7dadef6911 Use less generic command names and call correct methods for new discord.py 2022-06-04 22:39:02 -04:00
7d9f31ab6d Bump dependencies 2022-06-04 22:36:58 -04:00
144dcd509e Add invite URL and check for expected permissions 2022-06-04 22:36:58 -04:00
0adb6d32ff WIP: Initial attempt to make slash commands work 2022-06-04 22:17:51 -04:00
5d96211700 Include encounter cards when getting card information 2022-04-02 12:16:42 -04:00
8904d521cd Handle deck["xp_spent"] being None 2022-04-02 11:57:35 -04:00
a018aeb1c3 Use logging module for informational prints 2022-03-14 13:40:43 -04:00
bdb9387d91 Truncate long validation error message 2022-03-14 12:15:44 -04:00
83dfec3aa6 Use configargparse to accept discord token from env or config file 2022-03-14 11:58:17 -04:00
dcab5b6b40 Add CLI argument for channel list json file 2022-03-14 11:57:13 -04:00
13cf739656 Add more metadata to pyproject.toml 2022-03-14 11:25:55 -04:00
877d0426a3 Handle null XP values 2022-03-14 03:00:34 -04:00
3b3962ec9a Add validator to check for overused cards 2022-03-14 02:53:47 -04:00
fcbc077e9a Ignore __pycache__ directories 2022-03-14 02:03:20 -04:00
e4deb176a9 Show deck problem, if there is one 2022-03-14 02:03:20 -04:00
cba33c9470 Add/apply black formatter 2022-03-14 02:03:20 -04:00
16e3182d52 Improve typing annotations 2022-03-14 02:03:20 -04:00
c6503b91af Add unspent XP to deck status text 2022-03-14 01:10:44 -04:00
e535eb6bcf Add better typing for ArkhamDBDeck 2022-03-14 00:46:06 -04:00
a091d2110e Migrate to PDM 2022-03-07 12:54:11 -05:00
b2272f3af1 Update python_version to 3.10, bump dependencies 2021-12-24 10:19:23 -05:00
0a147407c1 Use typing indicator while updating 2021-05-09 09:58:31 -04:00
cd7c979d10 Fix typo preventing reactive updates from working 2021-05-09 09:58:00 -04:00
fab1483f18 Also react to message deletion, move shared event logic into method 2021-05-03 01:16:55 -04:00
37ac796c62 Change update time to one hour 2021-05-03 01:07:17 -04:00
81a083618d Close arkhamdb session in a more clean way 2021-05-03 00:48:34 -04:00
344c65398c Add a forget command to remove a channel from monitoring 2021-05-03 00:45:20 -04:00
196d69da51 Fix accidental deleting/updating of messages with no embed 2021-05-03 00:44:26 -04:00
480d234c0c Move channel list into ArkhamDBUpdater class 2021-05-03 00:44:26 -04:00
fb0a4cec6c Use command.Bot for better commands/automatic help 2021-05-03 00:44:03 -04:00
727476112e Cleanly close aiohttp session on exit 2021-05-02 23:40:57 -04:00
add2e0362a Pre-compile arkhamdb URL regex 2021-05-02 23:26:36 -04:00
4ba198c00e Move actual arkhamdb communication to its own class 2021-05-02 23:23:03 -04:00
dfe4be1f6d Fix comparison to last message for determining if update required 2021-05-02 22:44:34 -04:00
3308f3c7f9 Initial Commit: Basic collection of deck ids, then posting the latest 2021-05-02 15:42:28 -04:00