Commit Graph

3103 Commits

Author SHA1 Message Date
9b4e820bbe Document Invite.inviter as optional 2021-05-12 20:34:44 -04:00
5fa64e83e0 Fix issues with imports causing NameErrors 2021-05-12 20:24:28 -04:00
124c4a3919 Add Template.url 2021-05-12 06:38:26 -04:00
ef22178dee [tasks] Type hint the tasks extension 2021-05-12 06:31:40 -04:00
f5727ff0d0 [tasks] fix regular task loops 2021-05-10 20:25:16 -04:00
757cfad38f Type up **kwargs of various methods 2021-05-10 20:24:48 -04:00
8bc489dba8 [tasks] Add support for explicit time parameter 2021-05-09 23:27:43 -04:00
8b2241916a Typehint Widget 2021-05-09 23:22:12 -04:00
d5e14eb715 [commands] Fix a minor grammar error in MaxConcurrencyReached 2021-05-07 07:38:44 -04:00
2a6d79078e [commands] Add GuildChannelConverter 2021-05-07 07:37:42 -04:00
7ebfface22 Explicitly ignore legacy file reference errors in sphinx -n mode 2021-05-06 09:12:19 -04:00
de965c2bf5 Simplify SnowflakeList type hints 2021-05-06 08:23:18 -04:00
2e12f6de9c Typehint File 2021-05-06 08:15:51 -04:00
3864fb37a0 Fix various reference issues in documentation
Co-Authored-By: Riley Shaw <30989490+ShineyDev@users.noreply.github.com>
2021-05-06 07:51:07 -04:00
1bf7aadf94 Typehint emoji classes 2021-05-05 23:48:36 -04:00
7bad27d215 Fix SnowflakeList typings 2021-05-05 23:33:11 -04:00
ca92f37f18 Fix typings in message.py 2021-05-05 23:05:15 -04:00
81004369dc Add Guild.fetch_channel 2021-05-05 14:26:33 -04:00
598057ee79 Add Permissions.manage_events 2021-05-05 14:16:39 -04:00
c31946f29f Type hint GuildChannel and don't make it a Protocol
This reverts GuildChannel back into a base class mixin.
2021-05-05 11:14:58 -04:00
7fde57c89a Type-hint object.py 2021-05-05 10:29:07 -04:00
c69b20c52c Type hint colour.py 2021-05-05 10:27:52 -04:00
6622be9f46 Make GuildChannel inherit Snowflake 2021-05-05 07:42:39 -04:00
63974ec46d Add discovery_splash and community field to Guild.edit 2021-05-05 07:30:54 -04:00
b32ad3de37 Fix AuditLogEntry.target being incorrect for bulk message delete
Fixes #6851
2021-05-04 22:03:20 -04:00
b82a0dc6fd [docs] remove mentions of bot only usability 2021-05-04 07:21:59 -04:00
1d4e339141 Add get_user to the things intents.members affects 2021-05-03 22:15:28 -04:00
dc67d2bd85 Replace uses of Ellipsis as sentinels with utils.MISSING 2021-05-03 00:31:07 -04:00
e3037b32d5 Add changelog for v1.7.2 2021-05-02 23:39:21 -04:00
2793fc06d5 Clarify Webhook.send return value documentation 2021-05-02 18:21:11 -04:00
cd7357b93a Add classproperty helper utility
This is apparently a 3.9+ only addition
2021-05-02 08:05:52 -04:00
b0ec22065e Add Client.create_dm 2021-05-01 13:16:57 -04:00
83611edb66 Fix supressing messages leading a 400 error
This only makes it so allowed_mentions are passed if the message is
authored by the bot itself.
2021-05-01 11:46:27 -04:00
135a7e9e5a Reformat message.py file 2021-05-01 09:54:19 -04:00
d940486552 Add types to PartialMessage 2021-05-01 09:48:37 -04:00
4c97b8efdd Fix typings for utils._parse_ratelimit_header
A CIMultiDict is not a Dict but a Mapping
2021-05-01 09:24:47 -04:00
60c1240849 Fix SyncWebhook exception case causing attribute errors 2021-05-01 09:24:40 -04:00
02e21a8905 Fix sending multipart data with SyncWebhook
Fixes #6825
2021-05-01 09:21:39 -04:00
3381d1e089 Add typings for message related classes 2021-05-01 08:51:13 -04:00
e762f55847 Add fetch_invite with with_expiration 2021-05-01 07:46:16 -04:00
4fcbe75d3b Fix guild application command endpoints 2021-05-01 07:44:23 -04:00
51df7496db Add AuditLogChanges.rules_channel/public_updates_channel 2021-05-01 06:47:22 -04:00
b705173676 Add types for ApplicationCommandPermissions & co 2021-05-01 06:46:26 -04:00
66b17f5afb Clarify ClientUser.verified docs 2021-04-30 19:12:40 -04:00
a8945b5784 Fix grammar in the Guild.edit docstring 2021-04-30 19:08:45 -04:00
1a8d63d54f [commands] Remove Flag related delimiter and prefix error 2021-04-30 03:29:44 -04:00
58274eafbc [commands] Fix Generics causing other typing converters to fail 2021-04-30 01:23:56 -04:00
7b8db49efe Fix utils.MISSING not evaluating to True in implicit bool contexts 2021-04-30 01:05:01 -04:00
3b6a2b9e85 [commands] Fix Generic subcalsses used as a converter 2021-04-29 02:43:54 -04:00
cbbd31cc9f fix AttributeError in Sticker.image 2021-04-29 02:16:55 -04:00