This commit is contained in:
deathbybandaid 2019-10-04 10:07:42 -04:00
parent 584f56e696
commit 1a09a7e7b1

View File

@ -25,6 +25,8 @@ def bot_command_http_codes(bot, trigger, botcom):
return bot.osd("You must provide a HTTP status code to look up.")
message = ["[HTTP code search for " + str(query) + "]"]
result = SpiceBot.httpcodes.fetch_result(str(query))
bot.say(result["basic"])
bot.say(result["explanation"])
message.append([result["basic"], result["explanation"]])
bot.osd(message)