Rename 'Bot' -> 'ZtereoMUSIC'

This commit is contained in:
Reperak 2021-11-07 20:59:26 -06:00
parent d11b9a97a4
commit 087fa0f612
No known key found for this signature in database
GPG key ID: 12F30C9BA6950C0C
5 changed files with 26 additions and 26 deletions

View file

@ -1,6 +1,6 @@
package codes.ztereohype.ztereomusic.command.commands;
import codes.ztereohype.ztereomusic.Bot;
import codes.ztereohype.ztereomusic.ZtereoMUSIC;
import codes.ztereohype.ztereomusic.audio.GuildMusicPlayer;
import codes.ztereohype.ztereomusic.audio.GuildMusicPlayers;
import codes.ztereohype.ztereomusic.command.Command;
@ -43,7 +43,7 @@ public class Play implements Command {
VoiceChannel voiceChannel = author.getVoiceState().getChannel();
MessageChannel messageChannel = messageEvent.getChannel();
AudioManager manager = guild.getAudioManager();
AudioPlayerManager playerManager = Bot.getInstance().getPlayerManager();
AudioPlayerManager playerManager = ZtereoMUSIC.getInstance().getPlayerManager();
// check if args merged are/have url, if so try to feed it into lava, else try to youtube api the fuck out of it.
String mergedArgs = String.join(" ", args);