Convert modules to new importer
This commit is contained in:
parent
1f5364c387
commit
28005e5654
23 changed files with 166 additions and 187 deletions
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
import imp
|
||||
|
||||
from nemubot import context
|
||||
from nemubot.hooks import hook
|
||||
|
||||
nemubotversion = 3.4
|
||||
|
|
@ -15,8 +16,7 @@ from . import UrbanDictionnary
|
|||
from . import WFASearch
|
||||
|
||||
def load(context):
|
||||
global CONF
|
||||
WFASearch.CONF = CONF
|
||||
WFASearch.CONF = context.config
|
||||
|
||||
def reload():
|
||||
imp.reload(DDGSearch)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue