File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 'Yukon Gold' ]
5454
5555
56+ sandwich_data = {}
57+ taco_data = {}
58+ coffee_data = {}
59+ noodles_data = {}
60+ muffin_data = {}
61+ scone_data = {}
62+ rice_data = {}
63+ tea_data = {}
64+ keto_data = {}
65+ beer_data = {}
66+ cheese_data = {}
67+ pancake_data = {}
68+ chicken_data = {}
69+ icecream_data = {}
70+ brekkie_data = {}
71+ doobie_data = {}
72+ pizza_data = {}
73+ chocolate_data = {}
74+ pasta_data = {}
75+ nugget_data = {}
76+ cereal_data = {}
77+ pie_data = {}
78+ sushi_data = {}
79+ steak_data = {}
80+ milkshake_data = {}
81+ kebab_data = {}
82+
83+
5684def is_valid (target ):
5785 """ Checks if a string is a valid IRC nick. """
5886 if nick_re .match (target ):
@@ -141,10 +169,10 @@ def load_foods(bot):
141169
142170 with codecs .open (os .path .join (bot .data_dir , "steak.json" ), encoding = "utf-8" ) as f :
143171 steak_data = json .load (f )
144-
172+
145173 with codecs .open (os .path .join (bot .data_dir , "milkshake.json" ), encoding = "utf-8" ) as f :
146174 milkshake_data = json .load (f )
147-
175+
148176 with codecs .open (os .path .join (bot .data_dir , "kebab.json" ), encoding = "utf-8" ) as f :
149177 kebab_data = json .load (f )
150178
@@ -250,7 +278,7 @@ def coffee(text, action):
250278 # act out the message
251279 action (generator .generate_string ())
252280
253-
281+
254282@asyncio .coroutine
255283@hook .command
256284def noodles (text , action ):
@@ -265,7 +293,7 @@ def noodles(text, action):
265293 # act out the message
266294 action (generator .generate_string ())
267295
268-
296+
269297@asyncio .coroutine
270298@hook .command
271299def muffin (text , action ):
You can’t perform that action at this time.
0 commit comments