Skip to content

Commit

Permalink
Update eval.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SHIVANIxBOTZ authored Jun 10, 2024
1 parent 5e4a9c2 commit 3e09933
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions StringGen/modules/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
import traceback
from inspect import getfullargspec
from io import StringIO
from time import time
from time import time
from Shivani import Owner

from pyrogram import filters
from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup, Message
Expand All @@ -30,13 +31,13 @@ async def edit_or_reply(msg: Message, **kwargs):

@Anony.on_edited_message(
filters.command("eval")
& filters.user(OWNER_ID)
& filters.user(Owner)
& ~filters.forwarded
& ~filters.via_bot
)
@Anony.on_message(
filters.command("eval")
& filters.user(OWNER_ID)
& filters.user(Owner)
& ~filters.forwarded
& ~filters.via_bot
)
Expand Down Expand Up @@ -140,13 +141,13 @@ async def forceclose_command(_, CallbackQuery):

@Anony.on_edited_message(
filters.command("sh")
& filters.user(OWNER_ID)
& filters.user(Owner)
& ~filters.forwarded
& ~filters.via_bot
)
@Anony.on_message(
filters.command("sh")
& filters.user(OWNER_ID)
& filters.user(Owner)
& ~filters.forwarded
& ~filters.via_bot
)
Expand Down

0 comments on commit 3e09933

Please sign in to comment.