feat: add token in config.ini
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
6ec797a387
commit
1178c80831
4 changed files with 24 additions and 12 deletions
|
@ -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 = [
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue