Add veggie ramen toot variant

trunk
mio 2018-09-17 23:23:34 +00:00
parent 884261c783
commit 6984c4a8df
2 changed files with 3 additions and 3 deletions

View File

@ -38,12 +38,13 @@ class Ramen:
self.irc.listen(cxt, "water " + self.cfg["bot_nick"], self.water) self.irc.listen(cxt, "water " + self.cfg["bot_nick"], self.water)
self.irc.listen(cxt, "botsnack " + self.cfg["bot_nick"], self.botsnack) self.irc.listen(cxt, "botsnack " + self.cfg["bot_nick"], self.botsnack)
self.irc.listen(cxt, "ramen", self.ramen) self.irc.listen(cxt, "ramen", self.ramen)
self.irc.listen(cxt, "veggieramen", self.ramen_veggie) self.irc.listen(cxt, "vramen", self.ramen_veggie)
self.irc.listen(cxt, "rk", self.ramen) self.irc.listen(cxt, "rk", self.ramen)
self.irc.listen(cxt, "rkveg", self.ramen_veggie) self.irc.listen(cxt, "rkveg", self.ramen_veggie)
self.irc.listen(cxt, "rklink", self.link) self.irc.listen(cxt, "rklink", self.link)
self.irc.listen(cxt, "rkselfie", self.selfie) self.irc.listen(cxt, "rkselfie", self.selfie)
self.irc.listen(cxt, "rktoot", self.toot) self.irc.listen(cxt, "rktoot", self.toot)
self.irc.listen(cxt, "rkvtoot", self.toot_veggie)
def quit(self, cxt): def quit(self, cxt):
"""Disconnect from the server and quit.""" """Disconnect from the server and quit."""
@ -168,6 +169,5 @@ class Ramen:
self.irc.reply(cxt, pick + " " + self.misc["toot"]) self.irc.reply(cxt, pick + " " + self.misc["toot"])
app = Ramen() app = Ramen()
app.main() app.main()

View File

@ -1,7 +1,7 @@
rollcall: rollcall:
"一、二、三、らーめん缶! "一、二、三、らーめん缶!
Hello, I am a ramen vending machine. Please type a code for service: Hello, I am a ramen vending machine. Please type a code for service:
!help !ramen !veggieramen !rklink !rkselfie !rktoot !help !ramen !vramen !rklink !rkselfie !rktoot !rkvtoot
- Support: +81 012-700-1MIO どうぞめしあがれ。" - Support: +81 012-700-1MIO どうぞめしあがれ。"
water: water: