feat(admin): add admin notification system for deposits, purchases, and renewals
This commit is contained in:
@@ -12,6 +12,11 @@ class Settings(BaseSettings):
|
||||
|
||||
bot_token: str = Field(alias="BOT_TOKEN")
|
||||
admins: list[int] = Field(alias="ADMINS")
|
||||
admin_log_chat_id: int | None = Field(None, alias="ADMIN_LOG_CHAT_ID")
|
||||
admin_log_deposit_topic_id: int | None = Field(None, alias="ADMIN_LOG_DEPOSIT_TOPIC_ID")
|
||||
admin_log_subscriptions_topic_id: int | None = Field(
|
||||
None, alias="ADMIN_LOG_SUBSCRIPTIONS_TOPIC_ID"
|
||||
)
|
||||
|
||||
pally_shop_id: str = Field(alias="PALLY_SHOP_ID")
|
||||
pally_token: str = Field(alias="PALLY_TOKEN")
|
||||
@@ -36,7 +41,5 @@ class Settings(BaseSettings):
|
||||
|
||||
autorenew_days_before: int = Field(1, alias="AUTORENEW_DAYS_BEFORE")
|
||||
|
||||
autorenew_days_before: int = Field(1, alias="AUTORENEW_DAYS_BEFORE")
|
||||
|
||||
|
||||
settings = Settings() # type: ignore
|
||||
|
||||
Reference in New Issue
Block a user