curious
curious copied to clipboard
A curio/trio-based library for the Discord API
I want to add the ability to split a bot up into several co-ordinating parts. Essential processes: - [x] Add ContextVar support to curio (see: dabeaz/curio#254) - Trio already has...
Noted in my bot today: ``` Traceback (most recent call last): File "/home/eyes/.local/share/virtualenvs/Jokusoramame-25ROq1gv/lib/python3.6/site-packages/curious/commands/context.py", line 278, in invoke return await matched_command(self, *converted_args, **converted_kwargs) File "/home/eyes/bots/Jokusoramame/jokusoramame/plugins/autoprune.py", line 177, in report activity_data =...
This time, no PR, as I'm not yet sure what the correct way to handle it is. `handle_message_update` in State crashes when a private message is updated, because `make_message` tries...
Stuff like removing the client, making plugins more featureful, etc.
Adding setting protection (i.e. making dataclasses read-only for user code) is relatively trivial with a 567 flag and some decorators.
Some examples: - `Emoji.role_ids` - `Member.role_ids`
The unwrapping in 0.7.0 is kind of bootleg.