PixelPizza / OurTube-beta

A music discord bot
1 stars 1 forks source link

Remove single guild limitations #2

Closed JaronZ closed 3 years ago

JaronZ commented 3 years ago

https://github.com/JTTechnic/OurTube/blob/2abe0f4a2103a86633847bbd8b9372c0e914a745/index.js#L50

Remove || message.channel.id !== channels.music

https://github.com/JTTechnic/OurTube/blob/2abe0f4a2103a86633847bbd8b9372c0e914a745/index.js#L72

Remove || message.member.voice.channel.id !== voiceChannels.music

JaronZ commented 3 years ago

You should also probably delete these lines in config.json @mcpsbot https://github.com/JTTechnic/OurTube/blob/8fd32e4d57bac26140def891a1922283f06317f0/config.json#L5-L10

mcpsbot commented 3 years ago

You can do it here

JaronZ commented 3 years ago

give me some time to look for all things that need to be changed

JaronZ commented 3 years ago

Remove this https://github.com/JTTechnic/OurTube/blob/e44cbbe49d22b26b1affc0d434ef186a3b689ad7/config.json#L6-L9

Remove , channels, voiceChannels https://github.com/JTTechnic/OurTube/blob/e44cbbe49d22b26b1affc0d434ef186a3b689ad7/index.js#L4

Remove these https://github.com/JTTechnic/OurTube/blob/e44cbbe49d22b26b1affc0d434ef186a3b689ad7/commands/play.js#L4 https://github.com/JTTechnic/OurTube/blob/e44cbbe49d22b26b1affc0d434ef186a3b689ad7/commands/play.js#L14-L15

Change ${play} to ▶ https://github.com/JTTechnic/OurTube/blob/e44cbbe49d22b26b1affc0d434ef186a3b689ad7/commands/play.js#L18

Remove these https://github.com/JTTechnic/OurTube/blob/e44cbbe49d22b26b1affc0d434ef186a3b689ad7/commands/resume.js#L3 https://github.com/JTTechnic/OurTube/blob/e44cbbe49d22b26b1affc0d434ef186a3b689ad7/commands/resume.js#L12-L14

Change ${play} to ▶ https://github.com/JTTechnic/OurTube/blob/e44cbbe49d22b26b1affc0d434ef186a3b689ad7/commands/resume.js#L17

JaronZ commented 3 years ago

https://github.com/JTTechnic/OurTube/blob/8d8712ece10fb553d44193df91635a49ca993c5c/commands/resume.js#L10 Add { to this line