Discord bot not realizing it has command
My discord bot does not show the commands I have added to the Event listener. It only shows older ones and two that aren’t even in my code.
Discord bot not realising it has command -Java
My discord bot does not show the commands i have added to the Event listener it only shows older ones and 2 that arn’t even in my code
Neeh help on the AudioSendHandler of JDA (Java Discord Api)
package com.utils; import net.dv8tion.jda.api.audio.AudioSendHandler; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.nio.ByteBuffer; import java.nio.ByteOrder; import javax.sound.sampled.UnsupportedAudioFileException; public class MyAudioSendHandler implements AudioSendHandler { private static final int SAMPLE_RATE = 48000; // 48KHz private static final int BITS_PER_SAMPLE = 16; // 16-bit private static final int CHANNELS = 2; // Stereo private static final int BYTES_PER_SAMPLE = […]
How to rename a discord voice channel with JDA
This is the part of function I wrote to rename a voice channel in order to show my Minecraft server’s online status with voice channel name