feat: handle some links directly and add report links features

This commit is contained in:
草师傅 2025-08-01 14:27:55 +08:00
parent fe9da1a819
commit c9762da447
5 changed files with 71 additions and 15 deletions

View file

@ -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