diff --git a/CHANGELOG.md b/CHANGELOG.md index 08cb7d9391..d77dee89d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,8 @@ These changes are available on the `master` branch, but have not yet been releas channels. ([#2603](https://github.com/Pycord-Development/pycord/pull/2603)) - Fixed `SlashCommand`'s `ctx` parameter couldn't be `Union` type. ([#2611](https://github.com/Pycord-Development/pycord/pull/2611)) +- Fixed `TypeError` when passing `skus` parameter in `Client.entitlements()`. + ([#2627](https://github.com/Pycord-Development/pycord/issues/2627)) ### Changed diff --git a/discord/http.py b/discord/http.py index 26b584ba7e..1ca3135f8d 100644 --- a/discord/http.py +++ b/discord/http.py @@ -3012,7 +3012,7 @@ def list_entitlements( if user_id is not None: params["user_id"] = user_id if sku_ids is not None: - params["sku_ids"] = ",".join(sku_ids) + params["sku_ids"] = ",".join(str(sku_id) for sku_id in sku_ids) if before is not None: params["before"] = before if after is not None: