MizaGBF / MizaBOT

Python 3 Granblue Fantasy-themed Discord Bot
MIT License
25 stars 13 forks source link

Can't create credential.json #17

Closed atliv closed 2 years ago

atliv commented 2 years ago

hi miza, i tried to run your bot in my own server but it doesn't generate credentials.json in my locals environment.

i have been following your guide but this error is pop out image

and here's my settings.yaml image

MizaGBF commented 2 years ago

There is an error in generate_gdrive_credentials.py (probably because I never used this version of the script): line 4 should be gauth.credentials and not self.gauth.credentials.
It should fix the error.
If it doesn't, it will ask you to put client_secrets.json in the same folder.

atliv commented 2 years ago

after i follow the steps from this #1 issue, it finally worked. btw thanks for fast reply.