Commit Graph
11 Commits
Author SHA1 Message Date
Bryan ForbesandGitHub 79bae47992 flag_value should not be a generic class
Since there is no generic information in `flag_value.__init__()`, 
`flag_value` descriptors get stored as `flag_value[<nothing>]` in mypy
strict mode and then the `__get__` overloads never match. This leads to
errors when using things like `permissions_instance.embed_links` since
`<nothing>` never matches `Permissions`. 

The generic inheritance isn't needed at all since the type information
we care about comes from the call site of `__get__` and not the 
instantiation of the descriptor.
2021-08-18 01:05:08 -04:00
Bryan ForbesandGitHub c325918ae6 Only run main() if the module is being executed as a script 2021-02-28 23:33:18 -05:00
Bryan ForbesandGitHub 16e0adb315 [commands] Handle positional-only parameters in bot commands 2021-02-17 23:48:09 -05:00
Bryan ForbesandGitHub 80dd2c63c0 Fix Team.icon_url_as format argument default value 2020-11-28 19:58:48 -05:00
Bryan ForbesandGitHub d7aa18beed Extend __path__ with pkgutil to allow editable extensions 2020-08-07 01:11:20 -04:00
Bryan Forbes e2478b17c9 Bump aiohttp requirement and fix AsyncWebhookAdapter 2019-02-12 18:55:19 -06:00
Bryan ForbesandRapptz d7218259aa Call Http.start_group() in ClientUser.create_group() 2018-08-28 23:50:55 -04:00
Bryan ForbesandRapptz b6824c073e Ensure large guilds are properly appended to the ready state guild list 2018-08-28 23:50:55 -04:00
Bryan ForbesandRapptz b3bfec9119 Fix CallMessage.duration calculation 2018-08-28 23:50:54 -04:00
Bryan Forbes deda5c4e97 Fix behavior of reaction type-conversion 2018-08-25 14:38:19 -05:00
Bryan ForbesandRapptz ef89d3aa22 Add support for converters working with PEP-563 2018-08-22 21:53:47 -04:00