- Updated Storage.getTop3() methods to take in channel parameter to pass
into queries
- Updated 'list' commands to only show reports for the specified channel
when not in 'globalstats' mode
- Moved Storage.getEditTop3() to a more logical location
- Reverted functionality back to original state after breaking with the
introduction of TriviaTime.getUsername()
- Still does not properly convert nick into username
- Both methods now return dicts
- getUser() no longer appends the results of getUserRanks()
- Updated calls with new usage
- Added some comments for readability
- Renamed Storage.getUser() to Storage.getUserStat()
- Renamed Storage.getUserRanks() to Storage.getUserRank()
In plugin.py:
* Updated version
* created getTimeLeft
* Changed next() message
* Changed regex message when reporting
* Changed restore question messages
* Included timeSeconds when inactive users try to skip
* Included skipSeconds when a user tries to skip again
In config.py:
* Updated skipActiveTime definition to include seconds
* Improved skipTime, quizfile, showstats, skipTime, hintTime, hintKAOS,
waitTime, enableVoice, timeoutVoice, nextMinStreak, skipThreshold,
definition
In README.md:
* Added that restarting isn't required
* Added update instructions for v1.04
* Fixed typo
- Added a method comparable to irc.reply() for TriviaTime purposes
- Replaced irc.reply() with self.reply() in instances where message
queuing disrupts their order (ie. where irc.sendMsg() would be used)
- Minor changes to TriviaTime.repeat()
- Modified queries for Storage.removeUserLogs() and
Storage.transferUserLogs() to use a channel parameter
- Transferring and clearing points are now channel-isolated
- Added an optional 'channel' parameter to all stats commands to allow
usage in PM
- Affects TriviaTime.day(), TriviaTime.week(), TriviaTime.month(),
TriviaTime.year(), TriviaTime.me(), TriviaTime.stats()
- Minor editing of message output for those commands
- Edited some command documentation
- Added TriviaTime.isTriviaMod(), TriviaTime.isTriviaAdmin() and
TriviaTime.getTriviaCapability() to allow better control over TriviaTime
commands
- Updated TriviaTime.acceptdelete(), TriviaTime.acceptedit(),
TriviaTime.acceptnew(), TriviaTime.add() and TriviaTime.authweb() to use
the new capability checking methods
- Some minor refactoring
- Moved 'start' command's start message into the constructor of Game to
ensure that messages are sent out in the right order
- Channel capability checks are now only performed if the 'start' command
actually starts a new game
- Replaced instances of irc.sendMessage() and irc.error() with irc.reply()
in TriviaTime.stop(), TriviaTime.start(), TriviaTime.skip(),
TriviaTime.repeat(), TriviaTime.next() and TriviaTime.time()
- Used the parameter 'prefixNick=False' in cases where the reply shouldn't
include the caller's nick as a prefix
- 'time' command now responds in PM as well
- 'repeat' command is now in-channel only
- Moved sanity checking from Game.repeatQuestion() to TriviaTime.repeat()
and added an extra check to see if the game is currently running in the
channel
- For registered users, the 'skip' command now stores the registered name
of the user instead of the user's current nick
- Unregistered users still won't have tracking for 'skip' across different
nicks
- Made skip() an 'onlyInChannel' command
- Partial refactoring of skip() method
- Small fix for kaosRemainingCommand