mirror of
https://github.com/hencaric/SCNewsBot.git
synced 2026-08-18 23:46:03 +01:00
add auto-publish
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user