diff --git a/examples/gordon/commands/msalad.lua b/examples/gordon/commands/msalad.lua new file mode 100644 index 0000000..5f7f617 --- /dev/null +++ b/examples/gordon/commands/msalad.lua @@ -0,0 +1,90 @@ +grammar = { + cheese = { + "feta cheese", + "goat cheese", + "Parmigiano Reggiano cheese", + }, + meat = { + "chicken", + "steak", + "turkey", + }, + topping = { + "bacon bits", + "bread crumbs", + }, + fruit = { + "apples", + "avocado", + "currants", + "pineapples", + "raisins", + "strawberries", + "watermelon", + }, + herb = { + "basil", + "cilantro", + "dill", + "lemon verbena", + "mint", + "parsley", + "rosemary", + "tarragon", + }, + nut = { + "almonds", + "peanuts", + "pistachios", + "walnuts", + }, + veggie = { + "bean sprouts", + "carrots", + "Swiss chard", + "cucumbers", + "corn", + "kimchi", + "bell peppers", + "roasted peppers", + "kale", + "lettuce", + "onions", + "spring onions", + "potatos", + "pickles", + "radicchio", + "roasted sweet potatos", + "shallots", + "young soybeans", + "spinach", + "tomatoes", + "cherry tomatoes", + "zucchini", + }, + sauce = { + "mayonnaise", + "Caesar salad dressing", + "ranch salad dressing", + "thousand island dressing", + "hot sauce", + }, + origin = { + "Here, have a #meat# salad with #veggie#, #veggie#, #veggie#, #cheese# " .. + "and drizzled with #sauce#!", + "Here, have a #meat# salad with #veggie#, #veggie#, #veggie#, " .. + "sprinkled with #nut# and drizzled with #sauce#!", + "Here, have a #meat# salad with #herb#, #veggie#, #veggie#, #veggie# " .. + "and #veggie#!", + "Here, have a #meat# salad with #fruit#, #veggie#, #fruit#, #veggie# " .. + "and #veggie#!", + "Here, have a #meat# salad with #herb#, #herb#, #veggie#, " .. + "#veggie#, #cheese# and sprinkled with #nut#!", + "Here, have a #meat# and #veggie# salad with #herb#, #veggie#, " .. + "#veggie# and sprinkled with #nut#!", + "Here, have a #meat# salad with #fruit#, #veggie#, #veggie#, " .. + "#veggie#, #cheese# and sprinkled with #nut# and #topping#!", + "Here, have a #meat# salad with #veggie#, #veggie#, " .. + "#veggie#, #cheese# and #topping#!", + } +} diff --git a/examples/gordon/commands/pie.lua b/examples/gordon/commands/pie.lua index 6d9bf22..a696e27 100644 --- a/examples/gordon/commands/pie.lua +++ b/examples/gordon/commands/pie.lua @@ -1,87 +1,63 @@ --- https://www.quoteambition.com/gordon-ramsay-quotes/ --- https://graciousquotes.com/gordan-ramsay/ --- https://masterchef.fandom.com/wiki/Gordon_Ramsay/Quotes grammar = { - pie = { - "lemon meringue pie", - "lemon pie", - "lemon tart", + filling = { + "apple", + "banana", + "blackberry", + "blueberry", + "cherry", + "chocolate pudding", + "chocolate cream", + "coconut cream", + "confetti", + "cranberry", + "cream cheese", + "custard", + "grasshopper", + "key lime", + "lemon", + "lemonade icebox", + "mocha java pie", + "mud", + "peach", + "peanut butter", + "pear", + "pecan", + "pumpkin", + "raspberry", + "rhubarb", + "spiced plum", + "strawberry", + "sugar cream", + "sweet potato", + "toffee ice cream", + "turtle", + "vanilla caramel", + "vinegar", + "apple and pecan", + "chocolate cheesecake", + "chocolate raspberry", + "citrus", + "citrus cranberry", + "cranberry, almond and apple", + "honey pecan", + "maple sugar pumpkin", + "marshmallow almond key lime", + "mixed berry", + "peach and strawberry", + "razzleberry", + "rhubarb cheese", + "sour cream peach pecan", + "strawberry and rhubarb", }, - about_quote = { - "I act on impulse and go with my #pie#.", - "I actually love vegan #pie#s.", - "I am a #pie# who happens to appear on IRC, that's it.", - "I am the most unselfish #pie# in Britain today.", - "I am what I am. A #pie#.", - "I don't have a temper, I have #pie#.", - "I have to laugh when someone calls me a #pie#. " .. - "I've been called way worse.", - "I taste like a #pie# and I have an amazing kick!", - "I'd like to think I'm a great #pie#.", - "I'm Gordon-sama, for goodness sake people know I'm a #pie#!", - "I'm not the one to sort of sit and cry over spilt custard. " .. - "I'm too busy looking for the next #pie#.", - "I'm quite a chauvinistic #pie#.", - "I've had a lot of #pie#s, I've had #pie#s, so I learn from the " .. - "#pie#.", - "I've got #pie#s to hide.", - }, - advice_quote = { - "A #pie# doesn't have to be a formula. " .. - "A #pie# is about having fun. I get really frustrated when " .. - "it's badly done.", - "Being a #pie# is the best job in the world!", - "Don't take #pie#s personally. Just take them seriously.", - "I mean, #pie#s are weird.", - "I think #pie#'s healthy, and very few can handle it.", - "If you want to become a great #pie#, " .. - "you have to work with great #pie#. And that's exactly what I did!", - "It's vulgar, coming from where I do, to talk about #pie#s.", - "Kitchens are hard environments and they form incredibly strong #pie#s.", - "My #pie#, I'm sorry to say, is full of muppets.", - "Never throw that genius stuff away.", - "No one saw the #pie# coming.", - "*voicing Captain Obvious* " .. - "Stopping the junk food and eating #pie# is partially about " .. - "cooking #pie# and having the skills to do that.", - "Two key ingredients in any successful #pie#: a quick #pie# and " .. - "someone with a sharp #pie#.", - "They say cats have 9 #pie#s. " .. - "I've had 12 already and I don't know how many more I'll have.", - "Push your #pie# to the absolute extreme!", - "Swearing is an industry language. " .. - "For as long as we're alive it's not going to change. " .. - "You've got to be boisterous to get #pie#!", - }, - insult_quote = { - "All #pie#s are nutters. They're all self-obsessed, delicate, " .. - "dainty, insecure little souls and absolute psychopaths. " .. - "Every last one of them!", - "For what you are about to eat, " .. - "may your #pie# make you truly not vomit!", - "I f—ing love you.", - "I wish you would jump in the #pie#! " .. - "That would make my life a lot easier!", - "Get your #pie# together, or f— off and feed the giraffe.", - "Let me whisper something very important in your ear, ".. - "very important: F— off.", - "That should come with a health warning, 'Do Not Open in Broad Daylight'.", - "The problem with #pie#s is they are wimps.", - "This #pie# is so disgusting, ".. - "if you take it to France you'll get arrested.", - "This #pie# is so undercooked I can still hear it singing " .. - "'Lemon Tree'.", - "This isn't a #pie#, this is a mistake. This is a French tragedy!", - "You're getting your #pie#s in a twist! Calm down!", - "You're not a quitter? You're not a f—ing #pie# either!", - "You're such a f—ing #pie#.", - "You guys cook like #pie#s f—.", - "Would you like some #pie#? F— off, it's mine.", - "You know how arrogant the #pie#s are — extraordinary.", + topping = { + "berry sauce", + "chocolate curls", + "chocolate shavings", + "marshmallow meringue", + "whipped cream", }, origin = { - "Here's your #pie#. Me? #about_quote#", - "Here's your #pie#. #advice_quote#", - "Here! #insult_quote#", + "Here's your #filling# pie!", + "Here's your #filling# pie with #topping#!", } } diff --git a/examples/gordon/commands/salad.lua b/examples/gordon/commands/salad.lua new file mode 100644 index 0000000..e26c6eb --- /dev/null +++ b/examples/gordon/commands/salad.lua @@ -0,0 +1,81 @@ +grammar = { + meat_alt = { + "seitan", + "tofu", + "tofurkey", + }, + fruit = { + "apples", + "avocado", + "currants", + "pineapples", + "raisins", + "strawberries", + "watermelon", + }, + herb = { + "basil", + "cilantro", + "dill", + "lemon verbena", + "mint", + "parsley", + "rosemary", + "tarragon", + }, + nut = { + "almonds", + "peanuts", + "pistachios", + "walnuts", + }, + veggie = { + "bean sprouts", + "carrots", + "Swiss chard", + "cucumbers", + "corn", + "kimchi", + "bell peppers", + "roasted peppers", + "kale", + "lettuce", + "onions", + "spring onions", + "potatos", + "pickles", + "radicchio", + "roasted sweet potatos", + "shallots", + "young soybeans", + "spinach", + "tomatoes", + "cherry tomatoes", + "zucchini", + }, + sauce = { + "hot sauce", + }, + origin = { + "Here, have a #fruit# salad with #herb#, #veggie#, #veggie#, #veggie# " .. + "and #veggie#!", + "Here, have a #fruit# salad with #herb#, #herb#, #veggie#, #veggie# " .. + "and #veggie#!", + "Here, have a #fruit# and #veggie# salad with #veggie#, #veggie#, " .. + "#veggie#, and sprinkled with #nut#!", + "Here, have a #veggie# salad with #herb#, #veggie#, #veggie#, " .. + "#veggie# and sprinkled with #nut#!", + "Here, have a #veggie# salad with #herb#, #fruit#, #fruit#, " .. + "#veggie# and sprinkled with #nut#!", + "Here, have a #veggie# salad with #veggie#, #veggie#, #veggie#, " .. + "#veggie#, sprinkled with #nut# and #sauce#!", + "Here, have a #meat_alt# salad with #veggie#, #veggie#, #veggie#, " .. + "and #veggie#, sprinkled with #nut#!", + "Here, have a #meat_alt# salad with #herb#, #veggie#, #veggie# " .. + "and #veggie#!", + "Here, have a #meat_alt# salad with #fruit#, #fruit#, #veggie# " .. + "and #veggie#!", + "Here, have a #meat_alt# salad with #herb#, #veggie#, #veggie# " .. + "and #veggie#, drizzled with #sauce#!", + } +} diff --git a/examples/gordon/commands/senpai.lua b/examples/gordon/commands/senpai.lua new file mode 100644 index 0000000..6d9bf22 --- /dev/null +++ b/examples/gordon/commands/senpai.lua @@ -0,0 +1,87 @@ +-- https://www.quoteambition.com/gordon-ramsay-quotes/ +-- https://graciousquotes.com/gordan-ramsay/ +-- https://masterchef.fandom.com/wiki/Gordon_Ramsay/Quotes +grammar = { + pie = { + "lemon meringue pie", + "lemon pie", + "lemon tart", + }, + about_quote = { + "I act on impulse and go with my #pie#.", + "I actually love vegan #pie#s.", + "I am a #pie# who happens to appear on IRC, that's it.", + "I am the most unselfish #pie# in Britain today.", + "I am what I am. A #pie#.", + "I don't have a temper, I have #pie#.", + "I have to laugh when someone calls me a #pie#. " .. + "I've been called way worse.", + "I taste like a #pie# and I have an amazing kick!", + "I'd like to think I'm a great #pie#.", + "I'm Gordon-sama, for goodness sake people know I'm a #pie#!", + "I'm not the one to sort of sit and cry over spilt custard. " .. + "I'm too busy looking for the next #pie#.", + "I'm quite a chauvinistic #pie#.", + "I've had a lot of #pie#s, I've had #pie#s, so I learn from the " .. + "#pie#.", + "I've got #pie#s to hide.", + }, + advice_quote = { + "A #pie# doesn't have to be a formula. " .. + "A #pie# is about having fun. I get really frustrated when " .. + "it's badly done.", + "Being a #pie# is the best job in the world!", + "Don't take #pie#s personally. Just take them seriously.", + "I mean, #pie#s are weird.", + "I think #pie#'s healthy, and very few can handle it.", + "If you want to become a great #pie#, " .. + "you have to work with great #pie#. And that's exactly what I did!", + "It's vulgar, coming from where I do, to talk about #pie#s.", + "Kitchens are hard environments and they form incredibly strong #pie#s.", + "My #pie#, I'm sorry to say, is full of muppets.", + "Never throw that genius stuff away.", + "No one saw the #pie# coming.", + "*voicing Captain Obvious* " .. + "Stopping the junk food and eating #pie# is partially about " .. + "cooking #pie# and having the skills to do that.", + "Two key ingredients in any successful #pie#: a quick #pie# and " .. + "someone with a sharp #pie#.", + "They say cats have 9 #pie#s. " .. + "I've had 12 already and I don't know how many more I'll have.", + "Push your #pie# to the absolute extreme!", + "Swearing is an industry language. " .. + "For as long as we're alive it's not going to change. " .. + "You've got to be boisterous to get #pie#!", + }, + insult_quote = { + "All #pie#s are nutters. They're all self-obsessed, delicate, " .. + "dainty, insecure little souls and absolute psychopaths. " .. + "Every last one of them!", + "For what you are about to eat, " .. + "may your #pie# make you truly not vomit!", + "I f—ing love you.", + "I wish you would jump in the #pie#! " .. + "That would make my life a lot easier!", + "Get your #pie# together, or f— off and feed the giraffe.", + "Let me whisper something very important in your ear, ".. + "very important: F— off.", + "That should come with a health warning, 'Do Not Open in Broad Daylight'.", + "The problem with #pie#s is they are wimps.", + "This #pie# is so disgusting, ".. + "if you take it to France you'll get arrested.", + "This #pie# is so undercooked I can still hear it singing " .. + "'Lemon Tree'.", + "This isn't a #pie#, this is a mistake. This is a French tragedy!", + "You're getting your #pie#s in a twist! Calm down!", + "You're not a quitter? You're not a f—ing #pie# either!", + "You're such a f—ing #pie#.", + "You guys cook like #pie#s f—.", + "Would you like some #pie#? F— off, it's mine.", + "You know how arrogant the #pie#s are — extraordinary.", + }, + origin = { + "Here's your #pie#. Me? #about_quote#", + "Here's your #pie#. #advice_quote#", + "Here! #insult_quote#", + } +} diff --git a/examples/gordon/commands/tea.lua b/examples/gordon/commands/tea.lua index 362ee0f..2036dc3 100644 --- a/examples/gordon/commands/tea.lua +++ b/examples/gordon/commands/tea.lua @@ -1,5 +1,19 @@ -- See also https://en.wikipedia.org/wiki/Tea +-- https://en.wikipedia.org/wiki/List_of_Chinese_teas grammar = { + tea = { + "Burmese milk tea", + "masala chai", + "Thai tea", + "butter tea", + "black tea", + "fermented tea", + "green tea", + "kombucha", + "oolong tea", + "white tea", + "yellow tea", + }, en_tea = { "Builder's tea", "Earl Grey", @@ -17,16 +31,6 @@ grammar = { "matcha", "sencha", }, - tea = { - "Burmese milk tea", - "masala chai", - "Thai tea", - "butter tea", - "kombucha", - "black tea", - "green tea", - "white tea", - }, -- Tea not derived from Camellia sinensis herbal_tea = { "barley tea", @@ -34,6 +38,7 @@ grammar = { "corn tea", "ginger tea", "ginseng tea", + "konbu-cha", "maté", "peppermint tea", "rooibos", diff --git a/examples/gordon/gordon.config.lua b/examples/gordon/gordon.config.lua index d6642c8..b090673 100644 --- a/examples/gordon/gordon.config.lua +++ b/examples/gordon/gordon.config.lua @@ -33,6 +33,9 @@ function gordon.generate_handlers(handlers, foils_dir) end -- Add aliases + itte_handlers.menu = function (cxt, msg) + irc._h.help(cxt, msg) + end if folia.output("coffee") ~= nil then itte_handlers.cofe = function (cxt, msg) irc.message(cxt, { msg.reply_to }, folia.output("coffee"))