Karma commited on
Commit
1121015
·
1 Parent(s): eac41bc
Files changed (1) hide show
  1. Mikobot/__main__.py +7 -5
Mikobot/__main__.py CHANGED
@@ -439,10 +439,12 @@ async def repo(update: Update, context: ContextTypes.DEFAULT_TYPE):
439
  source_link = "https://github.com/Infamous-Hydra/YaeMiko"
440
  message_text = f"*Here is the link for the public source repo*:\n\n{source_link}"
441
 
442
- await context.bot.send_message(chat_id=update.effective_chat.id,
443
- text=message_text,
444
- parse_mode=ParseMode.MARKDOWN,
445
- disable_web_page_preview=False)
 
 
446
 
447
 
448
  async def Miko_about_callback(update: Update, context: ContextTypes.DEFAULT_TYPE):
@@ -766,7 +768,7 @@ def main():
766
 
767
  function(CommandHandler("settings", get_settings))
768
  function(CallbackQueryHandler(settings_button, pattern=r"stngs_"))
769
- function(CommandHandler('repo', repo))
770
 
771
  function(CallbackQueryHandler(Miko_about_callback, pattern=r"Miko_"))
772
  function(CallbackQueryHandler(gitsource_callback, pattern=r"git_source"))
 
439
  source_link = "https://github.com/Infamous-Hydra/YaeMiko"
440
  message_text = f"*Here is the link for the public source repo*:\n\n{source_link}"
441
 
442
+ await context.bot.send_message(
443
+ chat_id=update.effective_chat.id,
444
+ text=message_text,
445
+ parse_mode=ParseMode.MARKDOWN,
446
+ disable_web_page_preview=False,
447
+ )
448
 
449
 
450
  async def Miko_about_callback(update: Update, context: ContextTypes.DEFAULT_TYPE):
 
768
 
769
  function(CommandHandler("settings", get_settings))
770
  function(CallbackQueryHandler(settings_button, pattern=r"stngs_"))
771
+ function(CommandHandler("repo", repo))
772
 
773
  function(CallbackQueryHandler(Miko_about_callback, pattern=r"Miko_"))
774
  function(CallbackQueryHandler(gitsource_callback, pattern=r"git_source"))