Closed Awsomedude0361 closed 2 years ago
Hahaha, nvm I fixed it after a bit of scouring through the code
The discord.py was 1.7.3 because I installed it through requirements.txt but the code was coded in discord.py 2.0.0
Will update requirements.txt, thanks for letting me know!
I keep getting this error when I try and run 'main.py --token "insert token"'
Traceback (most recent call last): File "C:\Users\Akshay\Downloads\Gravital-master\main.py", line 57, in
main()
File "C:\Users\Akshay\Downloads\Gravital-master\main.py", line 48, in main
client = ChatBot(args.maxlines)
File "C:\Users\Akshay\Downloads\Gravital-master\Bot\bot.py", line 18, in init
super().init()
TypeError: Client.init() missing 1 required keyword-only argument: 'intents'
But it works perfectly fine when I do 'main.py --test' So im sure my trained model works.