26 lines
556 B
Java
26 lines
556 B
Java
package net.Broken.audio;
|
|
|
|
import com.sedmelluq.discord.lavaplayer.track.AudioTrack;
|
|
import net.dv8tion.jda.core.entities.User;
|
|
|
|
/**
|
|
* Container that link AudioTrack to who submit it (User)
|
|
*/
|
|
public class UserAudioTrack{
|
|
private User user;
|
|
private AudioTrack audioTrack;
|
|
|
|
public UserAudioTrack(User user, AudioTrack audioTrack) {
|
|
this.user = user;
|
|
this.audioTrack = audioTrack;
|
|
}
|
|
|
|
public User getSubmittedUser() {
|
|
return user;
|
|
}
|
|
|
|
public AudioTrack getAudioTrack() {
|
|
return audioTrack;
|
|
}
|
|
}
|