feat: add token in config.ini

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2025-03-02 14:09:49 +03:00
parent 6ec797a387
commit 1178c80831
Signed by: mctaylors
GPG key ID: 4EEF4F949A266EE2
4 changed files with 24 additions and 12 deletions

View file

@ -26,7 +26,7 @@ async def help_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> No
async def about_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
from main import config
reply_markup = None
source_url = config.get('Source', 'Url')
source_url = config.get('General', 'SourceUrl')
if source_url.startswith('http://') or source_url.startswith('https://'):
keyboard = [
[