Skip to content

Commit

Permalink
[MissKaty] No need this because I have stopped my movies groups
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 26, 2023
1 parent 449273a commit bb266ee
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions misskaty/plugins/filter_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@
chat = [-1001128045651, -1001255283935, -1001455886928]
REQUEST_DB = {}

# This modules is only working for my movies group to help collect a list of film requests by members.

@app.on_message(filters.regex(r"alamu'?ala[iy]ku+m", re.I) & filters.chat(chat))
# @app.on_message(filters.regex(r"alamu'?ala[iy]ku+m", re.I) & filters.chat(chat))
async def salamregex(_, message):
await message.reply_text(text=f"Wa'alaikumsalam {message.from_user.mention} 😇")


# -1001255283935 is YMovieZ Group, and -1001575525902 is channel id which contains a collection of ddard member requests from the group.
@app.on_message(
filters.regex(r"#request|#req", re.I)
& (filters.text | filters.photo)
Expand Down Expand Up @@ -143,10 +145,10 @@ async def clear_reqdict():
shutil.rmtree("GensSS", ignore_errors=True)


@app.on_message(
filters.regex(r"makasi|thank|terimakasih|terima kasih|mksh", re.I)
& filters.chat(chat)
)
# @app.on_message(
# filters.regex(r"makasi|thank|terimakasih|terima kasih|mksh", re.I)
# & filters.chat(chat)
# )
async def thankregex(_, message):
pesan = [
f"Sama-sama {message.from_user.first_name}",
Expand Down

0 comments on commit bb266ee

Please sign in to comment.