Comments (2)
Hello @SKProCH,
thanks for your question.
IAudioService node = [..];
IVoiceChannel voiceChannel = [..];
var myPlayer = await node.JoinAsync(() => new MyPlayer(voiceChannel.GuildId), voiceChannel.GuildId, voiceChannel.Id);
You can use the player factory to pass constructor parameters to your player implementation.
But there should be a better way to accomplish this, I will think about this later. Any help appreciated.
Thanks in advance!
from lavalink4net.
Yes i get it, thanks
from lavalink4net.
Related Issues (20)
- TrackEncoder.Encode broken HOT 6
- ArtworkProvider doesn't work properly for SoundCloud tracks HOT 1
- Allow looping of the queue. HOT 7
- Lavalink4NET.DiscordNet.GetChannelUsersAsync doesn't work HOT 6
- [Bug?] TrackEnd fires multiple times at once. [Question] Using rest instead of websocket? HOT 4
- REST API Support HOT 13
- Lavalink4NET.DSharpPlus 3.0.0 seems to be incompatible with DSharpPlus versions above 4.3.0 HOT 2
- Equalizer effect wrong name HOT 1
- IEnumerable`1<DiscordMember> DiscordChannel.get_Users() returns a method not found bricking Lavalink4nets voting features HOT 1
- Speed effect doesn't affect TrackPosition HOT 5
- [Question] Custom tracks? HOT 7
- LavalinkNode exit with an error when using in a hosted console app. HOT 2
- TrackException doesn't fire at all. HOT 5
- Discord.NET NullReferenceException HOT 1
- QueuedLavalinkPlayer refuses to play after using GetTracksAsync() HOT 4
- Support for lavalink plugins HOT 6
- Allow extending LavalinkClusterNode HOT 1
- Allow retrieving info about player' cluster HOT 3
- Allow to store additional info along with track HOT 2
- Allow to create user defined LavalinkTrack HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lavalink4net.