diff options
author | 2020-09-08 19:05:05 +0530 | |
---|---|---|
committer | 2020-09-08 19:05:05 +0530 | |
commit | 26105f38e1a3c13cc19ece9e5fe45eb3cafc3f88 (patch) | |
tree | 3c005606da6d30239b914b58ee6b501ce609ffa2 /bot | |
parent | corrected 0 option error,now wikipedia chance is not hardcoded (diff) |
Update bot/exts/evergreen/wikipedia.py
Co-authored-by: Shirayuki Nekomata <[email protected]>
Diffstat (limited to 'bot')
-rw-r--r-- | bot/exts/evergreen/wikipedia.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/wikipedia.py b/bot/exts/evergreen/wikipedia.py index ba39fc94..ae3b24d5 100644 --- a/bot/exts/evergreen/wikipedia.py +++ b/bot/exts/evergreen/wikipedia.py @@ -89,7 +89,7 @@ class WikipediaCog(commands.Cog): if response < 0: await ctx.send(f"Sorry, but you can't give negative index, {error_msg}") elif response == 0: - await ctx.send(f"Sorry, please give the range between `1` to `{l_of_list}`, {error_msg}") + await ctx.send(f"Sorry, please give an integer between `1` and `{l_of_list}`, {error_msg}") else: await ctx.send(WIKIPEDIA_URL.format(title=titles_no_underscore[response - 1])) break |