Comments (3)
Maybe i can fetch voiceConnection directly from Discord? like message.fetch or guild.fetch?
from discord.js.
The VoiceConnection is the right one. Your assumption of <VoiceConnection>.joinConfig.channelId
being the channel the bot currently is in is wrong though. It‘s the channelId used to initially connect/join.
To find the channel the bot currently is in you‘d simply use <Guild>.members.me.voice.channelId
.
from discord.js.
I've already realized that I have to go through members.me.voice.
from discord.js.
Related Issues (20)
- Cannot destructure property 'cache' of 'guild[key]' as it is undefined. HOT 3
- My bot started but shards doesn't connect HOT 3
- Type errors on build HOT 5
- Set voice status HOT 5
- 404 link upon opening`ThreadAutoArchiveDuration` from `TextChannel#defaultAutoArchiveDuration` HOT 3
- Searching "MessageManager" hangs the page HOT 1
- The search box crashes the whole site on specific values. HOT 1
- Message Delete Executioner HOT 1
- The WebSocket rate limit has been hit, this should never happen HOT 6
- Add name_localizations on ActivitiesOptions for statuses HOT 1
- cannot convert color to a number HOT 9
- Add support for native NodeJS WebSocket HOT 5
- Creating a emoji other than JPG via `GuildEmojiManager.create` HOT 8
- Embeds on CommandInteraction.editReply HOT 2
- Unable to convert "15548997" to a number.
- TextBasedChannels doesn't exist HOT 3
- Incorrect example description for ApplicationCommandPermissionsManager.has() HOT 4
- Uncidi causes 4 low severity vulnerabilites HOT 6
- TypeError: polyfillDispose is not a function HOT 2
- InternalDiscordGatewayAdapterLibraryMethods 404 not found
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 discord.js.