diff --git a/cogs/IdaCogs.py b/cogs/IdaCogs.py index af90c86..97907ff 100644 --- a/cogs/IdaCogs.py +++ b/cogs/IdaCogs.py @@ -210,7 +210,7 @@ class IdaCogs(commands.Cog): print("deleted command.last file content") # gets the name and URL from the sheet, then store it in a file so we don't ask the sheet again. - name, url = (await helpers.getFromSheet(self.gsheetToken, "sheet")).split("|") + name, url = (await helpers.getFromSheet(self.session, self.gsheetToken, "sheet"),).split("|") with open("station.name", 'w') as f: f.write(name)