Update docs

This commit is contained in:
dpedu 2015-08-11 15:24:02 -07:00
parent 88de1be8d2
commit d5b6f9fa70
3 changed files with 5 additions and 1 deletions

View File

@ -61,7 +61,7 @@ copyright = '2015, dpedu'
version = '3.4'
# The full version, including alpha/beta/rc tags.
import pyircbot
release = "4.0.0-r02"#pyircbot.PyIRCBot.version
release = pyircbot.PyIRCBot.version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

View File

@ -149,6 +149,9 @@ Refer to existing modules for helper methods from elsewhere in PyIRCBot.
- :py:meth:`pyircbot.pyircbot.PyIRCBot.getDataPath`
- :py:meth:`pyircbot.pyircbot.PyIRCBot.getmodulebyname`
:doc:`GameBase </api/modules/gamebase>` is a good example of the basic code
structure a IRC game could follow, designed so different channels would have
separate game instances.
Inter-module Communication
--------------------------

View File

@ -17,6 +17,7 @@ class PyIRCBot:
""":param botconfig: The configuration of this instance of the bot. Passed by main.py.
:type botconfig: dict
"""
version = "4.0.0-r02"
def __init__(self, botconfig):
self.log = logging.getLogger('PyIRCBot')