diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2019-11-01 20:33:06 +0000 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2019-11-01 20:33:06 +0000 |
commit | 4a9f566d2d45c7634a4b4ee4ccde7a1a4afe528b (patch) | |
tree | 3ef0b1647bed82ca9394c60d7df76382428a8254 /SmallYTChannelBotSubmissions.py | |
parent | 252c46659ea25bb359a187b65d5bbb7fadc58426 (diff) | |
download | SmallYTChannelBot-4a9f566d2d45c7634a4b4ee4ccde7a1a4afe528b.tar.gz SmallYTChannelBot-4a9f566d2d45c7634a4b4ee4ccde7a1a4afe528b.zip |
added old graph link to wiki posts
Diffstat (limited to 'SmallYTChannelBotSubmissions.py')
-rwxr-xr-x | SmallYTChannelBotSubmissions.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/SmallYTChannelBotSubmissions.py b/SmallYTChannelBotSubmissions.py index 9c75f6b..f74ea2e 100755 --- a/SmallYTChannelBotSubmissions.py +++ b/SmallYTChannelBotSubmissions.py @@ -110,7 +110,9 @@ def _update_tables(scores, data): λ = "∞" content += "\n/u/%s|%s|%i" % (line[0], λ, line[2]) - content += "\n\n##Statistics from %s:\n\n\n\nTotal λ in circulation|Useful advice given|Unique users\n:--|:--|:--\n%i|%i|%i" % (date, data[-1][1], data[-1][2], data[-1][3]) + content += "\n\n##Statistics from %s:\n\nIf you're looking at this through the wiki, not through the bot's profile, then" % (date) + content += "the most up-to-date graph will be shown below. To see the graph at this date, follow [this link.](%s)" % (imageurl) + content += "\n\n\n\nTotal λ in circulation|Useful advice given|Unique users\n:--|:--|:--\n%i|%i|%i" % (data[-1][1], data[-1][2], data[-1][3]) reddit.subreddit("u_SmallYTChannelBot").submit("/r/SmallYTChannel Statistics: %s" % date, url = imageurl).reply(content).mod.distinguish(sticky = True) |