forked from sass/tipibot
More bug fixes
This commit is contained in:
2
bot.py
2
bot.py
@@ -386,7 +386,7 @@ async def on_ready():
|
||||
# Pull sheet data into cache
|
||||
if IS_DEV_PROFILE:
|
||||
try:
|
||||
data = sheets.refresh()
|
||||
data = await sheets.refresh()
|
||||
log.info("Loaded %d member rows from Google Sheets", len(data))
|
||||
except Exception as e:
|
||||
log.error("Failed to load sheet on startup: %s", e)
|
||||
|
||||
Reference in New Issue
Block a user