Commit Graph
3182 Commits
Author SHA1 Message Date
MaselkovandGitHub baa1ab058b Add an optional seed parameter for Colour.random 2021-03-28 06:28:35 -04:00
Rapptz 8657edfc99 Fallback to empty string for unavailable guild __str__ 2021-03-25 09:11:00 -04:00
Rapptz 5cb5126548 Make Attachment hashable and castable to str 2021-03-25 09:08:22 -04:00
pikaninjaandGitHub 5a93e80e87 Implicitly cast Embed construction parameters to str 2021-03-24 23:13:57 -04:00
Rapptz 1c8d1b0289 Recreate aiohttp.FormData objects during request retries
Fixes #6531
2021-03-24 08:50:34 -04:00
Rapptz 0b19fabbf0 Remove deprecated uses of about 2021-03-24 08:36:53 -04:00
Rapptz 9af99d2634 Update issue template 2021-03-24 08:35:41 -04:00
Colin RandGitHub a6c5b04142 Clarify docs to state that on_reaction_remove requires Intents.members 2021-03-24 08:25:12 -04:00
Sebastian LawandGitHub a131e11c5e [commands] fix documented type for Command.checks 2021-03-24 08:24:14 -04:00
Sebastian LawandGitHub a06d00f554 Make await text appear in async Member method docs 2021-03-24 08:22:50 -04:00
Alex NørgaardandGitHub 456a5dfa59 Update create_dm documentation to say it's a coroutine 2021-03-24 08:19:05 -04:00
Nadir ChowdhuryandGitHub 8d66ced02c [docs] Conveter -> Converter 2021-03-24 08:18:11 -04:00
z03handGitHub fbb7ac6be1 Add roles to guild.estimate_pruned_members 2021-03-24 08:17:34 -04:00
jack1142andGitHub caa3b4e8f4 [commands] Include group args in command signature 2021-03-24 08:16:23 -04:00
Arnav JindalandGitHub bd29795f92 [docs] Grammar fixes for intents.rst 2021-03-24 08:13:42 -04:00
Steve CandGitHub 7836046621 Mark User.avatar_url as attribute in Intents.members docstring
The line currently comes out to 
`User.avatar (User.avatar_url() and User.avatar_url_as())` 
but `User.avatar_url` is not callable.
2021-03-13 01:47:06 -05:00
Sebastian LawandGitHub a30a694e36 [commands] fix Context.channel property documented type 2021-03-13 01:46:31 -05:00
Nadir ChowdhuryandGitHub 7d345e8e4e remove trailing whitespace 2021-03-13 00:42:25 -05:00
Nihaal SanghaandGitHub a3f700c11f Fix references to snowflakes being max 21 long 2021-03-02 19:04:03 -05:00
Nadir ChowdhuryandGitHub d01500bccd Fix typo with guild_discovery_grace_period_final_warning 2021-03-02 06:45:24 -05:00
TheOneMusicandGitHub 259c3909a8 Fix Permissions.all_channel documentation to link attributes 2021-03-01 08:57:28 -05:00
Nadir ChowdhuryandGitHub 31bbf7434b Allow AuditLogEntry to be Hashable 2021-03-01 08:55:53 -05:00
Rapptz 4c4d75dc29 Disallow empty sequences in Guild.query_members user_id parameter 2021-02-28 23:56:14 -05:00
Sebastian LawandGitHub a2730a32dc Add guild_id attribute to RawMessageUpdateEvent 2021-02-28 23:55:37 -05:00
Sebastian LawandGitHub f7a4bef4ff [tasks] remove redundant condition in Loop.next_iteration
self._task is only None if the Loop has never been started before, 
which means None should be returned always, regardless of how
many seconds was passed into the constructor

this didn't break anything before because self._next_iteration will
be None as well if self._task is None.
2021-02-28 23:54:44 -05:00
xPolarandGitHub 6c40e3b837 Update docs for discord.Invite.max_uses
This mentions the unlimited uses aspect.
2021-02-28 23:35:05 -05:00
Bryan ForbesandGitHub c325918ae6 Only run main() if the module is being executed as a script 2021-02-28 23:33:18 -05:00
TheOneMusicandGitHub 9c52432274 Update permission class methods to match Discord UI 2021-02-28 23:30:08 -05:00
Nadir ChowdhuryandGitHub 63ec23bac2 Code optimisations and refactoring via Sourcery 2021-02-24 21:26:51 -05:00
Nadir ChowdhuryandGitHub e090ee4308 Fix NameError with invoked_parents 2021-02-24 21:15:10 -05:00
SuzuZusuandGitHub b903066e4d Allow for callable class factories in abc.Connectable.connect 2021-02-24 21:14:42 -05:00
sudosnokandGitHub 01d8502c83 [commands] Added tribool behaviour to HelpCommand.verify_checks 2021-02-24 05:40:35 -05:00
Sebastian LawandGitHub 2f15e7d8e4 fix mention_author in send causing unexpected allowed mentions 2021-02-24 03:06:44 -05:00
ArthaxeresandGitHub 53bf1919c7 Fix docstring for Guild.create_role 2021-02-24 02:06:02 -05:00
Nadir ChowdhuryandGitHub fb773dc1dd Add remaining template endpoints 2021-02-23 03:58:03 -05:00
Nadir ChowdhuryandGitHub 6f748e5da5 Add remaining v6 message types 2021-02-23 03:57:11 -05:00
Alex NørgaardandGitHub 7f05f7f6c0 Add converter example 2021-02-23 03:54:31 -05:00
Sebastian LawandDanny 48b748e340 [commands] properly assign ctx.invoked_with with ctx.
resolves #6461
2021-02-23 03:39:08 -05:00
Sebastian LawandDanny 1afc127458 [commands] Add Context.invoked_parents 2021-02-23 03:39:08 -05:00
Nadir ChowdhuryandGitHub 427e387a2f Deprecate non-bot methods 2021-02-23 03:36:37 -05:00
Kaylynn MorganandGitHub 1cbc537734 [commands] Allow relative paths when handling extensions 2021-02-23 03:29:04 -05:00
Sebastian LawandGitHub cc55a28be5 Fix typo in Guild.fetch_member docs 2021-02-22 08:51:34 -05:00
Rapptz abfc07f968 Fix up previous PR mistake with intentional backslashes 2021-02-21 07:35:31 -05:00
Sebastian LawandGitHub a0c1d6f6c5 Fix backslashes showing up in the docs 2021-02-21 07:32:11 -05:00
Sebastian LawandGitHub ceab8ff638 [tasks] make __call__ actually appear in the docs 2021-02-21 07:19:10 -05:00
Nadir ChowdhuryandGitHub 6c08f3d344 Add "Secret" channel/emoji example 2021-02-21 00:16:37 -05:00
MayaandGitHub 66b834b332 Document BanEntry 2021-02-21 00:12:30 -05:00
Sebastian LawandGitHub b86073fac3 Document behavior of on_disconnect 2021-02-20 20:47:29 -05:00
sudosnokandGitHub 27c7fb6aed Add User.mutual_guilds 2021-02-20 19:29:19 -05:00
KowlinandGitHub 0203d0339b Update issue templates for migration 2021-02-19 18:49:49 -05:00