270 Commits

Author SHA1 Message Date
Rapptz
a9d5c0aa3b Fix headers in partial webhook channel and guild objects 2021-04-07 06:37:09 -04:00
Zomatree
ad68a1d04e
Add source_channel and source_guild to Webhook 2021-04-06 23:31:18 -04:00
Rapptz
8cece19b22 Add on_interaction event and Interaction class.
This is the first pass at the functionality. It's currently a bit
incomplete.
2021-04-06 01:11:36 -04:00
Rapptz
a3a6f88936 Add discord.utils.utcnow() helper function to ease migration 2021-04-04 23:59:04 -04:00
Rapptz
ff7094ce96 Convert datetimes to aware datetimes with UTC.
Naive datetimes will now be interpreted as local time throughout
the library.
2021-04-04 23:54:08 -04:00
Rapptz
fd58371f53 Remove some lingering userbot classes in the documentation 2021-04-04 20:05:19 -04:00
James
34ab772653
Use typing.Protocol instead of abc.ABCMeta 2021-04-04 18:05:49 -04:00
Rapptz
54288879e2 Remove userbot functionality
This has a lot of legacy and cruft so there may be some stuff I've
missed but this first pass is enough to get a clear separation.
2021-04-04 10:15:30 -04:00
Rapptz
6d63cf0d5d Add missing StoreChannel documentation 2021-04-04 00:17:59 -04:00
Nadir Chowdhury
1b2688518e
Implement StageChannel and related methods 2021-04-03 22:43:41 -04:00
Nadir Chowdhury
6887d3946a
[docs] Fix fetch_members/guilds documentation 2021-03-31 21:27:40 -04:00
apple502j
954dd09e18
Deprecate Client.logout 2021-03-31 07:30:41 -04:00
Edwin
31ee3fafc1
Add remove_markdown helper function 2021-03-28 18:38:34 -04:00
Colin R
a6c5b04142
Clarify docs to state that on_reaction_remove requires Intents.members 2021-03-24 08:25:12 -04:00
Nadir Chowdhury
6f748e5da5
Add remaining v6 message types 2021-02-23 03:57:11 -05:00
Nadir Chowdhury
427e387a2f
Deprecate non-bot methods 2021-02-23 03:36:37 -05:00
Sebastian Law
a0c1d6f6c5
Fix backslashes showing up in the docs 2021-02-21 07:32:11 -05:00
Maya
66b834b332
Document BanEntry 2021-02-21 00:12:30 -05:00
Sebastian Law
b86073fac3
Document behavior of on_disconnect 2021-02-20 20:47:29 -05:00
Michael H
08d45cc2ab
Update docs to be clearer about discord limitations 2021-02-17 07:33:17 -05:00
ChristopherJHart
050bf74f5d
Clarify on_raw_message_edit cached message nature 2021-01-18 04:55:59 -05:00
Dan Hess
22cb4ef18b
Include pending as a possible member_update trigger 2020-12-29 22:37:07 -05:00
Stefano Pigozzi
194344da7d
docs: Change page to section in event reference 2020-12-29 08:25:53 -05:00
Rapptz
674f414ae0 Add attributetable to WebhookMessage 2020-12-19 06:00:21 -05:00
Rapptz
4ef6d7ec1e Add missing attributetable to new classes 2020-12-18 21:35:27 -05:00
Rapptz
9b88c63163 Add attributetable and add some class-level sections.
The extensions have yet to receive this treatment and CSS needs work,
but for now this is fine.
2020-12-18 21:18:47 -05:00
Rapptz
3fe6d261f1 Add PartialMessage to allow working with channel/message_id pairs.
Fix #5905
2020-12-11 00:32:38 -05:00
Rapptz
44dc7a8e02 Add support for editing and deleting webhook messages.
Fix #6058
2020-12-09 20:15:35 -05:00
Josh
f8e428bd5b
Add support for chunking AsyncIterator objects 2020-12-03 18:32:53 -05:00
Rapptz
34f2fb36b1 Added MessageReference.resolved attribute to get replied to message 2020-11-27 02:24:39 -05:00
Rapptz
1014bfcb63 Allow MessageReference to be constructible by users 2020-11-27 01:08:52 -05:00
Rapptz
e65dab3b23 Implement role tags.
This comes with:

* The RoleTags class
* Role.is_premium_subscriber()
* Role.is_bot_managed()
* Role.is_integration()
* Guild.self_role
* Guild.premium_subscriber_role
2020-11-26 01:57:24 -05:00
Zomatree
344cb96c5d
Add sticker support 2020-11-23 05:09:20 -05:00
Eric Chan
b96ed43082
Fix typo in event reference 2020-10-16 22:44:51 -04:00
Xua
1066f42f1f
Add intents to event reference 2020-10-01 04:42:32 -04:00
Rapptz
bf8ca58996 Add a special exception for required privileged intents 2020-09-23 03:21:20 -04:00
Rapptz
23ae084b8c Allow finer grained control over the member cache. 2020-09-23 03:21:20 -04:00
Rapptz
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
Sebastian Law
37c5c583f2
Add support for message_reference on Message object 2020-09-23 02:29:03 -04:00
iDutchy
cc26499237
Add competing activity type 2020-09-20 00:05:18 -04:00
Rapptz
450e71f086 Add a more concrete exception for 500 status codes.
Fixes #5797
2020-09-09 21:24:14 -04:00
Andres Torres
39aa08ab93
Added __eq__ to Message 2020-09-04 08:42:31 -04:00
Patrick
9121441315
Add South Korea VoiceRegion 2020-08-18 01:11:33 -04:00
Vexs
8252b1f884
Document on_error "special" behavior 2020-08-14 09:16:03 -04:00
Rapptz
7ed26db3b3 Add an exposed way to extract shard-specific information.
Closes #2654
2020-07-25 09:59:41 -04:00
Rapptz
8070d39a23 Add shard related connection and resume events.
These include:
* on_shard_resumed
* on_shard_connect
* on_shard_disconnect
2020-07-25 09:59:39 -04:00
AXVin
f5289a30a7 Fix typo in on_socket_raw_send documentation 2020-07-22 23:19:37 -04:00
NCPlayz
3408695a37 [docs] fix reference to Guild and document utils.resolve_template 2020-07-08 23:01:00 -04:00
Nadir Chowdhury
a64006ee9b
Add support for integrations 2020-06-28 14:50:43 -04:00
Nadir Chowdhury
2b3c6e0d47
Add support for Discord templates 2020-06-28 14:48:04 -04:00