Skip to content

Commit

Permalink
feat: remove guilds
Browse files Browse the repository at this point in the history
  • Loading branch information
null8626 committed Feb 17, 2025
1 parent 61ed3c6 commit db26b68
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion tests/test_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"username": "Luca",
"date": "2017-04-26T18:08:17.125Z",
"server_count": 2,
"guilds": ["417723229721853963", "264445053596991498"],
"monthlyPoints": 19,
"points": 397,
"owners": ["129908908096487424"],
Expand Down
5 changes: 0 additions & 5 deletions topgg/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@ def parse_bot_dict(d: dict) -> dict:

if data.get("owners"):
data["owners"] = [int(e) for e in data["owners"]]
if data.get("guilds"):
data["guilds"] = [int(e) for e in data["guilds"]]

for key, value in data.copy().items():
converted_key = camel_to_snake(key)
Expand Down Expand Up @@ -239,9 +237,6 @@ class BotData(DataDict[str, t.Any]):
owners: t.List[int]
"""The IDs of the owners of the bot."""

guilds: t.List[int]
"""The guilds the bot is in."""

invite: t.Optional[str]
"""The invite URL of the bot."""

Expand Down

0 comments on commit db26b68

Please sign in to comment.