Skip to content

Commit

Permalink
fix: remove rebase code
Browse files Browse the repository at this point in the history
  • Loading branch information
TendTo committed Nov 20, 2023
1 parent 40ff876 commit ce35620
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/spotted/handlers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,6 @@ def add_handlers(app: Application):
app.add_handler(report_user_conv_handler())
app.add_handler(report_spot_conv_handler())

# remove anonymous comments
if Config.meme_get('delete_anonymous_comments'):
disp.add_handler(
MessageHandler(Filters.sender_chat.channel & Filters.chat_type.groups & ~Filters.is_automatic_forward,
anonymous_comment_msg,
run_async=True))

# Command handlers
app.add_handler(CommandHandler("start", start_cmd, filters=filters.ChatType.PRIVATE))
app.add_handler(CommandHandler("help", help_cmd, filters=filters.ChatType.PRIVATE | admin_filter))
Expand Down

0 comments on commit ce35620

Please sign in to comment.