Skip to content

Commit c5446f3

Browse files
D. Ducklinuxdaemon
authored andcommitted
Introduce .birthday command (CloudBotIRC#223)
* Introduce .birthday food command and fix issue CloudBotIRC#222 * add birthday.json * Revert "Introduce .birthday food command and fix issue CloudBotIRC#222" This reverts commit e375ab3. * update food.py to have birthday cake command in there
1 parent fd33852 commit c5446f3

2 files changed

Lines changed: 41 additions & 0 deletions

File tree

data/food/birthday.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"templates": [
3+
"{method} {user} a {flavor} {size} piece of {type} birthday cake and sings them Happy Birthday!"
4+
],
5+
"parts": {
6+
"method": [
7+
"gives"
8+
],
9+
"flavor": [
10+
"tasty",
11+
"delectable",
12+
"delicious",
13+
"yummy",
14+
"scrumptious",
15+
"luscious"
16+
],
17+
"size": [
18+
"small",
19+
"medium-sized",
20+
"large"
21+
],
22+
"type": [
23+
"Chocolate",
24+
"Ice Cream",
25+
"Angel",
26+
"Boston Cream",
27+
"Bundt",
28+
"Carrot",
29+
"Coffee",
30+
"Devils",
31+
"Fruit",
32+
"Gingerbread",
33+
"Pound",
34+
"Red Velvet",
35+
"Stack",
36+
"Welsh",
37+
"Yokan"
38+
]
39+
}
40+
}

plugins/foods.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def __init__(self, name, unit, *commands, file=None):
5656
BasicFood("soup", "Some Soup"),
5757
BasicFood("halal", "food", "halal", "halaal"),
5858
BasicFood("kosher", "food"),
59+
BasicFood("birthday", "birthday cake"),
5960
)
6061

6162
basic_food_data = defaultdict(dict)

0 commit comments

Comments
 (0)