1
0
Fork 0
mirror of synced 2024-06-23 08:40:41 +12:00

Added the progress and length to the message for the progress

This commit is contained in:
Phxntxm 2016-10-29 16:00:53 -05:00
parent e318c27413
commit 7d5b51bb6e

View file

@ -239,7 +239,7 @@ class Music:
# Otherwise just format this nicely
progress = divmod(round(progress, 0), 60)
length = divmod(round(length, 0), 60)
fmt = "Current song progress: {0[0]}m {0[1]}s/{1[0]}m {1[1]}s"
fmt = "Current song progress: {0[0]}m {0[1]}s/{1[0]}m {1[1]}s".format(progress, length)
await self.bot.say(fmt)