Jump to content
2 minutes ago, Apex_X said:

Can't you just right click and mute them manually? Seems much easier than programming a bot.

You're correct I should be more specific. What i'm trying to do is program a bot that automatically mutes the individual after (x) amount of time. For example when the user joins a a voice chat and starts talking I wan't the bot to detect that and mute the individual when the user talks for (x) amount of time. 

Link to comment
https://linustechtips.com/topic/1018875-discord-bots/#findComment-12168557
Share on other sites

Link to post
Share on other sites

10 hours ago, coyotetracker said:

You're correct I should be more specific. What i'm trying to do is program a bot that automatically mutes the individual after (x) amount of time. For example when the user joins a a voice chat and starts talking I wan't the bot to detect that and mute the individual when the user talks for (x) amount of time. 

Ive only been programming for about 3 months, but it sounds like you already know what you need to do. 

 

While (x) {

// whatever code

If ( y >  z ) {

// code 

halt for n time

Etc

}

}

 

Link to comment
https://linustechtips.com/topic/1018875-discord-bots/#findComment-12170267
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×