Prepare for v1.3.1

This commit is contained in:
Tanner 2015-02-18 22:09:31 -06:00
parent 9baf7d142f
commit ecc3f2ae37
3 changed files with 5 additions and 4 deletions

View File

@ -12,8 +12,9 @@
3. Unload TriviaTime. Since you are unloading the plugin, you will not have to restart or kill your bot.
4. Do not delete any files in TriviaTime/storage during this process (aside from samplequestions, if you wish).
5. Copy over the changed files.
* Version v1.1 to v1.3 files changed **README.md, plugin.py, config.py, __init__.py, samplequestions -> questions** (changes to config adds new value, removes another, improves others)
* Version v1.2 to v1.3 files changed **README.md, plugin.py, config.py, __init__.py, samplequestions -> questions** (changes to config adds new value, improves others)
* Version v1.1 to v1.3.1 files changed: **plugin.py, config.py, __init__.py, samplequestions -> questions** (changes to config adds new value, removes another, improves others)
* Version v1.2 to v1.3.1 files changed: **plugin.py, config.py, __init__.py, samplequestions -> questions** (changes to config adds new value, improves others)
* Version v1.3 to v1.3.1 files changed: **plugin.py, __init__.py **
6. If there were any changes to the database, they should be updated automatically. Otherwise, further instructions for updating that version will appear here.
7. If config.py was changed, you will need to manually add your desired values again. You can compare the previous file (the backup) to the new file. (v1.1)
8. Load TriviaTime again. If you followed the instructions correctly, you won't have an error.

View File

@ -14,7 +14,7 @@ import supybot.world as world
# Use this for the version of this plugin. You may wish to put a CVS keyword
# in here if you're keeping the plugin in CVS or some similar system.
__version__ = "v1.3"
__version__ = "v1.3.1"
# XXX Replace this with an appropriate author or supybot.Author instance.
__author__ = supybot.Author('Tanner', 'tann',

View File

@ -3482,7 +3482,7 @@ class TriviaTime(callbacks.Plugin):
threadStorage = Storage(dbLocation)
totalUsersEver = threadStorage.getNumUser(channel)
numActiveThisWeek = threadStorage.getNumActiveThisWeek(channel)
infoText = ' TriviaTime v1.3 by Trivialand on Freenode: https://github.com/tannn/TriviaTime '
infoText = ' TriviaTime v1.3.1 by Trivialand on Freenode: https://github.com/tannn/TriviaTime '
self.reply(irc, msg, infoText, prefixNick=False)
infoText = '\x02 %d Users\x02 on scoreboard with \x02%d Active This Week\x02' % (totalUsersEver, numActiveThisWeek)
self.reply(irc, msg, infoText, prefixNick=False)