diff --git a/.gitignore b/.gitignore index ad1b2a1..c79e101 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # Seans Stuff /.idea BotToken.py +BotToken.config # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] diff --git a/christian_crusader.py b/christian_crusader.py index 2ce5a52..9b4b146 100644 --- a/christian_crusader.py +++ b/christian_crusader.py @@ -1,10 +1,12 @@ from discord.ext.commands import Bot from discord import Game import random -from BotToken import BotToken +from pathlib import Path + BOT_PREFIX = "+" -TOKEN = BotToken().token +token_config = open(Path("BotToken.config")) +TOKEN = token_config.readline().split()[0] client = Bot(command_prefix=BOT_PREFIX)