mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-12 22:49:53 -05:00
commit
2c2beb7e9d
@ -116,6 +116,7 @@ class Bothttpcodes():
|
|||||||
"query": cachedict["query"],
|
"query": cachedict["query"],
|
||||||
"basic": cachedict["basic"],
|
"basic": cachedict["basic"],
|
||||||
"explanation": cachedict["explanation"],
|
"explanation": cachedict["explanation"],
|
||||||
|
"error": False
|
||||||
}
|
}
|
||||||
|
|
||||||
def check_cache(self, query):
|
def check_cache(self, query):
|
||||||
|
|||||||
@ -32,4 +32,7 @@ def bot_command_http_codes(bot, trigger, botcom):
|
|||||||
elif query == "69":
|
elif query == "69":
|
||||||
message.extend(["Oral Fixation", "Round and Round they go, where they stop: nobody knows"])
|
message.extend(["Oral Fixation", "Round and Round they go, where they stop: nobody knows"])
|
||||||
|
|
||||||
|
else:
|
||||||
|
message.extend([result["basic"], result["explanation"]])
|
||||||
|
|
||||||
bot.osd(message)
|
bot.osd(message)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user