mirror of
https://github.com/hencaric/SCNewsBot.git
synced 2026-11-26 21:04:45 +00:00
v1.0.0
This commit is contained in:
1 parent
d98a0550fe
commit
c84a537e27
7 files changed
+944
-57
No files matched your search
+5
-1
@@ -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