From e55631bfb71442e8f3b5c8161fff8f7aeb6822da Mon Sep 17 00:00:00 2001 From: blank X Date: Mon, 16 Nov 2020 15:52:48 +0700 Subject: [PATCH] Document specifying page for anilist, Urban Dictionary and Wikipedia --- sukuinote/plugins/anilist.py | 2 +- sukuinote/plugins/ud.py | 2 +- sukuinote/plugins/wikipedia.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sukuinote/plugins/anilist.py b/sukuinote/plugins/anilist.py index f0a94e5..f15c6a4 100644 --- a/sukuinote/plugins/anilist.py +++ b/sukuinote/plugins/anilist.py @@ -39,7 +39,7 @@ async def anilist(client, message): await message.reply_text(text, disable_web_page_preview=True, parse_mode='through') help_dict['anilist'] = ('Anilist', -'''{prefix}anilist <query> - Searches for anime/manga named <query> on Anilist +'''{prefix}anilist [page] <query> - Searches for anime/manga named <query> on Anilist Aliases: {prefix}al Can also be activated inline with: @{bot} anilist <query> or @{bot} al <query> diff --git a/sukuinote/plugins/ud.py b/sukuinote/plugins/ud.py index 31996e9..450f97b 100644 --- a/sukuinote/plugins/ud.py +++ b/sukuinote/plugins/ud.py @@ -32,6 +32,6 @@ async def ud(client, message): await message.reply_text({'message': results.results[page].send_message.message, 'entities': results.results[page].send_message.entities}, disable_web_page_preview=True, parse_mode='through') help_dict['ud'] = ('Urban Dictionary', -'''{prefix}urbandictionary <query> - Gets the definition of <query> via Urban Dictionary +'''{prefix}urbandictionary [page] <query> - Gets the definition of <query> via Urban Dictionary Aliases: {prefix}ud Can also be activated inline with: @{bot} urbandictionary <query> or @{bot} ud <query>''') diff --git a/sukuinote/plugins/wikipedia.py b/sukuinote/plugins/wikipedia.py index e09218e..c4513cf 100644 --- a/sukuinote/plugins/wikipedia.py +++ b/sukuinote/plugins/wikipedia.py @@ -32,6 +32,6 @@ async def wikipedia(client, message): await message.reply_text({'message': results.results[page].send_message.message, 'entities': results.results[page].send_message.entities}, disable_web_page_preview=True, parse_mode='through') help_dict['wikipedia'] = ('Wikipedia', -'''{prefix}wikipedia <query> - Searches for <query> on Wikipedia +'''{prefix}wikipedia [page] <query> - Searches for <query> on Wikipedia Aliases: {prefix}w, {prefix}wiki Can also be activated inline with: @{bot} wikipedia <query> or @{bot} wiki <query> or @{bot} w <query>''')