Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit db26b68

Browse files
committedFeb 17, 2025··
feat: remove guilds
1 parent 61ed3c6 commit db26b68

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed
 

‎tests/test_type.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"username": "Luca",
2222
"date": "2017-04-26T18:08:17.125Z",
2323
"server_count": 2,
24-
"guilds": ["417723229721853963", "264445053596991498"],
2524
"monthlyPoints": 19,
2625
"points": 397,
2726
"owners": ["129908908096487424"],

‎topgg/types.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ def parse_bot_dict(d: dict) -> dict:
9494

9595
if data.get("owners"):
9696
data["owners"] = [int(e) for e in data["owners"]]
97-
if data.get("guilds"):
98-
data["guilds"] = [int(e) for e in data["guilds"]]
9997

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

242-
guilds: t.List[int]
243-
"""The guilds the bot is in."""
244-
245240
invite: t.Optional[str]
246241
"""The invite URL of the bot."""
247242

0 commit comments

Comments
 (0)
Please sign in to comment.