Tomato6966 / Musicium

An advanced Discord Music Bot with a Dashboard, using distube.js.org having an interactive button & menu system and many features! Supported Features: Spotify • YouTube • SoundCloud • Live Stream • Audio Filtering • DJ Roles • Autoplay • Autoresume • Dashboard + Live Queue • ...
https://musicium.eu
GNU General Public License v2.0
298 stars 310 forks source link

PLAYER #16

Closed Ronak83x closed 3 years ago

BiskottoScriptato commented 3 years ago

Anyone can skip,stop,reseume,pause etc commnads event he/she is not in vc. if anyone is not in vc and he or she types skip command the bot sends dm you have to be in vc but the song skips.

Do you know how to run the bot? I have an issue, check in issue and see if you can help me please.

Tomato6966 commented 3 years ago

This Bot is just an EXAMPLE on how to code a very BASIC custom EMOJI based only opus encoded Discord YTDL-CORE music bot WITH Filters

simply add that infront of each command:

let userch = message.member.voice.channel;
let botch = message.guild.me.voice.channel;
if(!userch) return message.reply("JOIN A VC")
if(!botch) return message.reply("BOT IS NOT CONNECTED TO A VC")
if(botch.id != userch.id) return message.reply("JOIN THE BOT'S VC")