Minor text edit

trunk
mio 2019-04-01 18:12:46 +00:00
parent cdc722510b
commit ead6eeeb24
3 changed files with 5 additions and 2 deletions

View File

@ -160,7 +160,7 @@ class Ramen:
"""Wrap around the Mastodon library's toot command for basic error """Wrap around the Mastodon library's toot command for basic error
handling.""" handling."""
try: try:
self.masto.toot(txt) self.masto.toot(self.misc["toot"]["prefix"] + " " + txt)
self.irc.reply(cxt, txt + " " + self.misc["toot"]["success"]) self.irc.reply(cxt, txt + " " + self.misc["toot"]["success"])
except: except:
self.irc.reply(cxt, self.misc["toot"]["error"]) self.irc.reply(cxt, self.misc["toot"]["error"])

View File

@ -10,6 +10,8 @@ broth:
- fish - fish
- gyokai - gyokai
- roasted tuna - roasted tuna
- milk
- curry and milk
broth-veggie: broth-veggie:
- miso - miso
@ -94,7 +96,7 @@ meat:
tapa: tapa:
- gyoza # dumplings (fried) - gyoza # dumplings (fried)
- karaage # fried chicken - karaage # fried chicken
- tako wasabi # marinated octopus - tako wasabi # marinated octopus
- takoyaki # octopus balls - takoyaki # octopus balls
- corn and shrimp salad - corn and shrimp salad

View File

@ -23,5 +23,6 @@ botsnack:
- "Ramen time anytime! 自o(´▽` )/" - "Ramen time anytime! 自o(´▽` )/"
toot: toot:
prefix: "Now serving:"
success: "Now shared with Mastodon! ()" success: "Now shared with Mastodon! ()"
error: "Hyuuuuu! Sorry, I can't seem to toot right now. Ask me again later." error: "Hyuuuuu! Sorry, I can't seem to toot right now. Ask me again later."