Music stuff yk

This commit is contained in:
GregTCLTK 2019-12-22 14:46:21 +01:00
parent b1f82ae79d
commit a7c9578ee5
No known key found for this signature in database
GPG key ID: A91BADE5C070FF67
2 changed files with 8 additions and 27 deletions

View file

@ -1,25 +0,0 @@
package com.bbn.hadder.utils;
/*
* @author Skidder / GregTCLTK
*/
import net.dv8tion.jda.api.audio.AudioSendHandler;
import javax.annotation.Nullable;
import java.nio.ByteBuffer;
public class AudioPlayerSendHandler implements AudioSendHandler {
@Override
public boolean canProvide() {
return false;
}
@Nullable
@Override
public ByteBuffer provide20MsAudio() {
return null;
}
}

View file

@ -180,12 +180,18 @@ commands.music.leave.error.description = I'm currently in no Voice Channel on th
commands.music.leave.help.description = Leaves a voice channel
commands.music.play.load.title = %extra% Now loading %extra%
commands.music.play.load.description = Trying to load the song...
commands.music.play.success.title = %extra% Now playing %extra%
commands.music.play.success.description = Now playing %extra%
commands.music.play.success.loading.title = %extra% Now playing %extra%
commands.music.play.error.load.title = %extra% Load failed %extra%
commands.music.play.error.load.description = Unfortunately I can not load the given song.
commands.music.play.error.match.title = %extra% No matches %extra%
commands.music.play.error.match.description = I can not find a song named this on YouTube.
commands.music.play.success.title = Title
commands.music.play.success.author = Author
commands.music.play.success.length = Length
commands.music.play.help.description = Plays a song
commands.music.stop.success.title = Successfully stopped
commands.music.stop.success.description = I successfully stopped the song.
commands.music.stop.help.description = Stops the playing song
commands.nsfw.gif.error.title = GIF not showing? Click here
commands.nsfw.img.error.title = Image not showing? Click here