Class GuildPlaylistImpl
java.lang.Object
dev.jacrispys.JavaBot.audio.objects.GuildPlaylistImpl
- All Implemented Interfaces:
GuildPlaylist
-
Constructor Summary
ConstructorsConstructorDescriptionGuildPlaylistImpl(net.dv8tion.jda.api.entities.Guild guild, String playlistUrl, @Nullable net.dv8tion.jda.api.entities.User owner) -
Method Summary
Modifier and TypeMethodDescriptionnet.dv8tion.jda.api.entities.GuildgetGuild()@Nullable net.dv8tion.jda.api.entities.UsergetOwner()protected voidindexPlaylist(net.dv8tion.jda.api.entities.Guild guild, String playlistUrl, net.dv8tion.jda.api.entities.User owner)
-
Constructor Details
-
GuildPlaylistImpl
public GuildPlaylistImpl(net.dv8tion.jda.api.entities.Guild guild, String playlistUrl, @Nullable @Nullable net.dv8tion.jda.api.entities.User owner)
-
-
Method Details
-
indexPlaylist
protected void indexPlaylist(net.dv8tion.jda.api.entities.Guild guild, String playlistUrl, net.dv8tion.jda.api.entities.User owner) -
getGuild
public net.dv8tion.jda.api.entities.Guild getGuild()- Specified by:
getGuildin interfaceGuildPlaylist- Returns:
- guild that the playlist was created for
-
getPlaylist
- Specified by:
getPlaylistin interfaceGuildPlaylist- Returns:
- string url of the playlist
-
getOwner
@Nullable public @Nullable net.dv8tion.jda.api.entities.User getOwner()- Specified by:
getOwnerin interfaceGuildPlaylist- Returns:
- owner of the playlist (person who created it)
-