This repository has been archived on 2024-07-28. You can view files and clone it, but cannot push or open issues or pull requests.
moderator-bot/handlers/channels/channels_handler.py

8 lines
148 B
Python
Raw Normal View History

2023-01-22 05:27:20 -05:00
from load import dp, types
from config import group_id
2022-08-07 04:45:35 -04:00
2022-11-26 10:50:24 -05:00
2023-02-18 08:16:54 -05:00
@dp.channel_post()
async def channel_handler(message):
await message.forward(group_id)