Clarified to_dict function description.

This commit is contained in:
alwayscompiling
2022-08-01 21:12:46 -04:00
parent 3d471198f5
commit 96fce1d661
3 changed files with 12 additions and 3 deletions
+4 -1
View File
@@ -95,7 +95,10 @@ class Guild:
self._table_map[table.name] = table
def to_dict(self) -> dict:
"""Creates python dictionary object from class data."""
"""
Creates python dictionary object from class data.
Does not include guild_id in dict, it should be the key of above data structure.
"""
data: dict = {}
data["highscore_channel_id"] = self.highscore_channel