This commit is contained in:
Christine Dodrill 2015-11-10 21:40:10 -08:00
parent c11e785549
commit 59604ceac7
2 changed files with 9 additions and 2 deletions

View File

@ -1,6 +1,13 @@
from util import hook from util import hook
from random import choice from random import choice
from data.bobross import quotes
import json
quotes = []
with open("./plugins/data/bobross.json", "r") as fin:
print fin
quotes = json.load(fin)
@hook.regex("^[Bb]ob [Rr]oss fact$") @hook.regex("^[Bb]ob [Rr]oss fact$")
@hook.command @hook.command

View File

@ -1,4 +1,4 @@
quotes = [ [
"That's a crooked tree. We'll send him to Washington.", "That's a crooked tree. We'll send him to Washington.",
"The only thing worse than yellow snow is green snow.", "The only thing worse than yellow snow is green snow.",
"I like to beat the brush.", "I like to beat the brush.",