added threads accessor to Guild in session.py
@@ -337,6 +337,10 @@ class guild(Session):
def large(self): #slightly different naming format since it returns a boolean, large if more than 250 members
return Session.settings_ready['guilds'][self.guildID]['large']
+ @property
+ def threads(self):
+ return Session.settings_ready['guilds'][self.guildID]['threads']
+
@property
def explicitContentFilter(self): #https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level
return Session.settings_ready['guilds'][self.guildID]['explicit_content_filter']
