c1c6457598
Separate member_update and presence_update events
2021-07-04 21:40:30 -04:00
828e47d83f
Document on_thread_join also applying to thread creation
2021-07-04 04:55:12 -04:00
23a69144b6
Add a warning in on_interaction
2021-07-04 03:06:36 -04:00
0b577fa209
Add support for fetching the original interaction response message
2021-07-03 11:00:48 -04:00
7ca90874b9
Raise an exception if an interaction has been responded before
...
Fix #7153
2021-07-03 00:30:32 -04:00
ffa0b26b82
Fix versionadded on ChannelType.private_thread
2021-07-02 22:05:27 -04:00
4f0e907e44
Add ButtonStyle.url alias for ButtonStyle.link
2021-07-01 20:42:56 -04:00
12e3eba011
Add Select to the docs
2021-06-30 03:54:30 -04:00
d1a2ee4620
Add discord.utils.format_dt helper function
2021-06-28 01:31:14 -04:00
f7b0ed7b12
Add ButtonStyle.gray alias
2021-06-28 00:01:13 -04:00
233d10649c
[docs] Update Sphinx and Fix various references
...
Co-Authored-By: Riley Shaw <30989490+ShineyDev@users.noreply.github.com >
2021-06-27 23:43:49 -04:00
b2c9c26841
Show decorator usage instead of signature in docs
2021-06-27 23:40:39 -04:00
c2df574b2a
Add audit log entries for stage instances
2021-06-09 08:09:05 -04:00
1152f67efc
Allow pins events to work with threads
2021-06-08 07:29:17 -04:00
bd369c76ea
Parse remaining thread events.
2021-06-08 07:29:17 -04:00
4a4e73ec14
Update thread typings and payloads to match documentation
2021-06-08 07:26:18 -04:00
68c7c538f5
First pass at preliminary thread support
...
This is missing a lot of functionality right now, such as two gateway
events and all the HTTP CRUD endpoints.
2021-06-08 07:23:40 -04:00
a7ae2eb1bb
Add Guild.nsfw_level
2021-06-07 23:20:04 -04:00
ab6d592f8c
Add support for integration create/update/delete events
2021-06-07 03:28:26 -04:00
2f0a2b244e
Update documentation for on_voice_state_update
...
The event also gets triggered by stage channels.
2021-06-02 04:03:53 -04:00
9f98a9a87f
Implement StageInstance
2021-05-30 13:51:52 -04:00
267fad9180
Add WebhookType.application
2021-05-30 10:02:58 -04:00
4d7822493f
Add support for bot integrations
2021-05-29 00:43:33 -04:00
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