Add fallback for last update time in cutoff command

pull/1/head
qwewqa 4 years ago
parent a8e211fc21
commit e82967bc7d
  1. 2
      miyu_bot/commands/cogs/event.py

@ -305,7 +305,7 @@ class Event(commands.Cog):
value=data['points'], value=data['points'],
inline=True) inline=True)
embed.add_field(name='Last Update', embed.add_field(name='Last Update',
value=data['lastUpdate'], value=data['lastUpdate'] or 'None',
inline=True) inline=True)
embed.add_field(name='Rate', embed.add_field(name='Rate',
value=f'{data["rate"]} pts/hr', value=f'{data["rate"]} pts/hr',

Loading…
Cancel
Save