From bb77dc77804d6691fc8faff49963209995b640d4 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Tue, 1 Feb 2022 18:43:47 +0800 Subject: [PATCH] fix a bug --- quiet.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 quiet.py diff --git a/quiet.py b/quiet.py new file mode 100644 index 0000000..dc85f3a --- /dev/null +++ b/quiet.py @@ -0,0 +1,8 @@ +from pagermaid.listener import listener + +@listener(is_plugin=True, outgoing=True, ignore_edited=False) +async def ok_true(context): + try: + await context.delete() + except: + pass