Commit Graph

58 Commits

Author SHA1 Message Date
Adam Goldsmith 70d9d2779b Bump patch version to 0.1.5 2024-04-20 20:12:04 -04:00
Adam Goldsmith 4e127558fd Use `logging.info` instead of `print` 2024-04-20 20:07:53 -04:00
Adam Goldsmith bb6f56a50e Bump patch version to 0.1.4 2024-04-20 20:04:38 -04:00
Adam Goldsmith 71e23ec4c0 Don't try to track non-existant channels 2024-04-20 20:03:42 -04:00
Adam Goldsmith c476047b55 Bump dependencies 2024-04-20 20:03:32 -04:00
Adam Goldsmith 374648c19a Bump patch version 2023-09-05 18:34:24 -04:00
Adam Goldsmith ff48b83a4f Add placeholder to preserve `[tool.black]` section in pyproject.toml 2023-09-05 18:25:52 -04:00
Adam Goldsmith 47580e4fe3 Bump dependencies 2023-09-05 18:25:06 -04:00
Adam Goldsmith 47568e70bd Migrate from deprecated `pdm-pep517` to `pdm-backend` for build 2023-09-05 18:22:35 -04:00
Adam Goldsmith e92086f740 Bump minor version 2023-04-23 01:13:32 -04:00
Adam Goldsmith 3bc3ee420f Bump dependencies 2023-04-23 01:13:17 -04:00
Adam Goldsmith d8cc035fba Fix/simplify pyproject.toml for PDM 2023-04-23 01:11:56 -04:00
Adam Goldsmith e6b9c56468 Bump minor version 2022-09-11 00:04:39 -04:00
Adam Goldsmith 10c3b29517 Bump dependencies 2022-09-10 23:22:02 -04:00
Adam Goldsmith 7dbcc0f827 Don't fail when next_deck is not set on a deck 2022-09-10 23:21:16 -04:00
Adam Goldsmith 1ef48c6555 Remove unused import 2022-09-10 23:18:54 -04:00
Adam Goldsmith 4547b352a7 Bump discord.py to 2.0 release 2022-08-19 11:04:51 -04:00
Adam Goldsmith 02cf7024da Bump dependencies 2022-07-11 11:57:01 -04:00
Adam Goldsmith b9698fe213 Include guild name in channel permissions messages 2022-06-06 21:44:33 -04:00
Adam Goldsmith d58d56ff0e Re-enable periodic updates 2022-06-06 21:35:03 -04:00
Adam Goldsmith bbd899cdfb Create ArkhamDBClient in setup_hook instead of on_ready 2022-06-06 21:34:06 -04:00
Adam Goldsmith c429278cc8 Add adbupdate command to force an update without sending a message 2022-06-04 22:39:16 -04:00
Adam Goldsmith 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
Adam Goldsmith 7dadef6911 Use less generic command names and call correct methods for new discord.py 2022-06-04 22:39:02 -04:00
Adam Goldsmith 7d9f31ab6d Bump dependencies 2022-06-04 22:36:58 -04:00
Adam Goldsmith 144dcd509e Add invite URL and check for expected permissions 2022-06-04 22:36:58 -04:00
Adam Goldsmith 0adb6d32ff WIP: Initial attempt to make slash commands work 2022-06-04 22:17:51 -04:00
Adam Goldsmith 5d96211700 Include encounter cards when getting card information 2022-04-02 12:16:42 -04:00
Adam Goldsmith 8904d521cd Handle `deck["xp_spent"]` being None 2022-04-02 11:57:35 -04:00
Adam Goldsmith a018aeb1c3 Use logging module for informational prints 2022-03-14 13:40:43 -04:00
Adam Goldsmith bdb9387d91 Truncate long validation error message 2022-03-14 12:15:44 -04:00
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