Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pm_filter.py #4

Open
wants to merge 1 commit into
base: v1__Master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugins/pm_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ async def advantage_spell_chok(msg):
movielist += [(re.sub(r'(\-|\(|\)|_)', '', i, flags=re.IGNORECASE)).strip() for i in gs_parsed]
movielist = list(dict.fromkeys(movielist)) # removing duplicates
if not movielist:
k = await msg.reply("Hey Sona! Mujhe is naam se koi movie nhi mili, Mujhe lgta hai ki aapne spelling galat likh dii h 🤷‍♀️!\nPlease check your spelling once again 🤦‍♀️... or \n Discuss your problem with our admin here 👉 @discussion_groupp ")
k = await msg.reply(" ಹಾಯ್, ನೀವು ಹುಡುಕುತಿರುವ ಮೂವಿ ಬಿಡುಗಡೆ ಆಗಿಲ್ಲ, ಅಥವಾ ನೀವು ತಪ್ಪು ಬರೆದಿರಬಹುದು 😄 !\nPlease check your spelling once again 🤦‍♀️... ")
await asyncio.sleep(8)
await k.delete()
return
Expand All @@ -776,7 +776,7 @@ async def advantage_spell_chok(msg):
)
] for k, movie in enumerate(movielist)]
btn.append([InlineKeyboardButton(text="Close", callback_data=f'spolling#{user}#close_spellcheck')])
await msg.reply("Hey Sona! Mujhe is naam se koi movie nhi mili, Mujhe lgta hai ki aapne spelling galat likh dii h 🤷‍♀️!\nPlease check your spelling once again 🤦‍♀️... or \n Discuss your problem with our admin here 👉 @discussion_groupp ",
await msg.reply("ಹಾಯ್, ನೀವು ಹುಡುಕುತಿರುವ ಮೂವಿ ಬಿಡುಗಡೆ ಆಗಿಲ್ಲ, ಅಥವಾ ನೀವು ತಪ್ಪು ಬರೆದಿರಬಹುದು 😄 \nPlease check your spelling once again 🤦‍♀️....",
reply_markup=InlineKeyboardMarkup(btn))


Expand Down