changed QueuedTrack class instead
This commit is contained in:
@@ -53,6 +53,6 @@ public class QueuedTrack implements Queueable
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return "`[" + FormatUtil.formatTime(track.getDuration()) + "]` **" + track.getInfo().title + "** - <@" + track.getUserData(RequestMetadata.class).getOwner() + ">";
|
||||
return "`[" + FormatUtil.formatTime(track.getDuration()) + "]` [**" + track.getInfo().title + "**]("+track.getInfo().uri+") - <@" + track.getUserData(RequestMetadata.class).getOwner() + ">";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@ public class QueueCmd extends MusicCommand
|
||||
for(int i=0; i<list.size(); i++)
|
||||
{
|
||||
total += list.get(i).getTrack().getDuration();
|
||||
songs[i] = "`["+FormatUtil.formatTime(list.get(i).getTrack().getDuration())+"]` [**"+list.get(i).getTrack().getInfo().title+"**]("+list.get(i).getTrack().getInfo().uri+")";
|
||||
songs[i] = list.get(i).toString();
|
||||
}
|
||||
Settings settings = event.getClient().getSettingsFor(event.getGuild());
|
||||
long fintotal = total;
|
||||
|
||||
Reference in New Issue
Block a user