Skip to content

Commit 2c144be

Browse files
committed
Fix bug on reply: https://bit.ly/3CSw4MU
1 parent 99fe4f6 commit 2c144be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def main():
100100
dp.add_handler(CommandHandler('status', command_status))
101101
dp.add_handler(MessageHandler(Filters.status_update.new_chat_members,
102102
welcome, run_async=True))
103-
dp.add_handler(MessageHandler(Filters.chat_type.group, reply))
103+
dp.add_handler(MessageHandler(Filters.chat_type.groups, reply))
104104

105105
logger.info('Bot is ready')
106106
updater.start_polling(poll_interval=config.POLL_INTERVAL)

0 commit comments

Comments
 (0)