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
169 B
Python

from load import dp,types
from config import group_id
@dp.channel_post_handler()
async def channel_handler(message:types.Message):
await message.forward(group_id)