Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

21
LINES

< > BotCompany Repo | #1030357 // Discord Audio Include for JDA 4.0

JavaX fragment (include)

import net.dv8tion.jda.api.managers.AudioManager; // Note: moved from core to api in JDA 4.0
import net.dv8tion.jda.api.audio.*;
import net.dv8tion.jda.api.events.guild.voice.*;

//import java.nio.ByteBuffer;
import com.sedmelluq.discord.lavaplayer.player.*;
import com.sedmelluq.discord.lavaplayer.player.event.*;
import com.sedmelluq.discord.lavaplayer.demo.jda.TrackScheduler;
import com.sedmelluq.discord.lavaplayer.track.*;
import com.sedmelluq.discord.lavaplayer.track.playback.*;
import com.sedmelluq.discord.lavaplayer.source.*;
import com.sedmelluq.discord.lavaplayer.tools.*;

//lib 1400286 // lavaplayer 1.3.22
lib 1400288 // lavaplayer fat
lib 1400289 // httpclient
lib 1400290 // httpcore
lib 1400291 // commons-io
lib 1400298 // lavaplayer libconnector.so
lib 1002510 // jsoup
lib 1400299 // apache-commons-logging

Author comment

Began life as a copy of #1025344

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030357
Snippet name: Discord Audio Include for JDA 4.0
Eternal ID of this version: #1030357/3
Text MD5: 4d1f11ac564547063dc342117828a184
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-22 00:10:04
Source code size: 848 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 218 / 290
Version history: 2 change(s)
Referenced in: #1030356 - MKLab FM Bot with JDA 4.2 [LIVE, fixing status & playback for shards]
#1034047 - MKLab FM Bot with JDA 4.2 [backup before sharding]
#1034055 - MKLab FM Bot with JDA 4.2 [using sharded classes]
#1034058 - MKLab FM Bot with JDA 4.2 [using renamed sharded classes]