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
handling."""
try:
self.masto.toot(txt)
self.masto.toot(self.misc["toot"]["prefix"] + " " + txt)
self.irc.reply(cxt, txt + " " + self.misc["toot"]["success"])
except:
self.irc.reply(cxt, self.misc["toot"]["error"])

View File

@ -10,6 +10,8 @@ broth:
- fish
- gyokai
- roasted tuna
- milk
- curry and milk
broth-veggie:
- miso

View File

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