forked from rDrama/rDrama
kofi: decide whether to load in __init__
this unifies some of the logic with how we load classesmaster
parent
5b03c2535a
commit
d80fa23409
|
@ -3,7 +3,7 @@ from sqlalchemy.ext.declarative import declarative_base
|
|||
Base = declarative_base()
|
||||
|
||||
# then load our required constants...
|
||||
from files.helpers.const import FEATURES
|
||||
from files.helpers.const import FEATURES, KOFI_TOKEN
|
||||
|
||||
# then load all of our classes :)
|
||||
from .alts import *
|
||||
|
@ -29,6 +29,7 @@ from .lottery import *
|
|||
from .casino_game import *
|
||||
from .hats import *
|
||||
from .marsey import *
|
||||
if KOFI_TOKEN:
|
||||
from .transactions import *
|
||||
from .sub_logs import *
|
||||
from .media import *
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
from files.helpers.const import KOFI_TOKEN
|
||||
|
||||
if KOFI_TOKEN:
|
||||
from sqlalchemy import Column
|
||||
from sqlalchemy.sql.sqltypes import *
|
||||
|
||||
|
|
Loading…
Reference in New Issue