Move log level to settings
This commit is contained in:
@@ -32,6 +32,9 @@ class Settings(BaseSettings):
|
||||
A list or comma-separated string of IDs that are allowed access
|
||||
to the bot or application.
|
||||
|
||||
log_level : str
|
||||
The log level used for logging module.
|
||||
|
||||
Config:
|
||||
-------
|
||||
env_file : str
|
||||
@@ -45,6 +48,7 @@ class Settings(BaseSettings):
|
||||
bot_token: str
|
||||
storage: os.path
|
||||
allowed_ids: str
|
||||
log_level: str
|
||||
|
||||
class Config:
|
||||
env_file = ".env"
|
||||
|
||||
Reference in New Issue
Block a user