Added the progress and length to the message for the progress
This commit is contained in:
parent
e318c27413
commit
7d5b51bb6e
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ class Music:
|
||||||
# Otherwise just format this nicely
|
# Otherwise just format this nicely
|
||||||
progress = divmod(round(progress, 0), 60)
|
progress = divmod(round(progress, 0), 60)
|
||||||
length = divmod(round(length, 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)
|
await self.bot.say(fmt)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue