IRC Events Log

This commit is contained in:
deathbybandaid 2019-05-18 14:45:19 -04:00
parent 29031582b0
commit 5e9b410ece
4 changed files with 1285 additions and 11 deletions

View File

@ -0,0 +1,18 @@
# coding=utf8
from __future__ import unicode_literals, absolute_import, division, print_function
"""
This is the SpiceBot Logs system.
This Class stores logs in an easy to access manner
"""
class BotChannels():
"""This Logs all channels known to the server"""
def __init__(self):
self.SpiceBot_Channels = {
"list": {}
}
botchannels = BotChannels()

View File

@ -8,6 +8,7 @@ This module contains references only for other modules to utilize.
from .Logs import *
from .Events import *
from .Channels import *
__author__ = 'Sam Zick'
__email__ = 'sam@deathbybandaid.net'

View File

@ -30,17 +30,6 @@ def configure(config):
config.SpiceBot_Channels.configure_setting('chanignore', 'SpiceBot_Channels Ignore JOIN for channels')
class BotChannels():
"""This Logs all channels known to the server"""
def __init__(self):
self.SpiceBot_Channels = {
"list": {}
}
botchannels = BotChannels()
def setup(bot):
botlogs.log('SpiceBot_Channels', "Starting setup procedure")
botevents.startup_add([botevents.BOT_CHANNELS])

File diff suppressed because it is too large Load Diff