Commit Graph

5052 Commits

Author SHA1 Message Date
978a96b25c Version bump to v2.4.0 v2.4.0 2024-06-21 21:08:59 -04:00
c75ca25e03 Add changelog for v2.4.0
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2024-06-21 20:47:32 -04:00
d528e8f8b5 Add information on Message.poll for Message Content Intent 2024-06-21 08:14:03 -04:00
c055fd32bb Fix ui.Button providing a custom_id for premium buttons 2024-06-15 07:46:36 -04:00
be9edf8deb Remove setting sku_id explicitly via button decorator
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2024-06-15 07:38:58 -04:00
9eac36501a Allow deletion race conditions to work with purge 2024-06-14 18:08:12 -04:00
fb12d3d546 Remove unnecessary warning logs for poll events 2024-06-13 23:31:14 -04:00
837bc35b87 Add missing versionadded for a few decorators 2024-06-12 14:42:12 -04:00
bb1d09a13f Account for user installations in Channel.permissions_for
Co-authored-by: owocado <24418520+owocado@users.noreply.github.com>
2024-06-12 14:25:49 -04:00
895d6c37df Add Permissions.use_external_apps 2024-06-11 17:31:08 -04:00
fdb17ead03 Fix exempt_channels not being passed along in create_automod_rule 2024-06-11 17:30:53 -04:00
0e58a927dd [commands] Add support for channel URLs in channel converter
Fix #9799
2024-06-02 15:51:14 -04:00
356474ffb9 Add ButtonStyle.premium 2024-06-01 03:48:50 -04:00
51142743bc Fix bug with cache superfluously incrementing role position 2024-05-30 22:52:19 -04:00
cc32fb364b Add notes about contexts and installation_types availability 2024-05-30 22:51:51 -04:00
2c197649c2 Add note about archiver_id 2024-05-30 07:24:56 -04:00
205ddaff66 Update Polls event docs 2024-05-29 23:27:26 -04:00
d18f14c173 [commands] fix HelpCommand not carrying over checks
update command impl over creating new one
2024-05-29 23:24:28 -04:00
efe81a67fb Fix Message.poll not prioritising API data over cached data 2024-05-22 09:04:37 -04:00
f77ba711ba Add reaction type to raw events and users iterator 2024-05-18 14:33:26 -04:00
b5ada0a662 Fix merge methods for AppCommandContext and AppInstallationType 2024-05-18 14:32:58 -04:00
b9dc85e6f7 Add type attribute to Invite 2024-05-17 13:31:26 -04:00
b0024dc866 Change line endings from CRLF to LF in voice_state.py 2024-05-16 18:48:48 -04:00
d53877f2cb Remove async_timeout requirement
It was causing some dependency issues
2024-05-16 18:48:21 -04:00
2751b55357 Fix Webhook poll sending raising AttributeError with a mocked state 2024-05-15 20:45:06 -04:00
9d979d3df1 Some docs fixes for polls 2024-05-15 13:38:19 -04:00
2f479b2ac6 Document bitrate kwarg in StageChannel.edit 2024-05-15 13:37:40 -04:00
041abf8b48 Fix Poll.question docstring 2024-05-10 11:08:29 -04:00
e5ae306d1a Add more missing perms to permission classmethods 2024-05-10 11:08:06 -04:00
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
a1206dfde8 Fix typing of various AppCommand decorators 2024-05-09 05:16:40 -04:00
0bb6967419 Fix typo in Guild.vanity_invite documentation 2024-05-08 23:05:04 -04:00
64e743af50 Use InteractionMetadata for InteractionResponse.edit_message 2024-05-06 23:03:24 -04:00
2248fc1946 Fix various code around Message.interaction(_metadata) 2024-05-06 18:17:37 -04:00
0c353548e2 Move most static metadata to pyproject.toml 2024-05-05 23:39:37 -04:00
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
71358b8dce [commands] Add support for positional flag parameters 2024-05-05 01:48:02 -04:00
9fab99acbc [commands] Add support for type statement and NewType 2024-05-05 01:45:32 -04:00
692db7e9ab Add approximate_guild_count to AppInfo 2024-05-04 23:32:52 -04:00
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
2892401992 Add support for one-time purchases 2024-05-04 23:24:34 -04:00
0ee1794c6d Fix channel deletion not removing associated threads 2024-05-04 23:23:59 -04:00
0b4263e697 [Crowdin] Updated translation files
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-04 23:21:35 -04:00
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
8fd1fd805a Fix AutoModRule.edit handling of AutoModRuleEventType enum 2024-04-21 14:56:20 -04:00
d853a3f0a7 Document bulk ban user limit and permission 2024-04-18 03:39:09 -04:00
0362b2fd4e [docs] fix gateway payload hyperlinks 2024-04-18 03:38:31 -04:00
5497674ae2 Add support for applied_tags in Webhook.send overloaded methods 2024-04-18 03:38:10 -04:00