mirror of
https://github.com/hencaric/SCNewsBot.git
synced 2026-11-25 12:28:35 +00:00
minor tweaks
This commit is contained in:
1 parent
8b5c8041ff
commit
231da5e507
3 files changed
+11
-6
No files matched your search
@@ -5,6 +5,10 @@ class Config:
|
||||
def __init__(self, config: dict):
|
||||
self.config = config
|
||||
|
||||
@property
|
||||
def embed_color(self) -> int:
|
||||
return 0x1ABC9C
|
||||
|
||||
@property
|
||||
def debug(self) -> bool:
|
||||
return self.config.get("debug", False)
|
||||
|
||||
Reference in new issue
Block a user