Skip to content

Fixed some things - #96

Open
Veyvixx wants to merge 9 commits into
top-gg-community:masterfrom
Veyvixx:master
Open

Veyvixx wants to merge 9 commits into
top-gg-community:masterfrom
Veyvixx:master

Conversation

@Veyvixx

@Veyvixx Veyvixx commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Fixes #

Proposed Changes

Veyvixx added 9 commits May 3, 2026 16:19
title[100:] -> title[:100] and content[2000:] -> content[:2000]. The old code was discarding the first N characters instead of keeping them.
Added user attribute to webhook payload class.
Removed __slots__ declaration from Locale class.
Added details about the new features and changes in version 2.0.0 and 2.0.0a of the SDK for Top.gg API.
Comment thread topgg/locale.py
class Locale(Enum):
"""A supported locale."""

__slots__: tuple[str, ...] = ()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why delete this?

@null8626 null8626 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I would love for you to add explanations as to what your pull request does, for the most part it looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants