add search url to categories output

This commit is contained in:
Gordon Shumway 2019-03-04 17:45:52 -05:00 committed by GitHub
parent 0d85cd8bc2
commit 91d4e90da2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -408,6 +408,7 @@ class Jeopardy(callbacks.Plugin):
data = open("{0}/categories.txt".format(os.path.dirname(os.path.abspath(__file__))))
text = data.read()
reply = text.splitlines()
irc.reply("Vist http://jservice.io/search to search for more categories. Add --cat <id_number> to the start command to select category.")
irc.reply(str(reply).replace("[", "").replace("]", "").replace("'", ""))
categories = wrap(categories)