mirror of
https://github.com/anasty17/mirror-leech-telegram-bot.git
synced 2025-01-09 04:47:34 +08:00
Fix torrent search
This commit is contained in:
parent
7b9457cc89
commit
a811dee88c
@ -44,7 +44,7 @@ def torser(update, context):
|
||||
user_id = update.message.from_user.id
|
||||
buttons = ButtonMaker()
|
||||
SEARCH_PLUGINS = config_dict['SEARCH_PLUGINS']
|
||||
if SITES is None and SEARCH_PLUGINS:
|
||||
if SITES is None and not SEARCH_PLUGINS:
|
||||
sendMessage("No API link or search PLUGINS added for this function", context.bot, update.message)
|
||||
elif len(context.args) == 0 and SITES is None:
|
||||
sendMessage("Send a search key along with command", context.bot, update.message)
|
||||
|
Loading…
Reference in New Issue
Block a user