DorCoMaNdO/ModBot — pull request #1 by DorCoMaNdO (2014-07-09 06:14:47+00:00)
Title: Merging the dev build with the official build...

This merge is done due to several bug fixes that can no longer be held back...

Irc, Database, Giveaway classes are now static (mostly tested).
New commands system (code-side only, easier to define commands, helps to whoever wants to modify this bot but keep it up-to-date as well).
Added winning chance to the giveaway winning message and to the information above the winner's name in the UI.
Removed a disabled command I needed once on a stream of a friend.
Fixed the update checking messagebox (it could pop up every time that an update check is running and the UI is in focus instead of ONE time when the UI is in focus while an update check was running).
Handout to active users in the last X minutes has it's limit of time increased from 90 minutes to 2880 (2 days in minutes, for hardcore streamers).
Display name checking fixes.
Removed some notes.
Added time watched to users (calculated by minutes, incremented by 1 while the stream is live).
Some UI changes (will change again soon, currency management, donations management will have different "pages", the settings window will be added to the form too under a different "page", giveaway bans will have more options such as expiration date and notes).
Shorter winner announcing code.
Commands now register after the connection has been made (prevents some possible issues).
getTimeWatched now returns a TimeSpan instead of an integer.
Changed some definitions related to the config file.
Changes to the MainForm definitions.
Currency checks made by mods can now contain a few names separated by commas (no spaces).
The bot will now attempt to "fix" a few things related to the connection when an error occours.

Version updated to 1.3.x.x.

The gambling system has been modified:
-Items are space separated and no longer comma separated.
-In order to bet or call for a winning option you now need to use the full name of the option (might revert or modify in the future).

The !admin and !mod commands have been merged to a new command, !modbot.
Level 3 mods can no longer change the currency payout, currency handout interval, greeting and subs.
All of the commands (but custom) are now using the new commands system.

Subscribers from the subscribers link are now returned as a List.
Some fixes to the Giveaway bans...
Updates are now located in a new location...