align chart level in songs command

pull/1/head
qwewqa 4 years ago
parent d7722e93c8
commit a6f1c6a416
  1. 2
      miyu_bot/commands/cogs/music.py

@ -411,7 +411,7 @@ class MusicAttribute(enum.Enum):
self.Name: None,
self.Id: str(music.id).zfill(7),
self.Unit: music.unit.name if not music.special_unit_name else f'{music.unit.name} ({music.special_unit_name})',
self.Level: music.charts[4].display_level,
self.Level: music.charts[4].display_level.ljust(3),
self.Duration: Music.format_duration(Music.get_music_duration(music)),
self.Date: str(music.start_datetime.date()),
}[self]

Loading…
Cancel
Save