Commit Graph

2484 Commits

Author SHA1 Message Date
e3922e24d9 Correct some protocol errors in v4 of voice gateway 2020-09-23 03:20:35 -04:00
0b93fa3a82 Implement VoiceProtocol lower level hooks.
This allows changing the connect flow and taking control of it without
relying on internal events or tricks.
2020-09-23 03:20:35 -04:00
93fa46713a Fix and add documentation 2020-09-23 03:19:35 -04:00
37c5c583f2 Add support for message_reference on Message object 2020-09-23 02:29:03 -04:00
ab5e175b25 Use quotes when installing in the README
Other shells have a hard time with square brackets.

Closes #5821
2020-09-21 03:39:19 -04:00
7f17dc79a6 Remove namedtuples to better future guard the library 2020-09-21 03:36:58 -04:00
e7b4bbe2f6 Add bot.listen() suggestion to on_message faq 2020-09-20 00:15:10 -04:00
Xua
6ae615baae Fix allowed_mentions when sending files 2020-09-20 00:14:00 -04:00
cc26499237 Add competing activity type 2020-09-20 00:05:18 -04:00
8f105a441d issue/PR templates: use h2 instead of h3
`h2` is the semantically correct heading here, as `h1` is for 
document titles and `h2` is for the top level headings within
a document. `h3` should be used for subheadings of `h2` headings.
2020-09-18 07:40:27 -04:00
9978288346 Update issue template to redirect to discussions 2020-09-18 04:21:32 -04:00
aa258073dc Add labels to the issue templates 2020-09-17 22:16:20 -04:00
a183c4f752 Completely update member references from message inner members.
Fixes #5819
2020-09-17 02:45:53 -04:00
986adae108 Revert "Add fetch_message_fast using history endpoint"
This reverts commit a309088ae4.

A rate limited was added to this method after 5 years defeating the
purpose of it.
2020-09-14 01:18:09 -04:00
ddc4ad24f4 Add missing permission in clone documentation 2020-09-11 04:55:26 -04:00
4ccd9c1591 Remove caching from AutoShardedClient.shards 2020-09-10 05:17:25 -04:00
ccdf4c4ad6 [tasks] Lazily fetch event loop if one isn't provided
Fixes #5808
2020-09-10 00:00:58 -04:00
450e71f086 Add a more concrete exception for 500 status codes.
Fixes #5797
2020-09-09 21:24:14 -04:00
f8808dba9b Guard uses of the keep alive thread in case they're None
Fixes #5800
2020-09-09 21:18:41 -04:00
e6017a2170 Handle cloudflare bans on webhook requests
Fixes #5221
2020-09-09 21:17:28 -04:00
425bb809ed Add logging to webhooks
Fixes #5798
2020-09-09 20:46:16 -04:00
a1a4a4fd7f Fix comparison for overwrites when checking if a channel is synced 2020-09-09 19:49:05 -04:00
7acec502a6 [commands] Correct command removing during cog injecting 2020-09-09 19:48:00 -04:00
f8a7d3fc54 [commands] Fix exception raised in Command invoke hooks. 2020-09-09 19:47:05 -04:00
15f51113c3 Fix Member.joined_at documentation 2020-09-09 19:44:33 -04:00
4b18238ade Add discord.Colour classmethod dark_theme 2020-09-09 00:52:19 -04:00
a309088ae4 Add fetch_message_fast using history endpoint 2020-09-07 23:04:11 -04:00
af88fc19b3 [commands] Update Bot.command() decorator docs 2020-09-07 22:29:02 -04:00
367c4b5fd2 [docs] remove unresolved doc refs, fix attribute ref 2020-09-07 22:25:11 -04:00
6349d37a97 [commands] add require_var_positional 2020-09-07 22:24:48 -04:00
0a7e2f7c2f [commands] BadBooleanArgument -> BadBoolArgument 2020-09-04 08:47:07 -04:00
6ebd2e13a1 [commands] Add subclasses of BadArgument for converters 2020-09-04 08:45:29 -04:00
33fb13043c Classmethods all and none for AllowedMentions 2020-09-04 08:43:44 -04:00
5e4f3780ed Add COMMUNITY to Guild.features 2020-09-04 08:42:54 -04:00
39aa08ab93 Added __eq__ to Message 2020-09-04 08:42:31 -04:00
dce653a0eb Don't call close() if we've already been closed in Client.run 2020-09-01 15:24:47 -04:00
ad04fbeee4 [commands] Added ColorConverter alias 2020-08-31 02:29:38 -04:00
6baacb2c23 [tasks] Don't update _next_iteration on retry 2020-08-28 23:12:07 -04:00
4203e7a5a8 [commands] Use edited timestamp if provided for cooldown timing 2020-08-25 23:15:26 -04:00
1f4f010e51 Fix issue with empty overwrites
Fixes #5756.
2020-08-25 22:45:32 -04:00
38ebef8c16 Version bump for development purposes 2020-08-22 17:19:47 -04:00
11f29890dc Fix bug with Guild.by_category not showing some channels
If categories come after a child channel in the dictionary mapping for
whatever reason, then the previous code would remove it from the
mapping and set it to []. This commit aims to fix this.
2020-08-22 17:18:48 -04:00
45752ab354 Document merging behaviour of AllowedMentions in Messageable.send 2020-08-22 17:14:02 -04:00
dd408f6871 Fix hyperlink reference to PartialInviteChannel in Client 2020-08-22 16:26:24 -04:00
315edd0b60 Fix letter to be consistent with the rest of the docs 2020-08-22 16:25:44 -04:00
fbd57a63ab update the docs on RawReactionActionEvent.member 2020-08-22 16:25:25 -04:00
9121441315 Add South Korea VoiceRegion 2020-08-18 01:11:33 -04:00
8252b1f884 Document on_error "special" behavior 2020-08-14 09:16:03 -04:00
00d39704da Version bump to 1.4.1 v1.4.1 2020-08-09 01:12:45 -04:00
6388bc7b29 Add changelog for 1.4.1 2020-08-09 01:12:32 -04:00