mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 06:00:59 -05:00
try this method
This commit is contained in:
parent
f81e3560dd
commit
947776e19e
@ -1,5 +1,4 @@
|
||||
# coding=utf-8
|
||||
|
||||
from __future__ import unicode_literals, absolute_import, division, print_function
|
||||
|
||||
import sopel.module
|
||||
|
||||
@ -1,25 +1,6 @@
|
||||
# coding=utf-8
|
||||
|
||||
from __future__ import unicode_literals, absolute_import, division, print_function
|
||||
|
||||
import sopel.module
|
||||
from sopel.config.types import StaticSection, ValidatedAttribute
|
||||
|
||||
from sopel_modules.SpiceBot_SBTools import bot_logging
|
||||
from sopel_modules.SpiceBot_Events.System import botevents
|
||||
|
||||
import os
|
||||
|
||||
import spicemanip
|
||||
|
||||
|
||||
# coding=utf8
|
||||
from __future__ import unicode_literals, absolute_import, division, print_function
|
||||
|
||||
__author__ = 'Sam Zick'
|
||||
__email__ = 'sam@deathbybandaid.net'
|
||||
__version__ = '0.1.1'
|
||||
|
||||
import sopel.module
|
||||
import sopel.tools
|
||||
import sopel.config
|
||||
@ -123,10 +104,6 @@ class BotLogs():
|
||||
botlogs = BotLogs()
|
||||
|
||||
|
||||
def setup(bot):
|
||||
botlogs.log('SpiceBot_Logs', "Starting Setup Procedure")
|
||||
|
||||
|
||||
@sopel.module.event('001')
|
||||
@sopel.module.rule('.*')
|
||||
def join_log_channel(bot, trigger):
|
||||
@ -147,12 +124,6 @@ def join_log_channel(bot, trigger):
|
||||
botlogs.SpiceBot_Logs["queue"] = []
|
||||
|
||||
|
||||
def setup(bot):
|
||||
bot_logging(bot, 'SpiceBot_Logs', "Starting Setup Procedure")
|
||||
botevents.startup_add([botevents.BOT_LOGS])
|
||||
botevents.trigger(bot, botevents.BOT_LOGS, "SpiceBot_Logs")
|
||||
|
||||
|
||||
def stdio_logs_fetch(bot):
|
||||
|
||||
stdio_ignore = []
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
# coding=utf-8
|
||||
|
||||
from __future__ import unicode_literals, absolute_import, division, print_function
|
||||
|
||||
import sopel.module
|
||||
|
||||
Loading…
Reference in New Issue
Block a user