fix secret.json reference

This commit is contained in:
2021-06-10 11:15:02 +02:00
parent bf74ec49bc
commit 710647c6fd

View File

@@ -19,7 +19,7 @@ client = discord.Client()
e = discord.Embed()
# setup gspread
scope = ['https://www.googleapis.com/auth/spreadsheets', 'https://www.googleapis.com/auth/drive']
creds = ServiceAccountCredentials.from_json_keyfile_name('secret.json', scope)
creds = ServiceAccountCredentials.from_json_keyfile_name('jeevesbot/secret.json', scope)
gclient = gspread.authorize(creds)
@client.event