mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
More Logging Tweaks
This commit is contained in:
parent
e7c7cc87e4
commit
59218bedf4
@ -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")
|
||||
|
||||
@ -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):
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user