Skip to content

Commit

Permalink
Add new command :D
Browse files Browse the repository at this point in the history
  • Loading branch information
ApsiV11 committed Oct 3, 2024
1 parent 4586873 commit 78951d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Binary file added assets/jauho.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions vaalilakanabot2024.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,14 @@ def jauh(update, context):
updater.bot.send_sticker(chat_id, photo)
except Exception as e:
logger.warning("Error in sending Jauh %s", e)

def jauho(update, context):
try:
chat_id = update.message.chat.id
with open("assets/jauho.png", "rb") as photo:
updater.bot.send_sticker(chat_id, photo)
except Exception as e:
logger.warning("Error in sending Jauh %s", e)


def lauh(update, context):
Expand Down Expand Up @@ -616,6 +624,7 @@ def main():
dp.add_handler(CommandHandler("start", register_channel))
dp.add_handler(CommandHandler("jauhis", jauhis))
dp.add_handler(CommandHandler("jauh", jauh))
dp.add_handler(CommandHandler("jauho", jauho))
dp.add_handler(CommandHandler("lauh", lauh))
dp.add_handler(CommandHandler("mauh", mauh))

Expand Down

0 comments on commit 78951d0

Please sign in to comment.