add auto-publish

This commit is contained in:
mudkipdev committed 2023-09-20 19:12:22 -06:00
1 parent db662539ea
commit f91debeb90
3 files changed
+17

No files matched your search

+4
View File
@@ -25,6 +25,10 @@ class Config:
def repost_channels(self) -> list[int]:
return self.config["bot"].get("repost_channels", [])
@property
def publish_channels(self) -> list[int]:
return self.config["bot"].get("publish_channels", [])
@property
def allowed_guilds(self) -> list:
return self._get_allowed_objects("allowed_guilds")