Skip to content

Commit

Permalink
Comment out restart handler
Browse files Browse the repository at this point in the history
Signed-off-by: Jyotiraditya Panda <[email protected]>
  • Loading branch information
imjyotiraditya committed Nov 3, 2024
1 parent 3c4a9be commit 7563b13
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dumpyarabot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from telegram.ext import ApplicationBuilder, CommandHandler

from dumpyarabot.handlers import cancel_dump, dump, restart
from dumpyarabot.handlers import cancel_dump, dump

from .config import settings

Expand All @@ -13,10 +13,11 @@

dump_handler = CommandHandler("dump", dump)
cancel_dump_handler = CommandHandler("cancel", cancel_dump)
restart_handler = CommandHandler("restart", restart)
# TODO: Fix the restart handler implementation
# restart_handler = CommandHandler("restart", restart)
application.add_handler(dump_handler)
application.add_handler(cancel_dump_handler)
application.add_handler(restart_handler)
# application.add_handler(restart_handler)

application.run_polling()

Expand Down

0 comments on commit 7563b13

Please sign in to comment.