Pretty formatting for post information
Closed this issue · 0 comments
n7st commented
Currently, messages are dumped out in IRC channels like this:
pics Do you know what Yosemite means? https://i.redd.it/zqxsuvp9ajs61.jpg
pics It do be https://i.redd.it/zkwublx7ajs61.jpg
Instead, it should follow the original SubWatch format:
message = '%s "%s" posted in /r/%s by %s. %s%s' % (
style.color(prefix, style.GREEN),
thread.title,
sub,
thread.author,
thread.short_link,
style.color(' NSFW', style.RED) if thread.over_18 else ''
)