From e82967bc7d94ef3e9ed34d5766bebef2f41343a2 Mon Sep 17 00:00:00 2001 From: qwewqa <198e559dbd446d973355f415bdfa34@gmail.com> Date: Sat, 13 Feb 2021 22:49:24 -0500 Subject: [PATCH] Add fallback for last update time in cutoff command --- miyu_bot/commands/cogs/event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miyu_bot/commands/cogs/event.py b/miyu_bot/commands/cogs/event.py index 421bdea..9d049c2 100644 --- a/miyu_bot/commands/cogs/event.py +++ b/miyu_bot/commands/cogs/event.py @@ -305,7 +305,7 @@ class Event(commands.Cog): value=data['points'], inline=True) embed.add_field(name='Last Update', - value=data['lastUpdate'], + value=data['lastUpdate'] or 'None', inline=True) embed.add_field(name='Rate', value=f'{data["rate"]} pts/hr',