2409 Commits

Author SHA1 Message Date
Io Mintz
a8baf0c9f0
flags: support accessing flag value instances on the class
Fixes #4023
2020-04-20 14:59:58 -05:00
Rapptz
e473f3c775 Convert id parameter of Object into int or raise TypeError on failure
This prevents breakage for users who pass in a str as an ID whereas
it previously worked.

Fix #4002
2020-04-19 18:33:03 -04:00
Rapptz
0d5e6e213c Decrement Guild.member_count even if member is not cached
Fix #4021
2020-04-19 18:22:41 -04:00
hamza1311
0a24e3716e Allow HistoryIterator to take limit of 1 even when around is passed 2020-04-19 18:19:11 -04:00
apple502j
14f80fce45 Fix PartialEmoji.url.read for reactions 2020-04-18 19:34:41 +09:00
Rapptz
9f47d7f71c Fix cases where member_count is equal to 0
Fixes #4008, #4005
2020-04-16 23:30:59 -04:00
Rapptz
540a88b762 [tasks] Replace stack-based implementation with a cleaner one. 2020-04-14 04:56:52 -04:00
Rapptz
d5211fb327 [tasks] Create different Loop objects for different instances
Fixes #2294
2020-04-14 04:35:49 -04:00
Rapptz
11211d48eb Bump blocking threshold from 5 seconds to 10 seconds 2020-04-14 04:22:05 -04:00
Rapptz
d6be6adf8b Add traceback to debug blocking issues 2020-04-14 04:21:20 -04:00
chickenmatty
0cef8c1f60 Remove from the FAQ that there's no event for invites being created 2020-04-14 03:24:46 -04:00
Arthur
ad87bfb395 Guild.owner may be None for very large guilds. 2020-04-14 03:24:46 -04:00
Austin Lasher
032a866fec Fix an FFmpegOpusAudio documentation detail, and some capitalization 2020-04-14 03:24:46 -04:00
jack1142
91a8044497 Update copyright year for documentation 2020-04-14 03:24:46 -04:00
Kowlin
08e20910e6 Edit message publish documentation 2020-04-14 03:24:46 -04:00
apple502j
6d0db182b9 Add new alias VerificationLevel.very_high 2020-04-09 17:10:44 +09:00
Rapptz
874c2cd3c9 [commands] Raise CheckFailure if all bot "check once" fail
Fix #2643
2020-04-06 21:45:16 -04:00
Rapptz
8874aa3dd2 Move log levels around to make INFO a little less noisy 2020-04-06 05:22:57 -04:00
Rapptz
9a52786aa9 Bump version for development 2020-04-06 05:00:33 -04:00
Rapptz
7433cf3b16 Fix VoiceClient.average_latency erroring when heartbeat is None 2020-04-06 04:58:27 -04:00
NCPlayz
c8f32f3151 animated key is never given to reaction_remove(_emoji) 2020-04-06 04:58:27 -04:00
Jake Ward
c782ac3254 Update documentation on guild features to reflect Discord changes 2020-04-06 04:58:27 -04:00
MarkKoz
2653ae7599 [commands] Stop yielding duplicate commands from walk_commands 2020-04-06 04:52:53 -04:00
Rapptz
8ff285fcbc Documentation fixups for allowed mentions 2020-04-04 13:32:47 -04:00
Rapptz
d853a57e86 Rename allowed mention parameters to allowed_mentions 2020-04-04 13:22:51 -04:00
Rapptz
730d79d60a Allow introspection and setting of global allowed mention configuration 2020-04-04 12:49:39 -04:00
Rapptz
481b335f2d Fix various implementation bugs with allowed mentions 2020-04-04 12:45:17 -04:00
Rapptz
041785937e Add support for configuring allowed mentions per message or bot wide. 2020-04-04 07:40:51 -04:00
Rapptz
6c764465c0 Fix regression with Member.activities not clearing 2020-04-04 03:17:31 -04:00
Ilya Lukyanov
d2cc8aa459 Add position argument to Guild.create_category
This way we can specify category position upon creation
2020-04-04 03:15:47 -04:00
Josh B
20854de080 Allow for optional custom error handler in tasks extension 2020-04-04 03:11:25 -04:00
Epic
18c52671a9 Remove extra to in tasks docs 2020-04-04 03:09:21 -04:00
Maku
c2d5c2e118 Add use_cached to Attachment.to_file 2020-04-04 03:03:20 -04:00
James
6a30f2749f [tasks] Add is_running property to Loop 2020-04-04 03:02:10 -04:00
Fwf
fa34d357a1 Added VoiceClient.latency and VoiceClient.average_latency
This also implements the heartbeating a bit more consistent to the
official Discord client.
2020-04-04 03:00:27 -04:00
NCPlayz
1b0e806245 [commands] Implement commands.before/after_invoke 2020-04-04 02:57:20 -04:00
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`".
2020-04-04 02:42:22 -04:00
Rapptz
baffe564e5 Version bump to v1.3.3 v1.3.3 2020-04-04 01:50:13 -04:00
Rapptz
465438fb3c Add changelog for v1.3.3 2020-04-04 01:47:01 -04:00
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
2020-04-04 01:42:08 -04:00
DevilXD
aea9c2aebf Fixed missing awaits in subclassed coros 2020-04-04 01:27:26 -04:00
jack1142
7b3335a0b0 Don't add None to Member.activities tuple 2020-04-04 01:12:46 -04:00
PredaaA
9941812241 Add "FEATURABLE" in guild features. 2020-04-04 01:12:23 -04:00
s0lst1ce
2d48a6d5a1 [commands] Fix a typo in the docstring of the internal _Semaphore class 2020-04-04 01:12:08 -04:00
Glazed_Belmont
6525ac948c fixing the BaseActivity links 2020-04-04 01:12:08 -04:00
Peter Levart
6c55bdfe39 Change package manager yum to dnf 2020-03-01 18:18:44 +01:00
Peter Levart
5064f51a4c Capitalize Python for consistency 2020-03-01 18:12:21 +01:00
Rapptz
5e63357508 Bump version to v1.3.2 v1.3.2 2020-02-22 19:35:42 -05:00
Rapptz
07720fabd4 Add changelog for v1.3.2 2020-02-22 19:33:27 -05:00
Rapptz
00f6562728 Suppress missing Content-Type headers when fetching content
Fixes #2572
2020-02-22 19:07:17 -05:00