mirror of
https://github.com/Xevion/unbelievaselfbot.git
synced 2025-12-05 23:16:46 -06:00
proper requirements.txt, TOKEN path constant in client.run
This commit is contained in:
2
main.py
2
main.py
@@ -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
4
requirements.txt
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
discord~=1.0.1
|
||||||
|
|
||||||
|
aiosqlite~=0.16.1
|
||||||
|
regex~=2020.11.13
|
||||||
Reference in New Issue
Block a user