This commit is contained in:
deathbybandaid 2019-10-04 09:14:01 -04:00
parent dc4cd287d1
commit 86b8a0f4bc

View File

@ -23,6 +23,7 @@ def bot_command_http_codes(bot, trigger, botcom):
query = spicemanip(botcom.dict["args"], 1) or None query = spicemanip(botcom.dict["args"], 1) or None
if not query: if not query:
return bot.osd("You must provide a HTTP status code to look up.") return bot.osd("You must provide a HTTP status code to look up.")
bot.say(str(query))
result = fetch_result(query) result = fetch_result(query)
bot.osd(["[HTTP code search for " + str(query) + "]", result]) bot.osd(["[HTTP code search for " + str(query) + "]", result])