Commit Graph

19 Commits

Author SHA1 Message Date
Lonami Exo
a62627534e Get rid of client.loop
Instead, use the asyncio-intended way of implicit loop.
2022-01-16 13:51:23 +01:00
Lonami Exo
dc0f978b59 Support await on any client.action 2022-01-16 12:40:09 +01:00
Lonami Exo
a95393648f Remove custom enum parsing
Python enums can already be parsed out-of-the-box.
2022-01-16 12:06:42 +01:00
Lonami Exo
03de901b7f Add enum for typing action 2022-01-09 12:18:15 +01:00
Lonami Exo
1c15375ea4 Fix get_participants was monkey-patching User
It no longer can do that. User has __slots__.
2021-09-28 21:06:00 +02:00
Lonami Exo
197a1ca996 Fix some modules were public when they should not have been 2021-09-26 19:58:42 +02:00
Lonami Exo
a9e1a574ae Fix limit was no longer defaulting to empty tuple
Introduced by 5a44510e2d.
When forwarding the calls, both signantures should match.
2021-09-26 18:37:09 +02:00
Lonami Exo
debde6e856 Completely overhaul errors to be generated dynamically 2021-09-24 20:12:00 +02:00
Lonami Exo
bf61dd32af Change the way iter_participants filters are specified 2021-09-18 14:16:19 +02:00
Lonami Exo
6e9ad9e31c Return correct total participant count when a filter is desired 2021-09-17 20:16:01 +02:00
Lonami Exo
1036c3cb52 Remove the aggressive hack from get_participants 2021-09-17 20:13:05 +02:00
Lonami Exo
e9f9994f4a Unify client.iter_* methods 2021-09-17 19:35:10 +02:00
Lonami Exo
943ad892f7 Address remaining uses of the Request suffix with raw API 2021-09-13 21:00:31 +02:00
Lonami Exo
334a847de7 Make custom.Message functional 2021-09-13 20:39:41 +02:00
Lonami Exo
499fc9f603 Move alltlobjects.py and fix imports 2021-09-12 16:58:06 +02:00
Lonami Exo
f222dc167e Fix imports 2021-09-12 13:27:13 +02:00
Lonami Exo
d48649602b Replace most raw API usage with new location 2021-09-12 12:16:02 +02:00
Lonami Exo
2a933ac3bd Remove sync hack 2021-09-11 14:06:36 +02:00
Lonami Exo
d6326abacb Rename client module as _client 2021-09-11 13:35:35 +02:00