Switch back to +/- instead of thumbs up/down emojis
Diff
dave/modules/urbandictionary.py | 2 +-
dave/modules/youtube.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
@@ -43,7 +43,7 @@
if len(definition) > 200:
definition = definition[:197] + "..."
definition = assembleFormattedText(A.normal[A.bold[str(res["word"])], ": {} [by {}, 👍 {} 👎 {}] [more at {}]".format(
definition = assembleFormattedText(A.normal[A.bold[str(res["word"])], ": {} [by {}, +{}/-{}] [more at {}]".format(
definition,
res["author"],
res["thumbs_up"],
@@ -39,7 +39,7 @@
bot.msg(source, assembleFormattedText(
A.normal[
A.bold[resp["snippet"]["title"]],
" ({}) by {} uploaded {}. {} views, 👍 {} 👎 {}.".format(
" ({}) by {} uploaded {}. {} views, +{}/-{}.".format(
str(isodate.parse_duration(resp["contentDetails"]["duration"])),
resp["snippet"]["channelTitle"],
naturaltime(