Leave behind Windows

This commit is contained in:
CramMK
2020-02-13 19:06:05 +01:00
parent 3ac095ec21
commit c527efa384
6 changed files with 32 additions and 24 deletions

View File

@@ -15,11 +15,13 @@ try:
with open("config/config.yml") as file:
config = yaml.safe_load(file)
__token__ = config['token']
__prefix__ = config['prefix']
__token__ = config['token']
__prefix__ = config['prefix']
except yaml.YAMLError as error:
print(f"Error while parsing: {error}")
except FileNotFoundError as error:
print(f"Error, please create a config file: {error}")
try:
from config.cogs import __cogs__