=Bug Fixes
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
package utils;
|
||||
|
||||
/***
|
||||
* https://developers.google.com/youtube/v3/code_samples/code_snippets?apix_params=%7B%22part%22%3A%22snippet%22%2C%22maxResults%22%3A25%2C%22q%22%3A%22surfing%22%7D
|
||||
* https://github.com/sedmelluq/LavaPlayer#jda-integration
|
||||
* https://ci.dv8tion.net/job/JDA/javadoc/net/dv8tion/jda/core/entities/VoiceChannel.html
|
||||
* https://developers.google.com/youtube/registering_an_application#Create_API_Keys
|
||||
*/
|
||||
import com.sedmelluq.discord.lavaplayer.player.AudioPlayer;
|
||||
|
||||
import net.dv8tion.jda.core.entities.Guild;
|
||||
@@ -13,11 +18,10 @@ public class AudioUtils
|
||||
AudioPlayer player;
|
||||
|
||||
|
||||
public AudioUtils(Guild guild, AudioPlayer player)
|
||||
public AudioUtils(Guild guild)
|
||||
{
|
||||
this.guild = guild;
|
||||
audio = guild.getAudioManager();
|
||||
this.player = player;
|
||||
}
|
||||
|
||||
public boolean joinChannel(String channelName)
|
||||
|
||||
Reference in New Issue
Block a user