mirror of
https://github.com/hencaric/SCNewsBot.git
synced 2026-08-18 15:36:03 +01:00
v1.0.0
This commit is contained in:
@@ -7,7 +7,7 @@ class Config:
|
||||
|
||||
@property
|
||||
def embed_color(self) -> int:
|
||||
return 0x1ABC9C
|
||||
return 0x0504AA
|
||||
|
||||
@property
|
||||
def debug(self) -> bool:
|
||||
@@ -21,6 +21,10 @@ class Config:
|
||||
def extensions(self) -> list:
|
||||
return self.config["bot"].get("extensions", ["jishaku"])
|
||||
|
||||
@property
|
||||
def repost_channels(self) -> list[int]:
|
||||
return self.config["bot"].get("repost_channels", [])
|
||||
|
||||
@property
|
||||
def allowed_guilds(self) -> list:
|
||||
return self._get_allowed_objects("allowed_guilds")
|
||||
|
||||
Reference in New Issue
Block a user