fix: fixed nowplaying command not working
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
parent
5abfad091d
commit
7a20ad8088
2 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ A Discord music bot, written in Kotlin using the kord library.
|
||||||
## Known issues
|
## Known issues
|
||||||
|
|
||||||
- The Repeat feature does not function
|
- The Repeat feature does not function
|
||||||
- The Queue does not show the current song, if there is no song next up
|
- The nowplaying command always shows the current position of the track at 0s
|
||||||
- Not all comments are listed below
|
- Not all comments are listed below
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
|
|
@ -79,8 +79,8 @@ class NowPlayingExtension : Extension() {
|
||||||
)
|
)
|
||||||
}\n" +
|
}\n" +
|
||||||
">>>${track.uri}",
|
">>>${track.uri}",
|
||||||
"https://img.youtube.com/vi/" + UrlUtil.getYtThumbnailUrl(track.uri!!) + "/maxresdefault.jpg",
|
user.asUser().username + "#" + user.asUser().discriminator,
|
||||||
user.asUser().username + "#" + user.asUser().discriminator
|
"https://img.youtube.com/vi/" + UrlUtil.getYtThumbnailUrl(track.uri.toString()) + "/maxresdefault.jpg"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue