how to make evo bot stay in ? #333
Answered
by
mihawkman
shadmehr-salehi
asked this question in
Q&A
-
hi. |
Beta Was this translation helpful? Give feedback.
Answered by
mihawkman
Nov 16, 2020
Replies: 1 comment 6 replies
-
In the include/play.js... replace
the 300000 is ms ( 5 mins) |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
shadmehr-salehi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the include/play.js... replace
queue.channel.leave();
withsetTimeout(function() { if (!queue.connection.dispatcher && message.guild.me.voice.channel ) {queue.channel.leave(); queue.textChannel.send("I have left the channel. See you again.").catch(console.error);} else return },300000);
the 300000 is ms ( 5 mins)