Commit Graph

2654 Commits

Author SHA1 Message Date
f42e922696 Fix bug in Embed.__len__ caused by footer without text 2021-05-27 00:45:35 -04:00
f56543df15 [commands] Remove function call indirection when checking author 2021-05-25 20:53:44 -04:00
67aabc3230 Remove VerificationLevel aliases 2021-05-25 20:51:08 -04:00
36cf3c94b4 [commands] Remove Bot.self_bot 2021-05-25 20:46:26 -04:00
3b55573777 Fix minor typo in typing() docs 2021-05-25 02:23:14 -04:00
ac061c31fb Fix default hook signature
Since the hook function can be both bound and unbound
the bound signature needs to accept an extra argument
2021-05-25 02:22:21 -04:00
3c90f16bf0 Fix cached_slot_property typings again 2021-05-23 21:30:44 -04:00
3cb093c709 Add a note about overwriting in set_permissions 2021-05-23 05:08:15 -04:00
65439732b3 Add Discord Certified Moderator user flag 2021-05-23 05:07:33 -04:00
5acb3a62f8 Fix Webhook example 2021-05-23 03:42:37 -04:00
8e08bd6af2 Add vws message hook 2021-05-23 03:42:07 -04:00
cc8a86a4bd Improve the example for abc.Messageable.typing 2021-05-23 03:37:55 -04:00
71fe40aafa Consistent loop attribute description 2021-05-23 03:36:20 -04:00
42bab370a7 [commands] Add BadColorArgument to __all__ 2021-05-16 15:40:06 -04:00
81b259ab36 Fix sending arrays with nulls in them when changing presences 2021-05-16 07:15:53 -04:00
c896563af4 Fix Colour.fuchsia docstring typo 2021-05-15 20:00:35 -04:00
5ad88dec72 Change Colour.blurple to new one
This moves the old one to Colour.og_blurple.
2021-05-15 02:13:12 -04:00
42a538edda [tasks] Replace None check with MISSING check in task loop 2021-05-15 02:10:00 -04:00
ef6f5d947a [commands] Update command.parent and command.parents docs
* Switch root_parent from command to group
2021-05-15 02:09:37 -04:00
fb20c4c3d4 Update docs for (Partial)Message.publish to reflect the actual permissions needed 2021-05-15 02:08:16 -04:00
ee3e2944ba Add Colour.fuchsia and Colour.yellow 2021-05-15 02:07:45 -04:00
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
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
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