Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
In JavaScript, checking if the user's voice channel status would be:
(if the user is in a voice channel or not)
let voiceChannel = message.member.voice.channel;
if (vocalChannel) {
[...]
}
For Java, I don't see something similar in the JDA GitHub documentation.
However, I can use GuildVoiceJoinEvent to detect each member who connects to a voice channel but it would consume more CPU resources for sure. Is there any other solution at the moment?
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed yesterday.
Improve this question
I started to work in project which use archilogic api (Floor plan engine SDK). It already has huge code base. I have a task to change flor color in map. Can some one advice how can I search this info in code?
I didn't find anything helpful in docs yet.
p.s. person who wrote this code doesn't work in company anymore.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 days ago.
Improve this question
My website is in React JS. I want to show a toast like the one on Linkedin.
When a user visits my website, I want to show a message to the user for better experience.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I want to make my own discord bot music, however due to recently discord.js upgrading to V13 all the V12 codes doesn't work can someone help me?I want the discord to join voice channel, put musics from youtube by searching your message and selecting the first result.
there is a package that searches on youtube and soon on Spotify and Soundcloud and more, it's developed by a friend of mine, here is the link:
https://www.npmjs.com/package/#koenie06/discord.js-music
The package has a lot of functions that allow you to customize your code, also checking methods such as isPaused() to check if the song is already paused as an example, and got events such as finish, addSong, songPlay
I hope you found this helpful
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
Regarding the question, here is an example:
I made an auto-moderator bot that warns and deletes a mention of the owner of the server and whenever a staff member mentions the owner for urgent reasons or whatever, the bot still warns and deletes the mention of the user and adds a warn to the staff member for no reason as they just needed the owner's attention. Is there a solution to this problem?
I don't have any code sorry :(( but please help.
You can check if the member has the role by either using MemberRoleManager#has() or MemberRoleManager#some()
An example by the Discord.JS Guide
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I am building an application with C language for my final project,
I am sending the executable application via email,
when the application is downloaded it should run itself.
There is no way to do this. This is to stop viruses/malware etc. to spread.