migrate tools

This commit is contained in:
deathbybandaid 2019-05-21 08:42:59 -04:00
parent c58adeec06
commit c32859b3e6
19 changed files with 19 additions and 18 deletions

View File

@ -20,7 +20,7 @@ from pygit2 import clone_repository
import spicemanip import spicemanip
from sopel_modules.SpiceBot.Logs import botlogs from .Logs import botlogs
"""Variable References""" """Variable References"""

View File

@ -6,6 +6,7 @@ These are the core SpiceBot Classes
This module contains references only for other modules to utilize. This module contains references only for other modules to utilize.
""" """
from .Tools import *
from .Logs import * from .Logs import *
from .Events import * from .Events import *
from .Channels import * from .Channels import *

View File

@ -6,7 +6,7 @@ import sopel.module
import spicemanip import spicemanip
from sopel_modules.SpiceBot_SBTools import sopel_triggerargs, googlesearch, bot_privs, inlist, inlist_match, similar_list from sopel_modules.SpiceBot.Tools import sopel_triggerargs, googlesearch, bot_privs, inlist, inlist_match, similar_list
from sopel_modules.SpiceBot.Events import botevents from sopel_modules.SpiceBot.Events import botevents

View File

@ -6,7 +6,7 @@ import sopel.module
import spicemanip import spicemanip
from sopel_modules.SpiceBot_SBTools import sopel_triggerargs, bot_privs from sopel_modules.SpiceBot.Tools import sopel_triggerargs, bot_privs
@sopel.module.nickname_commands('owners', 'owner') @sopel.module.nickname_commands('owners', 'owner')

View File

@ -8,7 +8,7 @@ import spicemanip
from sopel_modules.SpiceBot.Events import botevents from sopel_modules.SpiceBot.Events import botevents
from sopel_modules.SpiceBot.Channels import botchannels from sopel_modules.SpiceBot.Channels import botchannels
from sopel_modules.SpiceBot_SBTools import sopel_triggerargs, inlist, channel_privs from sopel_modules.SpiceBot.Tools import sopel_triggerargs, inlist, channel_privs
@botevents.check_ready([botevents.BOT_LOADED]) @botevents.check_ready([botevents.BOT_LOADED])

View File

@ -6,7 +6,7 @@ import sopel
import sopel.module import sopel.module
from sopel_modules.SpiceBot.Events import botevents from sopel_modules.SpiceBot.Events import botevents
from sopel_modules.SpiceBot_SBTools import sopel_triggerargs, similar_list, letters_in_string from sopel_modules.SpiceBot.Tools import sopel_triggerargs, similar_list, letters_in_string
import spicemanip import spicemanip

View File

@ -6,7 +6,7 @@ import sopel
import sopel.module import sopel.module
from sopel_modules.SpiceBot.Events import botevents from sopel_modules.SpiceBot.Events import botevents
from sopel_modules.SpiceBot_SBTools import sopel_triggerargs, similar_list, letters_in_string from sopel_modules.SpiceBot.Tools import sopel_triggerargs, similar_list, letters_in_string
import spicemanip import spicemanip

View File

@ -4,7 +4,7 @@ from __future__ import unicode_literals, absolute_import, division, print_functi
import sopel.module import sopel.module
from sopel_modules.SpiceBot_SBTools import github_dict from sopel_modules.SpiceBot.Tools import github_dict
@sopel.module.nickname_commands('help', 'docs', 'wiki') @sopel.module.nickname_commands('help', 'docs', 'wiki')

View File

@ -6,7 +6,7 @@ from sopel import module
from .gifsearch import getGif from .gifsearch import getGif
from sopel_modules.SpiceBot_SBTools import sopel_triggerargs from sopel_modules.SpiceBot.Tools import sopel_triggerargs
from sopel_modules.SpiceBot.Events import botevents from sopel_modules.SpiceBot.Events import botevents
import spicemanip import spicemanip

View File

@ -8,7 +8,7 @@ import sopel.module
import spicemanip import spicemanip
from sopel_modules.SpiceBot_SBTools import sopel_triggerargs from sopel_modules.SpiceBot.Tools import sopel_triggerargs
from sopel_modules.SpiceBot.Events import botevents from sopel_modules.SpiceBot.Events import botevents

View File

@ -8,7 +8,7 @@ from sopel.config.types import StaticSection, ValidatedAttribute
from sopel_modules.SpiceBot.Logs import botlogs from sopel_modules.SpiceBot.Logs import botlogs
from sopel_modules.SpiceBot.Events import botevents from sopel_modules.SpiceBot.Events import botevents
from sopel_modules.SpiceBot_CommandsQuery.CommandsQuery import commandsquery_register from sopel_modules.SpiceBot_CommandsQuery.CommandsQuery import commandsquery_register
from sopel_modules.SpiceBot_SBTools import read_directory_json_to_dict from sopel_modules.SpiceBot.Tools import read_directory_json_to_dict
import spicemanip import spicemanip

View File

@ -4,7 +4,7 @@ from __future__ import unicode_literals, absolute_import, division, print_functi
import sopel.module import sopel.module
from sopel_modules.SpiceBot_SBTools import sopel_triggerargs from sopel_modules.SpiceBot.Tools import sopel_triggerargs
from sopel_modules.SpiceBot.Events import botevents from sopel_modules.SpiceBot.Events import botevents

View File

@ -7,7 +7,7 @@ import spicemanip
from sopel_modules.SpiceBot.Logs import botlogs from sopel_modules.SpiceBot.Logs import botlogs
from sopel_modules.SpiceBot.Events import botevents from sopel_modules.SpiceBot.Events import botevents
from sopel_modules.SpiceBot_SBTools import sopel_triggerargs, command_permissions_check, inlist, inlist_match, similar_list from sopel_modules.SpiceBot.Tools import sopel_triggerargs, command_permissions_check, inlist, inlist_match, similar_list
@botevents.check_ready([botevents.BOT_LOGS]) @botevents.check_ready([botevents.BOT_LOGS])

View File

@ -7,7 +7,7 @@ import sopel.module
import spicemanip import spicemanip
from sopel_modules.SpiceBot.Channels import botchannels from sopel_modules.SpiceBot.Channels import botchannels
from sopel_modules.SpiceBot_SBTools import sopel_triggerargs, command_permissions_check, inlist from sopel_modules.SpiceBot.Tools import sopel_triggerargs, command_permissions_check, inlist
@sopel.module.nickname_commands('action') @sopel.module.nickname_commands('action')

View File

@ -6,7 +6,7 @@ from __future__ import unicode_literals, absolute_import, print_function, divisi
import sopel.module import sopel.module
from sopel_modules.SpiceBot.Logs import botlogs from sopel_modules.SpiceBot.Logs import botlogs
from sopel_modules.SpiceBot_SBTools import spicebot_reload from sopel_modules.SpiceBot.Tools import spicebot_reload
@sopel.module.nickname_commands('restart') @sopel.module.nickname_commands('restart')

View File

@ -7,7 +7,7 @@ import sopel
import sopel.module import sopel.module
from sopel_modules.SpiceBot.Logs import botlogs from sopel_modules.SpiceBot.Logs import botlogs
from sopel_modules.SpiceBot_SBTools import stock_modules_begone from sopel_modules.SpiceBot.Tools import stock_modules_begone
def setup(bot): def setup(bot):

View File

@ -6,7 +6,7 @@ import sopel.module
from sopel_modules.SpiceBot.Logs import botlogs from sopel_modules.SpiceBot.Logs import botlogs
from sopel_modules.SpiceBot.Events import botevents from sopel_modules.SpiceBot.Events import botevents
from sopel_modules.SpiceBot_SBTools import humanized_time from sopel_modules.SpiceBot.Tools import humanized_time
import time import time

View File

@ -9,7 +9,7 @@ from sopel.config.types import StaticSection, ValidatedAttribute
import spicemanip import spicemanip
from sopel_modules.SpiceBot.Logs import botlogs from sopel_modules.SpiceBot.Logs import botlogs
from sopel_modules.SpiceBot_SBTools import sopel_triggerargs, command_permissions_check, spicebot_reload, spicebot_update from sopel_modules.SpiceBot.Tools import sopel_triggerargs, command_permissions_check, spicebot_reload, spicebot_update
class SpiceBot_Update_MainSection(StaticSection): class SpiceBot_Update_MainSection(StaticSection):

View File

@ -7,7 +7,7 @@ import sopel.module
import time import time
from sopel_modules.SpiceBot.Logs import botlogs from sopel_modules.SpiceBot.Logs import botlogs
from sopel_modules.SpiceBot_SBTools import humanized_time from sopel_modules.SpiceBot.Tools import humanized_time
def setup(bot): def setup(bot):