ClaptrapBot/src/main/java/net/Broken/audio/UserAudioTrack.java
2018-02-28 17:59:09 +01:00

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;
}
}