create a function for populating top-level guild lookup lists
This commit is contained in:
parent
7fb5e45b09
commit
8e5232ef80
1 changed files with 7 additions and 0 deletions
|
|
@ -108,6 +108,13 @@ class TextSettingsWindow(SettingsWindow):
|
|||
if in_list[key]["type"] == 0:
|
||||
self.list_channels_keys.append(key)
|
||||
self.list_channels_keys.sort()
|
||||
|
||||
def set_guilds(self, in_list):
|
||||
self.list_guilds = in_list
|
||||
self.list_guilds_keys = []
|
||||
for key in in_list.keys():
|
||||
self.list_guilds_keys.append(key)
|
||||
self.list_guilds_keys.sort()
|
||||
|
||||
def read_config(self):
|
||||
config = ConfigParser(interpolation=None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue