More Logging Tweaks

This commit is contained in:
deathbybandaid 2019-05-04 17:01:41 -04:00
parent e7c7cc87e4
commit 59218bedf4
3 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,7 @@ from __future__ import unicode_literals, absolute_import, division, print_functi
import sopel.module
from .BotEvents import check_bot_events, startup_bot_event, set_bot_event
from sopel_modules.SpiceBot_SBTools import bot_logging
import time
@ -21,3 +22,4 @@ def bot_startup_connection(bot, trigger):
time.sleep(1)
set_bot_event(bot, "connected")
bot_logging(bot, 'Sopel_BotEvents', "Connected to IRC")

View File

@ -8,7 +8,7 @@ from sopel.config.types import StaticSection, ValidatedAttribute
import spicemanip
from sopel_modules.SpiceBot_SBTools import sopel_triggerargs, command_permissions_check, inlist, inlist_match
from sopel_modules.SpiceBot_SBTools import sopel_triggerargs, command_permissions_check, inlist, inlist_match, bot_logging
def configure(config):

View File

@ -5,6 +5,7 @@ from __future__ import unicode_literals, absolute_import, print_function, divisi
import sopel
from sopel.module import OP, ADMIN, VOICE, OWNER, HALFOP
from sopel.tools import stderr
HOP = HALFOP
import collections