Commit Graph

5078 Commits

Author SHA1 Message Date
Deep Jain
643a7f4e1d Add DummyCookieJar to client owned ClientSession 2024-08-28 16:21:41 -04:00
Rapptz
624b5b7643 Use fallback audioop package for Python v3.13 or higher
Fix #9477
2024-08-28 16:17:08 -04:00
Jakub Kuczys
aeab0d48fd Fix stacklevel for Message.interaction deprecation warning 2024-08-28 16:15:58 -04:00
Andrin
34bf026a02 Add support for get sticker pack 2024-08-28 16:15:26 -04:00
Oliver Ni
f9dbe60fc4 Revert "Set socket family of connector to AF_INET"
This change was made since Discord doesn't support IPv6, and there were
concerns about clients with DNS64 enabled without NAT64.

However, this breaks hosts who don't have v4 connectivity and are
_actually_ running NAT64.

Having DNS64 without NAT64 is really an issue on the client's end. It
would break far more than just discord.py, so I don't think we should be
concerned about those cases.
2024-08-28 16:05:39 -04:00
Alex Nørgaard
d578709640 Add approximate_user_install_count to AppInfo 2024-08-28 16:00:27 -04:00
Andrin
9ab938a9ea Add Guild.fetch_role 2024-08-28 15:54:34 -04:00
Rapptz
3018fee443 Remove stale documentation in Embed.set_thumbnail 2024-08-28 15:51:17 -04:00
lmaotrigine
8104ff2ad4 [docs] Fix typehint for Embed.set_(image,thumbnail) 2024-08-28 15:50:51 -04:00
fretgfr
794f2bf149 [docs] correct hyperlink to discord docs 2024-08-28 15:48:38 -04:00
Gaurav
7cf6df166d Fix url for GIF StickerItem 2024-08-28 15:48:19 -04:00
Andrin
1c6f3c5ff1 [docs] Remove pack_id attribute from Sticker
[docs] Remove unnecessary pack_id
2024-08-28 15:37:32 -04:00
owocado
0a2faa6f5d Fix default_avatar for team user and webhook 2024-08-28 15:34:33 -04:00
Soheab
a6d1dc0455 Add support for getting the attachment's title 2024-08-28 15:32:20 -04:00
ambdroid
38bbfed717 Fix Poll.duration rounding error 2024-08-28 15:31:38 -04:00
Michael H
da89fbc8b5 Re-add client connector param
This provides paths for users to handle two entirely seperate issues

- Alternative fix for #9870
- Allows handling of windows sslcontext issues without a global
truststore.inject_into_ssl() use
2024-08-28 15:23:51 -04:00
Rapptz
c41cadfa91 Fix introduced potential TypeError with _get_command_error 2024-08-28 15:22:41 -04:00
Pipythonmc
a183a56dd9 Fix _get_command_error improperly handling some error messages 2024-08-28 15:11:12 -04:00
DA344
ff638d393d Fix Polls limiting duration at 7 days 2024-07-21 19:15:38 -04:00
Rapptz
04b2e494f7 Fix documentation for abc.GuildChannel.move to be more clear 2024-07-21 18:44:07 -04:00
Rapptz
86dd29a8e8 Properly copy banner information on updates 2024-07-16 03:03:50 -04:00
Rapptz
a13fc8f835 Add support for guild_banner and display_banner 2024-07-15 20:24:35 -04:00
Michael H
7d3eff9d9d Allow discord.Object use for permissions in channel creation 2024-07-10 07:55:16 -04:00
Jun-Ah 준아
97ca618570 Fix incorrect Select max option condition 2024-07-05 16:18:01 -04:00
Rapptz
6643784d33 [commands] Clarify Converter.convert exception raising 2024-07-05 15:11:35 -04:00
Rapptz
3a80636029 Version bump for development 2024-06-21 21:17:36 -04:00
Rapptz
978a96b25c Version bump to v2.4.0 v2.4.0 2024-06-21 21:08:59 -04:00
Alex Nørgaard
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
Rapptz
d528e8f8b5 Add information on Message.poll for Message Content Intent 2024-06-21 08:14:03 -04:00
Rapptz
c055fd32bb Fix ui.Button providing a custom_id for premium buttons 2024-06-15 07:46:36 -04:00
DA344
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
Michael H
9eac36501a Allow deletion race conditions to work with purge 2024-06-14 18:08:12 -04:00
Rapptz
fb12d3d546 Remove unnecessary warning logs for poll events 2024-06-13 23:31:14 -04:00
Rapptz
837bc35b87 Add missing versionadded for a few decorators 2024-06-12 14:42:12 -04:00
Kile
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
DA344
895d6c37df Add Permissions.use_external_apps 2024-06-11 17:31:08 -04:00
Leonardo
fdb17ead03 Fix exempt_channels not being passed along in create_automod_rule 2024-06-11 17:30:53 -04:00
Rapptz
0e58a927dd [commands] Add support for channel URLs in channel converter
Fix #9799
2024-06-02 15:51:14 -04:00
DA344
356474ffb9 Add ButtonStyle.premium 2024-06-01 03:48:50 -04:00
Leonardo
51142743bc Fix bug with cache superfluously incrementing role position 2024-05-30 22:52:19 -04:00
Soheab
cc32fb364b Add notes about contexts and installation_types availability 2024-05-30 22:51:51 -04:00
Eric Schneider
2c197649c2 Add note about archiver_id 2024-05-30 07:24:56 -04:00
DA344
205ddaff66 Update Polls event docs 2024-05-29 23:27:26 -04:00
z03h
d18f14c173 [commands] fix HelpCommand not carrying over checks
update command impl over creating new one
2024-05-29 23:24:28 -04:00
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