fix: fixed skip button not sending a reply and throwing a 400 Error
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
parent
8737d3921b
commit
23e5abbca9
2 changed files with 4 additions and 4 deletions
|
@ -112,8 +112,8 @@ class SkipButton : Button("btn.music.skip") {
|
|||
)
|
||||
}\n" +
|
||||
">>>${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!!) + "/maxresdefault.jpg"
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
@ -102,8 +102,8 @@ class SkipExtension : Extension() {
|
|||
)
|
||||
}\n" +
|
||||
">>>${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!!) + "/maxresdefault.jpg"
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue