proper requirements.txt, TOKEN path constant in client.run

This commit is contained in:
Xevion
2021-01-24 14:22:47 -06:00
parent bf09c13d6c
commit e9446c00e2
2 changed files with 5 additions and 1 deletions

View File

@@ -25,6 +25,6 @@ if __name__ == "__main__":
client = UnbelievaClient(parsed.bot, parsed.channel) client = UnbelievaClient(parsed.bot, parsed.channel)
logger.info('Starting bot.') logger.info('Starting bot.')
with open('../token.dat', 'r') as file: with open(constants.TOKEN, 'r') as file:
token = file.read() token = file.read()
client.run(token, bot=False) client.run(token, bot=False)

4
requirements.txt Normal file
View File

@@ -0,0 +1,4 @@
discord~=1.0.1
aiosqlite~=0.16.1
regex~=2020.11.13