h00z3x / Lost-Music-V2

An Edited Version Of Lavamusic (Since I Dont Like TS? I might be crazy!)
GNU General Public License v3.0
8 stars 2 forks source link

Add a Channel or a role to control the bot #4

Open ghost opened 11 months ago

ghost commented 11 months ago

Hello,

i use the bot and everybody can control the bot with the commands. but i want that the bot only reacts in one channel or for one selectet role.

Is this possible and how i can do this?

Best regards

h00z3x commented 11 months ago

Thanks for submitting this issue. (and also sorry to reply so late)

First, I like your idea for restricting it to a selected channel. I will consider setting up the option for it (on my free time). So you can choose any channel you want the members to use and add DJ role & owner users as a exception and restrict the setup to the owner users.

For the role restriction, thanks to the original creator (brblacky), the DJ role is enough and you can go to

botfolder/commands/music/

and there you can edit Play.js(and any other commands you want to disable) with an IDE or even notepad and change dj: false, in line 20 (not sure) to dj: true,