Add refresh table command.
This commit is contained in:
@@ -202,6 +202,17 @@ class Guild:
|
||||
return self._table_map[table_name]
|
||||
return None
|
||||
|
||||
def get_tables(self) -> dict:
|
||||
"""
|
||||
Getter for dict of table names and tables.
|
||||
|
||||
Returns:
|
||||
dict: Dictionary consisting of the Table Names and the Table object itself.
|
||||
"""
|
||||
|
||||
# I don't know if this is const data. Don't want to allow data to be written as a result of this function.
|
||||
return self._table_map
|
||||
|
||||
def to_dict(self) -> dict:
|
||||
"""
|
||||
Creates python dictionary object from class data.
|
||||
|
||||
Reference in New Issue
Block a user