Commit Graph

340 Commits

Author SHA1 Message Date
46d6215646 Update api.rst 2021-10-27 09:58:12 -04:00
343d533640 removed quick_snowflake to merge it into what is wanted. 2021-10-04 22:03:55 -04:00
c360611927 let's see if this generates. 2021-10-04 09:43:20 -04:00
75a23351c4 Revert #42 (#61) 2021-09-09 00:02:02 +02:00
47e42d1648 Merge pull request #42
* implement WelcomeScreen

* copy over the kwargs issue.

* readable variable names

* modernise code

* modernise pt2

* Update discord/welcome_screen.py

* make pylance not cry from my onions

* type http.py

* remove extraneous import
2021-09-02 13:40:11 -07:00
4055bafaa5 Merge pull request #47
* Added `on_raw_typing` event
2021-09-02 13:34:39 -07:00
b12fe223b2 Fix description of Data Classes section in api.rst 2021-08-27 18:13:55 -04:00
516675dd2e Fix a typo in member_role_update 2021-08-27 02:05:44 -04:00
78598d59d7 Change on_socket_raw_receive to dispatch right before JSON conversion 2021-08-25 01:26:37 -04:00
ef79305961 Exclude private functions from VoiceClient 2021-08-24 22:49:46 -04:00
835432d161 Allow enums to be compared 2021-08-24 02:28:39 -04:00
6b6bcb92e6 Fix missing or broken versionadded in docstrings
This also documents BadFlagArgument.flag
2021-08-18 00:45:02 -04:00
1279510194 Add support for PartialMessageable instances
This allows library users to send messages to channels without fetching
it first.
2021-08-10 09:24:49 -04:00
b640493300 Add enable_debug_events parameter to enable expensive debug events
This should allow less dispatching during heavy gateway event streams.
2021-07-31 20:35:28 -04:00
e2250d402e Add on_socket_event_type event 2021-07-31 20:12:40 -04:00
13a47dfe6e Fix docs for stickers 2021-07-31 19:40:41 -04:00
60d82cf908 implement guild stickers 2021-07-30 21:25:41 -04:00
154c90ef59 Add audit log events for threads 2021-07-28 19:57:42 -04:00
07483297ad Fix typo in UserFlags.has_unread_urgent_messages 2021-07-21 02:47:36 -04:00
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