mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
test
This commit is contained in:
parent
584f56e696
commit
1a09a7e7b1
@ -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)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user