Commit Graph

727 Commits

Author SHA1 Message Date
19c6687b55 Add support for Modal Interactions 2022-02-20 04:57:44 -05:00
82084709ae JP docs fixes 2022-02-20 00:18:45 -05:00
4dbe1af32f Update sphinx and fix documentation issues 2022-02-19 22:35:32 -05:00
588cda0996 Refactor AsyncIter to use 3.6+ asynchronous generators 2022-02-19 21:58:13 -05:00
352dcf9557 Add missing audit log properties 2022-02-18 20:36:51 -05:00
37f96e3473 Add message_content intent and move to api v10 2022-02-18 08:44:46 -05:00
bae0cdf2a7 Add SPAMMER user flag 2022-02-17 22:14:21 -05:00
783513726f Add support for role icons
* Document ROLE_ICONS guild feature
https://github.com/discord/discord-api-docs/pull/3847

* Add support for role icons
https://github.com/discord/discord-api-docs/pull/3847

* Add support for role icon/emoji changes in audit log
https://github.com/discord/discord-api-docs/pull/3847
2022-02-17 11:28:03 -05:00
820bde99e1 Add BOT_HTTP_INTERACTIONS user flag
Adds UserFlags.bot_http_interactions and PublicUserFlags.bot_http_interactions
See: discord/discord-api-docs#3903
2022-02-17 11:26:09 -05: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
f4d5fcc8f9 Add Thread to the return type of Client.get_channel
Also explains some type ignores.
2021-08-19 20:18:27 -04:00
6b6bcb92e6 Fix missing or broken versionadded in docstrings
This also documents BadFlagArgument.flag
2021-08-18 00:45:02 -04:00
feae059c68 Remove coverage note from the documentation and README
A lot of people seem to point out this line as a gotcha when certain
features haven't been released yet. It's been more of a pain-point
than a marketing win since people seem to be unaware of the way this
project is developed.

Fix #7401
2021-08-15 14:01:59 -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
1418464813 [docs] Fix typo 2021-08-10 08:35:31 -04:00
1c63816cc0 [commands] Document / type-hint cooldown 2021-08-10 08:35:15 -04:00
ec32b71ff9 [commands] Document GuildNotFound 2021-08-10 08:34:11 -04:00
c628224403 [commands] Add GuildStickerConverter 2021-08-10 08:31:20 -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
3ad95f3746 [commands] Document dynamic_cooldown 2021-07-30 21:29:40 -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
1472e9ed7c Fixes minor grammatical error in Command.update 2021-07-28 19:56:36 -04:00
980d6abbea Fix typo in commands documentation 2021-07-21 02:52:33 -04:00
07483297ad Fix typo in UserFlags.has_unread_urgent_messages 2021-07-21 02:47:36 -04:00
3cb539d91b [commands] Document the thread converter 2021-07-07 20:15:18 -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
e3a66bcccc Fix property CSS to be more inline with everything else 2021-06-28 04:16:51 -04:00
039bb9f871 Move documentation CSS after CSS block 2021-06-28 03:44:22 -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
d30fea5b0d Add changelog for v1.7.3 2021-06-12 12:28:08 -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