Make the config import optional
This commit is contained in:
parent
95cb8bc868
commit
8ff0064c93
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@ from discord.ext import commands
|
|||
# Config contains
|
||||
# TOKEN : str - Discord bot token
|
||||
# OWNERS : list[int] - ids of owners able to use the owner commands
|
||||
if importlib.util.find_spec("config"):
|
||||
import config
|
||||
|
||||
logger = logging.getLogger("matchy")
|
||||
|
|
Loading…
Add table
Reference in a new issue