Commit Graph
4373 Commits
Author SHA1 Message Date
Rapptz efe81a67fb Fix Message.poll not prioritising API data over cached data 2024-05-22 09:04:37 -04:00
Andrin f77ba711ba Add reaction type to raw events and users iterator 2024-05-18 14:33:26 -04:00
Etwas b5ada0a662 Fix merge methods for AppCommandContext and AppInstallationType 2024-05-18 14:32:58 -04:00
Andrin b9dc85e6f7 Add type attribute to Invite 2024-05-17 13:31:26 -04:00
Rapptz b0024dc866 Change line endings from CRLF to LF in voice_state.py 2024-05-16 18:48:48 -04:00
Rapptz d53877f2cb Remove async_timeout requirement
It was causing some dependency issues
2024-05-16 18:48:21 -04:00
DA344 2751b55357 Fix Webhook poll sending raising AttributeError with a mocked state 2024-05-15 20:45:06 -04:00
DA344 9d979d3df1 Some docs fixes for polls 2024-05-15 13:38:19 -04:00
lmaotrigine 2f479b2ac6 Document bitrate kwarg in StageChannel.edit 2024-05-15 13:37:40 -04:00
DA344 041abf8b48 Fix Poll.question docstring 2024-05-10 11:08:29 -04:00
z03h e5ae306d1a Add more missing perms to permission classmethods 2024-05-10 11:08:06 -04:00
z03h f851d9aa3f Add missing poll permissions to permission classmethods 2024-05-10 08:19:08 -04:00
e43bd8692c Add support for Polls
Co-authored-by: owocado <24418520+owocado@users.noreply.github.com>
Co-authored-by: Josh <8677174+bijij@users.noreply.github.com>
Co-authored-by: Trevor Flahardy <75498301+trevorflahardy@users.noreply.github.com>
2024-05-10 06:14:12 -04:00
Michael H a1206dfde8 Fix typing of various AppCommand decorators 2024-05-09 05:16:40 -04:00
Willi 0bb6967419 Fix typo in Guild.vanity_invite documentation 2024-05-08 23:05:04 -04:00
Rapptz 64e743af50 Use InteractionMetadata for InteractionResponse.edit_message 2024-05-06 23:03:24 -04:00
Soheab 2248fc1946 Fix various code around Message.interaction(_metadata) 2024-05-06 18:17:37 -04:00
SoheabandDanny 963bb08557 Add support for Message.interaction_metadata
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2024-05-05 23:36:08 -04:00
Vioshim 71358b8dce [commands] Add support for positional flag parameters 2024-05-05 01:48:02 -04:00
Josh 9fab99acbc [commands] Add support for type statement and NewType 2024-05-05 01:45:32 -04:00
fretgfr 692db7e9ab Add approximate_guild_count to AppInfo 2024-05-04 23:32:52 -04:00
owocado ef64f76eae Add reason kwarg to Thread.delete 2024-05-04 23:25:49 -04:00
2e2f51fd5c First pass at supporting user apps
Co-authored-by: red <red@kalab.sk>
Co-authored-by: Vioshim <63890837+Vioshim@users.noreply.github.com>
2024-05-04 23:25:01 -04:00
Lucas Hardt 2892401992 Add support for one-time purchases 2024-05-04 23:24:34 -04:00
Lilly Rose Berner 0ee1794c6d Fix channel deletion not removing associated threads 2024-05-04 23:23:59 -04:00
Michael H 88f62d85d2 Ensure Client.close() has finished in __aexit__
This wraps the closing behavior in a task. Subsequent callers of
.close() now await that same close finishing rather than short
circuiting. This prevents a user-called close outside of __aexit__ from
not finishing before no longer having a running event loop.
2024-05-04 23:20:36 -04:00
Alex Nørgaard 8fd1fd805a Fix AutoModRule.edit handling of AutoModRuleEventType enum 2024-04-21 14:56:20 -04:00
Willy d853a3f0a7 Document bulk ban user limit and permission 2024-04-18 03:39:09 -04:00
Sebastian Law 0362b2fd4e [docs] fix gateway payload hyperlinks 2024-04-18 03:38:31 -04:00
Vioshim 5497674ae2 Add support for applied_tags in Webhook.send overloaded methods 2024-04-18 03:38:10 -04:00
Imayhaveborkedit b8c29b0790 More voice fixes
* More voice fixes

* Start socket reader paused and wait for socket creation

* Fix issues handling 4014 closures

Fixes code not handling disconnects from discord's end properly.  The
4014 code is shared between being disconnected and moved, so it has to
account for the uncertainty.  Also properly stops the voice_client audio
player when disconnecting.

* Fix sending (dropped) silence packets when not connected
2024-04-18 03:36:18 -04:00
ナニカ dc6d33c303 copy over original row position for dynamic items 2024-04-18 03:33:43 -04:00
owocado 425edd2e10 Improve __repr__ for Webhook and SyncWebhook 2024-03-22 10:02:45 -04:00
owocado 2f71506169 Add view_creator_monetization_analytics permission 2024-03-21 04:40:51 -04:00
Rapptz 0e016be42c Clarify some docstrings around BulkBanResponse 2024-03-15 18:11:52 -04:00
Rapptz ded9c5d87b Add support for bulk banning members 2024-03-15 18:05:35 -04:00
Alex Nørgaard 82d13e7b49 Add support for ClientUser editing banners 2024-03-14 18:10:17 -04:00
fretgfr edf7ce2ab0 Update Guild.prune_members required permissions notes 2024-03-14 17:39:25 -04:00
Rapptz 56916f9241 Fix comparisons between two Object with types 2024-02-22 20:42:24 -05:00
owocado 61eddfcb18 Fix sticker URL for GIF stickers 2024-02-20 16:59:24 -05:00
Josh 4e03b170ef Update pyright version 2024-02-20 13:36:02 -05:00
Rapptz 76666fbcf4 Properly check for maximum number of children 2024-02-17 01:17:31 -05:00
Rapptz 9345a2a1be Add warning for FFmpeg spawning classes executable parameter 2024-02-11 05:55:25 -05:00
JDJG 8d3b56206b Update ClientUser.edit docs for animated avatars 2024-02-07 19:38:18 -05:00
Akai bd402b486c Correct typo in error message: "error" to "autocomplete" 2024-01-26 20:56:02 -05:00
Imayhaveborkedit a9ff58724b Fix move_to related voice state bugs 2024-01-26 20:14:19 -05:00
e25b7ff3f8 Support for avatar decorations
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
Co-authored-by: owocado <24418520+owocado@users.noreply.github.com>
2024-01-26 20:12:07 -05:00
Soheab_ 070ae24d8d Document all limits in discord.ui 2024-01-26 20:08:00 -05:00
Soheab_andDanny 851c857a36 Add support for guild incidents
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2024-01-26 20:02:11 -05:00
Rapptz 3258507b4a Call inner item callback and interaction_check by default 2024-01-24 13:25:48 -05:00