b48f510e15
Add invite targets for voice channel invites
2021-05-29 00:15:46 -04:00
ff36aedf7b
Add support for reading SelectMenu components from messages
2021-05-28 05:34:21 -04:00
8bd17ede47
Move ActionRow to its own separate type split from Component
2021-05-28 02:11:10 -04:00
77ed476129
Fix extraneous colons in the documentation for ButtonStyle
2021-05-27 22:34:31 -04:00
3b83f60b35
Add support for setting interaction responses
2021-05-27 00:53:14 -04:00
80fd222ca0
Add aliases for button style colours
2021-05-27 00:53:14 -04:00
eda6680377
Rename enums to use official API naming
2021-05-27 00:53:14 -04:00
98570793e4
Add initial support for buttons and components
2021-05-27 00:53:13 -04:00
67aabc3230
Remove VerificationLevel aliases
2021-05-25 20:51:08 -04:00
65439732b3
Add Discord Certified Moderator user flag
2021-05-23 05:07:33 -04:00
f87eaa613d
[docs] typo fix
2021-05-23 03:47:16 -04:00
9d114fb066
Fix for doc reference to python "raise" statement
...
:ref:`py:raise` -> :ref:`raise statement <py:raise>`
Before fix the text reads: "...define an on_error handler consisting
of a single empty The raise statement." After fix it should read:
"...define an on_error handler consisting of a single empty raise
statement."
2021-05-15 02:06:50 -04:00
9b4e820bbe
Document Invite.inviter as optional
2021-05-12 20:34:44 -04:00
3864fb37a0
Fix various reference issues in documentation
...
Co-Authored-By: Riley Shaw <30989490+ShineyDev@users.noreply.github.com >
2021-05-06 07:51:07 -04:00
51df7496db
Add AuditLogChanges.rules_channel/public_updates_channel
2021-05-01 06:47:22 -04:00
3c2674725a
Add as_chunks helper function
2021-04-25 23:36:03 -04:00
1765cdffb1
Use Asset for AuditLogChanges and add more entries
2021-04-25 09:53:38 -04:00
368fda7272
Remove HypesquadHouse enum from docs
2021-04-25 04:35:45 -04:00
67abfea61a
Add target_user and target_type to Invite objects
2021-04-21 23:30:35 -04:00
95777230b0
Add MessageType.guild_invite_reminder
2021-04-18 20:33:56 -04:00
631a0b1e13
Add support for ApplicationFlags
2021-04-18 20:32:52 -04:00
821b6c61cb
[docs] document inherited members on Asset
2021-04-17 23:40:13 -04:00
fdf81089b5
Add inherited members to (Partial)Emoji docs
2021-04-17 19:40:40 -04:00
304229071f
Add VoiceChannel.video_quality_mode
2021-04-17 08:10:41 -04:00
a6f7213c89
Rewrite webhooks to play better with typings and rate limits
...
This unfortunately required splitting the types into two. This led to
a lot of unfortunate code duplication that I didn't really enjoy
writing.
The new design allows users to pass an authentication token to make
webhook requests without the webhook token and allows to finally
edit the webhook channel.
The new design also uses a contextvar to store rate limiting
information so multiple instances or recreating instances no longer
clears the ratelimiting state since it's now essentially a "global"
object.
Closes #6525 , closes #6662 , closes #2509 , closes #1761
2021-04-15 08:04:32 -04:00
f1fac96e33
Remove private_channel_(delete/create)
events
2021-04-11 15:13:23 -04:00
4c565e5299
add reply and application_command types
2021-04-11 00:39:13 -04:00
4591705b55
Add missing attribute tables
2021-04-10 03:42:42 -04:00
a9d5c0aa3b
Fix headers in partial webhook channel and guild objects
2021-04-07 06:37:09 -04:00
ad68a1d04e
Add source_channel and source_guild to Webhook
2021-04-06 23:31:18 -04:00
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
a3a6f88936
Add discord.utils.utcnow() helper function to ease migration
2021-04-04 23:59:04 -04:00
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
fd58371f53
Remove some lingering userbot classes in the documentation
2021-04-04 20:05:19 -04:00
34ab772653
Use typing.Protocol instead of abc.ABCMeta
2021-04-04 18:05:49 -04:00
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
6d63cf0d5d
Add missing StoreChannel documentation
2021-04-04 00:17:59 -04:00
1b2688518e
Implement StageChannel and related methods
2021-04-03 22:43:41 -04:00
6887d3946a
[docs] Fix fetch_members/guilds documentation
2021-03-31 21:27:40 -04:00
954dd09e18
Deprecate Client.logout
2021-03-31 07:30:41 -04:00
31ee3fafc1
Add remove_markdown helper function
2021-03-28 18:38:34 -04:00
a6c5b04142
Clarify docs to state that on_reaction_remove requires Intents.members
2021-03-24 08:25:12 -04:00
6f748e5da5
Add remaining v6 message types
2021-02-23 03:57:11 -05:00
427e387a2f
Deprecate non-bot methods
2021-02-23 03:36:37 -05:00
a0c1d6f6c5
Fix backslashes showing up in the docs
2021-02-21 07:32:11 -05:00
66b834b332
Document BanEntry
2021-02-21 00:12:30 -05:00
b86073fac3
Document behavior of on_disconnect
2021-02-20 20:47:29 -05:00
08d45cc2ab
Update docs to be clearer about discord limitations
2021-02-17 07:33:17 -05:00
050bf74f5d
Clarify on_raw_message_edit cached message nature
2021-01-18 04:55:59 -05:00
22cb4ef18b
Include pending as a possible member_update trigger
2020-12-29 22:37:07 -05:00