feat: handle some links directly and add report links features
This commit is contained in:
parent
fe9da1a819
commit
c9762da447
5 changed files with 71 additions and 15 deletions
|
@ -23,6 +23,10 @@ class Config:
|
|||
"""Get admin user ID"""
|
||||
return self.config_data.get('admin')
|
||||
|
||||
def get_developer_id(self) -> Optional[int]:
|
||||
"""Get developer user ID"""
|
||||
return self.config_data.get('dev')
|
||||
|
||||
def is_feature_enabled(self, feature_name: str, chat_id: Optional[int] = None) -> bool:
|
||||
"""
|
||||
Check if a feature is enabled for a specific chat or globally
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue