Rapptz
7433cf3b16
Fix VoiceClient.average_latency erroring when heartbeat is None
5 years ago
NCPlayz
c8f32f3151
animated key is never given to reaction_remove(_emoji)
5 years ago
Jake Ward
c782ac3254
Update documentation on guild features to reflect Discord changes
5 years ago
MarkKoz
2653ae7599
[commands] Stop yielding duplicate commands from walk_commands
5 years ago
Rapptz
8ff285fcbc
Documentation fixups for allowed mentions
5 years ago
Rapptz
d853a57e86
Rename allowed mention parameters to allowed_mentions
5 years ago
Rapptz
730d79d60a
Allow introspection and setting of global allowed mention configuration
5 years ago
Rapptz
481b335f2d
Fix various implementation bugs with allowed mentions
5 years ago
Rapptz
041785937e
Add support for configuring allowed mentions per message or bot wide.
5 years ago
Rapptz
6c764465c0
Fix regression with Member.activities not clearing
5 years ago
Ilya Lukyanov
d2cc8aa459
Add position argument to Guild.create_category
This way we can specify category position upon creation
5 years ago
Josh B
20854de080
Allow for optional custom error handler in tasks extension
5 years ago
Epic
18c52671a9
Remove extra to in tasks docs
5 years ago
Maku
c2d5c2e118
Add use_cached to Attachment.to_file
5 years ago
James
6a30f2749f
[tasks] Add is_running property to Loop
5 years ago
Fwf
fa34d357a1
Added VoiceClient.latency and VoiceClient.average_latency
This also implements the heartbeating a bit more consistent to the
official Discord client.
5 years ago
NCPlayz
1b0e806245
[commands] Implement `commands.before/after_invoke`
5 years ago
Saurabh Chaturvedi
3faa9799e3
Fix documentation problem with color
At readthedocs.io, for role `color`, it says "Returns the role colour. An alias exists under `color`". This PR fixes that to say "Returns the role color. An alias exists under `colour`".
5 years ago
Rapptz
baffe564e5
Version bump to v1.3.3
5 years ago
Rapptz
403651a144
Change default close code to 4000 instead of 1000.
This prevents our sessions from being invalidated by Discord which
caused a lot of failures when resuming. This caused an unnecessary
amount of IDENTIFYs to happen depending on the circumstances.
Closes #2631
See also discord/discord-api-docs#1472
5 years ago
jack1142
7b3335a0b0
Don't add None to Member.activities tuple
5 years ago
PredaaA
9941812241
Add "FEATURABLE" in guild features.
5 years ago
s0lst1ce
2d48a6d5a1
[commands] Fix a typo in the docstring of the internal _Semaphore class
5 years ago
Glazed_Belmont
6525ac948c
fixing the BaseActivity links
5 years ago
Rapptz
5e63357508
Bump version to v1.3.2
5 years ago
Rapptz
00f6562728
Suppress missing Content-Type headers when fetching content
Fixes #2572
5 years ago
Sebastiaan Zeeff
59ed908ee2
Fix invalid format specifier in PartialWebhookState.__getattr__
The message for the AttributeError raised by the __getattr__ method of
the PartialWebhookState class is formatted using `str.format`. However,
the placeholder contained a stray ":" before the !r specifier. This
caused a ValueError("Invalid format specifier") to be raised whenever
this method was called in lieu of the AttributeError that is intended
to be raised.
5 years ago
Rapptz
4cf5f792d4
Fix Webhook.send returning an empty string when wait=False
5 years ago
Rapptz
af6a5efa53
Fix crashes when Message.guild is Object
5 years ago
Rapptz
bb1c1e9fa3
[commands] Raise when passing invalid permission keys in their checks
5 years ago
Rapptz
cbca33e44f
Guard against the member data not being available in VOICE_STATE_UPDATE
5 years ago
Rapptz
25a04ed135
Better detection for Cloudflare related 429s.
At some point Cloudflare started returning some JSON. I don't know how
this JSON looks like.
See #2544
5 years ago
Rapptz
3b8678da81
Use member data from VOICE_STATE_UPDATE if not found in cache
5 years ago
Rapptz
5c7df3d943
Bump waiting time of GUILD_CREATE stream by number of shards waited.
2 seconds might be too short and cause it to finish waiting while other
shards are still IDENTIFYing.
5 years ago
Rapptz
8767c478ed
Version bump to v1.3.1
5 years ago
Rapptz
b9e6ed28a4
Downgrade unknown event logging to DEBUG rather than WARNING
It's too noisy
5 years ago
Merlintor
1451f790a0
Explicitly check for guild object
5 years ago
Karthikeyan Singaravelan
25b8adc404
Import ABC from collections.abc instead of collections
This is for Python 3.9 compatibility.
5 years ago
Karthikeyan Singaravelan
1b4cac92fc
Fix warnings regarding invalid escape sequences.
5 years ago
Rapptz
0033cc83ef
Fix fetching invites on guilds the user is not in
5 years ago
Snaptraks
ba112e6ec8
Remove extra backtick in CustomActivity docs
5 years ago
Harmon
e469174071
Documentation fixes ( #2531 )
* Fix indentation for versionadded for Team.members
* Replace tabs with spaces in API Reference documentation
5 years ago
Rapptz
a2a02ea945
Version bump to v1.3
5 years ago
Rapptz
215fed831c
Mention that you can create Permissions via kwargs now
5 years ago
Harmon
6f9793fe5e
Fixes and improvements for v1.3 documentation
* Add missing versionadded strings for v1.3
* Add missing versionchanged string for Message.edit
* Consistently use versionadded for attributes
* Consistently use versionchanged for parameters
* Use versionchanged for Bot.is_owner
* Fix references in v1.3 changelog
* Improve grammar in v1.3 changelog
5 years ago
Rapptz
eddbe27f2e
Fix out of order files being sent in webhooks when there are 10 files.
5 years ago
Rapptz
17f343b03e
Minor documentation fixes
5 years ago
Rapptz
706a333287
Add missing coroutine header for sleep_until
5 years ago
Josh B
d0a1956be9
Improve usability of utils.sleep_until
Fix issue where sleeping for an extended period on python 3.5
would cause an exception
Add sleep_until to API docs
Add result argument to sleep_until
5 years ago
Rapptz
e21d49c980
[commands] Only clean semaphore when there are no waiters
5 years ago