Commit Graph

27 Commits

Author SHA1 Message Date
Adam Goldsmith 83dfec3aa6 Use configargparse to accept discord token from env or config file 2022-03-14 11:58:17 -04:00
Adam Goldsmith dcab5b6b40 Add CLI argument for channel list json file 2022-03-14 11:57:13 -04:00
Adam Goldsmith 13cf739656 Add more metadata to pyproject.toml 2022-03-14 11:25:55 -04:00
Adam Goldsmith 877d0426a3 Handle null XP values 2022-03-14 03:00:34 -04:00
Adam Goldsmith 3b3962ec9a Add validator to check for overused cards 2022-03-14 02:53:47 -04:00
Adam Goldsmith fcbc077e9a Ignore __pycache__ directories 2022-03-14 02:03:20 -04:00
Adam Goldsmith e4deb176a9 Show deck problem, if there is one 2022-03-14 02:03:20 -04:00
Adam Goldsmith cba33c9470 Add/apply `black` formatter 2022-03-14 02:03:20 -04:00
Adam Goldsmith 16e3182d52 Improve typing annotations 2022-03-14 02:03:20 -04:00
Adam Goldsmith c6503b91af Add unspent XP to deck status text 2022-03-14 01:10:44 -04:00
Adam Goldsmith e535eb6bcf Add better typing for ArkhamDBDeck 2022-03-14 00:46:06 -04:00
Adam Goldsmith a091d2110e Migrate to PDM 2022-03-07 12:54:11 -05:00
Adam Goldsmith b2272f3af1 Update python_version to 3.10, bump dependencies 2021-12-24 10:19:23 -05:00
Adam Goldsmith 0a147407c1 Use typing indicator while updating 2021-05-09 09:58:31 -04:00
Adam Goldsmith cd7c979d10 Fix typo preventing reactive updates from working 2021-05-09 09:58:00 -04:00
Adam Goldsmith fab1483f18 Also react to message deletion, move shared event logic into method 2021-05-03 01:16:55 -04:00
Adam Goldsmith 37ac796c62 Change update time to one hour 2021-05-03 01:07:17 -04:00
Adam Goldsmith 81a083618d Close arkhamdb session in a more clean way 2021-05-03 00:48:34 -04:00
Adam Goldsmith 344c65398c Add a `forget` command to remove a channel from monitoring 2021-05-03 00:45:20 -04:00
Adam Goldsmith 196d69da51 Fix accidental deleting/updating of messages with no embed 2021-05-03 00:44:26 -04:00
Adam Goldsmith 480d234c0c Move channel list into ArkhamDBUpdater class 2021-05-03 00:44:26 -04:00
Adam Goldsmith fb0a4cec6c Use command.Bot for better commands/automatic help 2021-05-03 00:44:03 -04:00
Adam Goldsmith 727476112e Cleanly close aiohttp session on exit 2021-05-02 23:40:57 -04:00
Adam Goldsmith add2e0362a Pre-compile arkhamdb URL regex 2021-05-02 23:26:36 -04:00
Adam Goldsmith 4ba198c00e Move actual arkhamdb communication to its own class 2021-05-02 23:23:03 -04:00
Adam Goldsmith dfe4be1f6d Fix comparison to last message for determining if update required 2021-05-02 22:44:34 -04:00
Adam Goldsmith 3308f3c7f9 Initial Commit: Basic collection of deck ids, then posting the latest 2021-05-02 15:42:28 -04:00