Skip to content

Commit

Permalink
Remove react filter
Browse files Browse the repository at this point in the history
Signed-off-by: Yasir Aris M <[email protected]>
  • Loading branch information
yasirarism authored Dec 30, 2023
1 parent 8091b17 commit 1b6a565
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misskaty/plugins/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ async def unban_globally(_, ctx: Message):
filters.command(["shell", "sh", "term"], COMMAND_HANDLER) & filters.user(SUDO)
)
@app.on_edited_message(
filters.command(["shell", "sh", "term"], COMMAND_HANDLER) & filters.user(SUDO) & ~filters.react
filters.command(["shell", "sh", "term"], COMMAND_HANDLER) & filters.user(SUDO)
)
@user.on_message(filters.command(["shell", "sh", "term"], ".") & filters.me)
@use_chat_lang()
Expand Down Expand Up @@ -389,7 +389,7 @@ async def shell_cmd(_, ctx: Message, strings):
)
@app.on_edited_message(
(filters.command(["ev", "run", "meval"], COMMAND_HANDLER) | filters.regex(r"app.run\(\)$"))
& filters.user(SUDO) & ~filters.react
& filters.user(SUDO)
)
@user.on_message(filters.command(["ev", "run", "meval"], ".") & filters.me)
@use_chat_lang()
Expand Down

0 comments on commit 1b6a565

Please sign in to comment.