dev-prodId #1
|
|
@ -210,7 +210,7 @@ class IdaCogs(commands.Cog):
|
||||||
print("deleted command.last file content")
|
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.
|
# 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:
|
with open("station.name", 'w') as f:
|
||||||
f.write(name)
|
f.write(name)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user