mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -05:00
complete previous push
This commit is contained in:
parent
d099e3fc2b
commit
8304350b1a
@ -11,7 +11,7 @@ class BotChannels():
|
|||||||
"""This Logs all channels known to the server"""
|
"""This Logs all channels known to the server"""
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.channel_lock = False
|
self.channel_lock = False
|
||||||
self.SpiceBot_Channels = {
|
self.dict = {
|
||||||
"list": {},
|
"list": {},
|
||||||
"InitialProcess": False
|
"InitialProcess": False
|
||||||
}
|
}
|
||||||
|
|||||||
@ -12,7 +12,7 @@ import spicemanip
|
|||||||
class BotCommands():
|
class BotCommands():
|
||||||
"""This Logs all commands known to the bot"""
|
"""This Logs all commands known to the bot"""
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.SpiceBot_Commands = {
|
self.dict = {
|
||||||
"counts": 0,
|
"counts": 0,
|
||||||
"commands": {
|
"commands": {
|
||||||
'module': {},
|
'module': {},
|
||||||
|
|||||||
@ -14,7 +14,7 @@ class BotDatabase():
|
|||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.lock = threading.Lock()
|
self.lock = threading.Lock()
|
||||||
self.SpiceBot_Database = {
|
self.dict = {
|
||||||
"nicks": {},
|
"nicks": {},
|
||||||
"channels": {},
|
"channels": {},
|
||||||
}
|
}
|
||||||
|
|||||||
@ -33,7 +33,7 @@ class BotEvents(object):
|
|||||||
self.BOT_LOADED = '1004'
|
self.BOT_LOADED = '1004'
|
||||||
self.BOT_RECONNECTED = '1005'
|
self.BOT_RECONNECTED = '1005'
|
||||||
self.defaultevents = [self.BOT_WELCOME, self.BOT_READY, self.BOT_CONNECTED, self.BOT_LOADED, self.BOT_RECONNECTED]
|
self.defaultevents = [self.BOT_WELCOME, self.BOT_READY, self.BOT_CONNECTED, self.BOT_LOADED, self.BOT_RECONNECTED]
|
||||||
self.SpiceBot_Events = {
|
self.dict = {
|
||||||
"assigned_IDs": {1000: "Default", 1001: "BOT_WELCOME", 1002: "BOT_READY", 1003: "BOT_CONNECTED", 1004: "BOT_LOADED", 1005: "BOT_RECONNECTED"},
|
"assigned_IDs": {1000: "Default", 1001: "BOT_WELCOME", 1002: "BOT_READY", 1003: "BOT_CONNECTED", 1004: "BOT_LOADED", 1005: "BOT_RECONNECTED"},
|
||||||
"triggers_recieved": {},
|
"triggers_recieved": {},
|
||||||
"trigger_queue": [],
|
"trigger_queue": [],
|
||||||
|
|||||||
@ -15,7 +15,7 @@ import spicemanip
|
|||||||
class BotLogs():
|
class BotLogs():
|
||||||
"""This Is a contained source of log information"""
|
"""This Is a contained source of log information"""
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.SpiceBot_Logs = {
|
self.dict = {
|
||||||
"list": {"Sopel_systemd": [], "Sopel_stdio": []},
|
"list": {"Sopel_systemd": [], "Sopel_stdio": []},
|
||||||
"queue": []
|
"queue": []
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user