diff --git a/antichannelmsg.py b/antichannelmsg.py index 2bf1b8e..45acdd2 100644 --- a/antichannelmsg.py +++ b/antichannelmsg.py @@ -61,7 +61,7 @@ async def anti_channel_msg(context): await context.edit(f"{lang('error_prefix')}{lang('arg_error')}") -@listener(is_plugin=False, incoming=True, outgoing=True, ignore_edited=True) +@listener(is_plugin=False, incoming=True, outgoing=False, ignore_edited=True) async def auto_process_channel_msg(context): """ Event handler to delete channel messages and ban channel. """ if not redis_status(): diff --git a/list.json b/list.json index 61b619a..6893790 100644 --- a/list.json +++ b/list.json @@ -712,7 +712,7 @@ }, { "name": "antichannelmsg", - "version": "1.0", + "version": "1.001", "section": "chat", "maintainer": "xtaodada", "size": "4.8 kb",