Best JavaScript code snippet using root
index.js
Source:index.js
1//You can delete it, if already have it//2const Aoijs = require("aoi.js")3const bot = new Aoijs.Bot({4 token: process.env.token,5 prefix: "$", //<- Change whatever with your prefix//6 mobile: true,7 connectedBots: true8})9//You can delete it, if already have it//10bot.status({11 text: "Music",12 type: "LISTENING",13 time: 314})15//Customize Property For Message//16bot.variables({17 file: "server.js", //For reboot and stats//18 database: "./database/main/main_scheme_1.sql", //For stats//19 pause: "â¸ï¸ Paused.",20 resume: "â¶ï¸ Resumed!",21 skip: "â© Skipped!", //Available {song}//22 stop: "â¹ Stopped.",23 remove: "Removed song on {d-amount}.", //Available {d-amount}//24 clearsong: "â
Cleared queue. from **{amount} song** to **0**", //Available {amount}//25 shuffle: "Shuffle Queue.",26 errorjoin: "{title:â You're not in a voice channel.} {color:FFFF00}",27 errorqueue: "{title:â There no song was playing.} {color:FF0000}",28 join: "Joined Voice Channel to the {join}.", //Available {join}//29 dc: "Disconnected.",30 //Changing Other//31 clientidsoundcloud: "",32 color: "000000",33 permission: "2176183360",34 userid: "default",35 logmusic: "0",36 247: "2", //0 = off | 1 = on stay 2 minutes | 2 = stay 24/7//37 channelstatus: "898957152029409311", //Change to your channel id, to send message when the bot restart.// 38 vol: "50", //Default Volume//39 maxvol: "150", //Max Volume//40 last: "null",41 linkdownload: "",42 filters: "none",43 controlreact: "0",44 saveseek: "0",45 durationcache: "0",46 reactmessageid: "",47 nontrigger: "0", //for disable play message when react active//48 customemoji1: "https://cdn.discordapp.com/emojis/852434440668184615.png?size=4096",49 ytemoji: "https://cdn.discordapp.com/emojis/852432148207108110.png?size=4096",50 scemoji: "https://cdn.discordapp.com/emojis/852432173758676993.png?size=4096",51 loademoji: "https://cdn.discordapp.com/emojis/895505960427196426.gif?size=4096",52 userused: "0",53 commanduserused: "0",54 //For playlist//55 1: "",56 2: "",57 3: "",58 4: "",59 5: "",60 6: "",61 7: "",62 8: "",63 9: "",64 10: ""65});66//Callbacks67bot.onMessage();68bot.onInteractionCreate();69bot.readyCommand({70 channel: "$getVar[channelstatus]",71 code: `$log[Filter reseted.]72$editIn[2ms;Reseted.;Reseted. **$serverCount Servers**]73$forEachGuild[massfilter]74Reseting Filter..75$setVar[last;$dateStamp]76$sendMessage[\`Ready on client $userTag[$clientID]\` (\`$packageVersion\`);no]`77})78bot.awaitedCommand({79 name: "massfilter",80 code: `$setUserVar[reactmessageid;;$clientID]81$resetServerVar[durationcache]82$resetServerVar[filters]83$suppressErrors`84})85bot.interactionCommand({86 name: "filter",87 code: `$if[$message[1]==]88$title[Filter]89$description[\`\`\`9029 ) 3d, 8d, 8d-v2, double, delay, chorus, clarity, deep, distorted, echo, earwax, fan, flanger, gate, half, high, low, mid, nightcore, nightcore-normal, phaser, pulsator, pulsator-2x, purebass, space, surround, vaporwave, vibrato, vibrato-2x912 ) all, clear92\`\`\`]93$addField[Filters;$getServerVar[filters];no]94$color[$getVar[color]]95$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]96$elseif[$toLowercase[$message[1]]==nightcore]97$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1.3;speed:0.775;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]98Applying..99$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Nightcore} {color:$getVar[color]}]100$setServerVar[filters;Nightcore]101$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]102$onlyIf[$queueLength!=0;$getVar[errorqueue]]103$onlyIf[$voiceID!=;$getVar[errorjoin]]104$endelseif105$elseif[$toLowercase[$message[1]]==surround]106$songFilter[phaser:0;flanger:0;gate:0;surround:1;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]107Applying..108$editIn[300ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Surround} {color:$getVar[color]}]109$setServerVar[filters;Surround]110$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]111$onlyIf[$queueLength!=0;$getVar[errorqueue]]112$onlyIf[$voiceID!=;$getVar[errorjoin]]113$endelseif114$elseif[$toLowercase[$message[1]]==flanger]115$songFilter[phaser:0;flanger:1;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]116Applying..117$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Flanger} {color:$getVar[color]}]118$setServerVar[filters;Flanger]119$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]120$onlyIf[$queueLength!=0;$getVar[errorqueue]]121$onlyIf[$voiceID!=;$getVar[errorjoin]]122$endelseif123$elseif[$toLowercase[$message[1]]==gate]124$songFilter[phaser:0;flanger:0;gate:1;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]125Applying..126$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Gate} {color:$getVar[color]}]127$setServerVar[filters;Gate]128$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]129$onlyIf[$queueLength!=0;$getVar[errorqueue]]130$onlyIf[$voiceID!=;$getVar[errorjoin]]131$endelseif132$elseif[$toLowercase[$message[1]]==chorus]133$songFilter[phaser:1;flanger:1;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]134Applying..135$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Chorus} {color:$getVar[color]}]136$setServerVar[filters;Chorus]137$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]138$onlyIf[$queueLength!=0;$getVar[errorqueue]]139$onlyIf[$voiceID!=;$getVar[errorjoin]]140$endelseif141$elseif[$toLowercase[$message[1]]==clear]142$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]143Clearing..144$editIn[2msClearing.. $random[1;30]%;Clearing.. $random[31;50]%;Clearing.. $random[51;70]%;Clearing.. $random[71;100]%;{title:Cleared.} {color:$getVar[color]}]145$setServerVar[filters;none]146$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]147$onlyIf[$queueLength!=0;$getVar[errorqueue]]148$onlyIf[$voiceID!=;$getVar[errorjoin]]149$endelseif150$elseif[$toLowercase[$message[1]]==phaser]151$songFilter[phaser:1;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]152Applying..153$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Phaser} {color:$getVar[color]}]154$setServerVar[filters;Phaser]155$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]156$onlyIf[$queueLength!=0;$getVar[errorqueue]]157$onlyIf[$voiceID!=;$getVar[errorjoin]]158$endelseif159$elseif[$toLowercase[$message[1]]==earwax]160$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:1;echo:0;contrast:0;pulsator:0;vibrato:0]161Applying..162$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Earwax} {color:$getVar[color]}]163$setServerVar[filters;Earwax]164$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]165$onlyIf[$queueLength!=0;$getVar[errorqueue]]166$onlyIf[$voiceID!=;$getVar[errorjoin]]167$endelseif168$elseif[$toLowercase[$message[1]]==echo]169$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:100;contrast:0;pulsator:0;vibrato:0]170Applying..171$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Echo} {color:$getVar[color]}]172$setServerVar[filters;Echo]173$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]174$onlyIf[$queueLength!=0;$getVar[errorqueue]]175$onlyIf[$voiceID!=;$getVar[errorjoin]]176$endelseif177$elseif[$toLowercase[$message[1]]==pulsator]178$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0.5;vibrato:0]179Applying..180$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Pulsator} {color:$getVar[color]}]181$setServerVar[filters;Pulsator]182$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]183$onlyIf[$queueLength!=0;$getVar[errorqueue]]184$onlyIf[$voiceID!=;$getVar[errorjoin]]185$endelseif186$elseif[$toLowercase[$message[1]]==pulsator-2x]187$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:2;vibrato:0]188Applying..189$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Pulsator 2x} {color:$getVar[color]}]190$setServerVar[filters;Pulsator 2x]191$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]192$onlyIf[$queueLength!=0;$getVar[errorqueue]]193$onlyIf[$voiceID!=;$getVar[errorjoin]]194$endelseif195$elseif[$toLowercase[$message[1]]==distorted]196$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:99;pulsator:0;vibrato:0]197$songFilter[contrast:99]198Applying..199$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Distorted} {color:$getVar[color]}]200$setServerVar[filters;Distorted]201$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]202$onlyIf[$queueLength!=0;$getVar[errorqueue]]203$onlyIf[$voiceID!=;$getVar[errorjoin]]204$endelseif205$elseif[$toLowercase[$message[1]]==vibrato]206$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0.3]207Applying..208$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Vibrato} {color:$getVar[color]}]209$setServerVar[filters;Vibrato]210$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]211$onlyIf[$queueLength!=0;$getVar[errorqueue]]212$onlyIf[$voiceID!=;$getVar[errorjoin]]213$endelseif214$elseif[$toLowercase[$message[1]]==vibrato-2x]215$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0.6]216Applying..217$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Vibrato 2x} {color:$getVar[color]}]218$setServerVar[filters;Vibrato 2x]219$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]220$onlyIf[$queueLength!=0;$getVar[errorqueue]]221$onlyIf[$voiceID!=;$getVar[errorjoin]]222$endelseif223$elseif[$toLowercase[$message[1]]==space]224$songFilter[phaser:1;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:1;contrast:0;pulsator:0;vibrato:0]225Applying..226$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Space} {color:$getVar[color]}]227$setServerVar[filters;Space]228$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]229$onlyIf[$queueLength!=0;$getVar[errorqueue]]230$onlyIf[$voiceID!=;$getVar[errorjoin]]231$endelseif232$elseif[$toLowercase[$message[1]]==all]233$songFilter[phaser:1;flanger:1;gate:1;surround:1;bass:10;pitch:1.1;speed:1.1;earwax:1;echo:100;contrast:99;pulsator:0.125;vibrato:0.3]234Applying..235$editIn[2s;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = All} {color:$getVar[color]}]236$setServerVar[filters;All]237$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]238$onlyIf[$queueLength!=0;$getVar[errorqueue]]239$onlyIf[$voiceID!=;$getVar[errorjoin]]240$endelseif241$elseif[$toLowercase[$message[1]]==deep]242$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:-3;pitch:0.9;speed:1.1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]243$songFilter[pitch:0.9;speed:1.1;bass:-3]244Applying..245$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Deep} {color:$getVar[color]}]246$setServerVar[filters;Deep]247$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]248$onlyIf[$queueLength!=0;$getVar[errorqueue]]249$onlyIf[$voiceID!=;$getVar[errorjoin]]250$endelseif251$elseif[$toLowercase[$message[1]]==3d]252$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0.125;vibrato:0]253Applying..254$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = 3D} {color:$getVar[color]}]255$setServerVar[filters;3D]256$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]257$onlyIf[$queueLength!=0;$getVar[errorqueue]]258$onlyIf[$voiceID!=;$getVar[errorjoin]]259$endelseif260$elseif[$toLowercase[$message[1]]==8d]261$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:30;contrast:0;pulsator:0.08;vibrato:0]262Applying..263$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = 8D} {color:$getVar[color]}]264$setServerVar[filters;8D]265$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]266$onlyIf[$queueLength!=0;$getVar[errorqueue]]267$onlyIf[$voiceID!=;$getVar[errorjoin]]268$endelseif269$elseif[$toLowercase[$message[1]]==clarity]270$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0.1;contrast:0;pulsator:0;vibrato:0]271Applying..272$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Clarity} {color:$getVar[color]}]273$setServerVar[filters;Clarity]274$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]275$onlyIf[$queueLength!=0;$getVar[errorqueue]]276$onlyIf[$voiceID!=;$getVar[errorjoin]]277$endelseif278$elseif[$toLowercase[$message[1]]==nightcore-normal]279$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1.3;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]280Applying..281$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Nightcore Normal} {color:$getVar[color]}]282$setServerVar[filters;Nightcore Normal]283$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]284$onlyIf[$queueLength!=0;$getVar[errorqueue]]285$onlyIf[$voiceID!=;$getVar[errorjoin]]286$endelseif287$elseif[$toLowercase[$message[1]]==half]288$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:0;speed:0.5;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]289Applying..290$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Half} {color:$getVar[color]}]291$setServerVar[filters;Half]292$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]293$onlyIf[$queueLength!=0;$getVar[errorqueue]]294$onlyIf[$voiceID!=;$getVar[errorjoin]]295$endelseif296$elseif[$toLowercase[$message[1]]==double]297$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:0;speed:2;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]298Applying..299$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Double} {color:$getVar[color]}]300$setServerVar[filters;Double]301$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]302$onlyIf[$queueLength!=0;$getVar[errorqueue]]303$onlyIf[$voiceID!=;$getVar[errorjoin]]304$endelseif305$elseif[$toLowercase[$message[1]]==fan]306$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:25;vibrato:0]307Applying..308$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Fan} {color:$getVar[color]}]309$setServerVar[filters;Fan]310$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]311$onlyIf[$queueLength!=0;$getVar[errorqueue]]312$onlyIf[$voiceID!=;$getVar[errorjoin]]313$endelseif314$elseif[$toLowercase[$message[1]]==purebass]315$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:20;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]316Applying..317$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Purebass} {color:$getVar[color]}]318$setServerVar[filters;Purebass]319$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]320$onlyIf[$queueLength!=0;$getVar[errorqueue]]321$onlyIf[$voiceID!=;$getVar[errorjoin]]322$endelseif323$elseif[$toLowercase[$message[1]]==low]324Applying..325$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Low} {color:$getVar[color]}]326$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0.05;contrast:0;pulsator:0;vibrato:0]327$setServerVar[filters;Low]328$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]329$onlyIf[$queueLength!=0;$getVar[errorqueue]]330$onlyIf[$voiceID!=;$getVar[errorjoin]]331$endelseif332$elseif[$toLowercase[$message[1]]==mid]333Applying..334$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Mid} {color:$getVar[color]}]335$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0.2;contrast:0;pulsator:0;vibrato:0]336$setServerVar[filters;Mid]337$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]338$onlyIf[$queueLength!=0;$getVar[errorqueue]]339$onlyIf[$voiceID!=;$getVar[errorjoin]]340$endelseif341$elseif[$toLowercase[$message[1]]==high]342Applying..343$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = High} {color:$getVar[color]}]344$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0.07;contrast:0;pulsator:0;vibrato:0]345$setServerVar[filters;High]346$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]347$onlyIf[$queueLength!=0;$getVar[errorqueue]]348$onlyIf[$voiceID!=;$getVar[errorjoin]]349$endelseif350$elseif[$toLowercase[$message[1]]==delay]351Applying..352$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Delay} {color:$getVar[color]}]353$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:1000;contrast:0;pulsator:0;vibrato:0]354$setServerVar[filters;Delay]355$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]356$onlyIf[$queueLength!=0;$getVar[errorqueue]]357$onlyIf[$voiceID!=;$getVar[errorjoin]]358$endelseif359$elseif[$toLowercase[$message[1]]==8d-v2]360Applying..361$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = 8D V2} {color:$getVar[color]}]362$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;echo:0.1;contrast:0;pulsator:0.15;vibrato:0;earwax:1]363$setServerVar[filters;8D V2]364$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]365$onlyIf[$queueLength!=0;$getVar[errorqueue]]366$onlyIf[$voiceID!=;$getVar[errorjoin]]367$endelseif368$elseIf[$toLowercase[$replaceText[$message[1];-; ]]==$toLowercase[$getServerVar[filters]]]369$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]370Clearing..371$editIn[2msClearing.. $random[1;30]%;Clearing.. $random[31;50]%;Clearing.. $random[51;70]%;Clearing.. $random[71;100]%;{title:Cleared.} {color:$getVar[color]}]372$setServerVar[filters;none]373$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]374$onlyIf[$queueLength!=0;$getVar[errorqueue]]375$onlyIf[$voiceID!=;$getVar[errorjoin]]376$endelseif377$elseif[$toLowercase[$message[1]]==vaporwave]378Applying..379$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Vaporwave} {color:$getVar[color]}]380$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:0.875;speed:1;echo:0;contrast:0;pulsator:0;vibrato:0;earwax:0]381$setServerVar[filters;Vaporwave]382$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]383$onlyIf[$queueLength!=0;$getVar[errorqueue]]384$onlyIf[$voiceID!=;$getVar[errorjoin]]385$endelseif386$else387There no filter \`$message\`.388$endif389$onlyIf[$songInfo[duration]!=0 Seconds (00:00:00);\`This track was LIVE\`]390$onlyIf[$queueLength!=0;$getVar[errorqueue]]391$onlyIf[$voiceID!=;$getVar[errorjoin]]392$cooldown[$commandInfo[filter;cooldown];Please wait **%time%** before using again.]393$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]394$interactionReply[\`$userTag[$authorID]\` using slash.]395$suppressErrors`396})397bot.interactionCommand({398 name: "play",399 code: `$if[$queueLength<1]400$deleteMessage[$get[id]]401$wait[3s]402$editMessage[$get[id];{author:Starting Playing} {title:$get[song]} {color:$getVar[color]} {timestamp}]403$else404$author[Added to queue;$getVar[customemoji1]405$title[$songInfo[title;$sub[$queueLength;1]];$songInfo[url;$sub[$queueLength;1]]]406$thumbnail[$songInfo[thumbnail;$sub[$queueLength;1]]]407$addField[Filters;\`$getServerVar[filters]\`;no]408$addField[Loop;\`$replaceText[$replaceText[$checkContains[$loopStatus;song;queue];true;on - $loopStatus];false;off]\`;yes]409$addField[Volume;\`$volume% - $getServerVar[maxvol]%\`;yes]410$addField[Duration;\`$replaceText[$replaceText[$checkCondition[$charCount[$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]==2];true;undefined];false;$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]\`;yes]411$addField[Requested By;<@$songInfo[userID;$sub[$queueLength;1]]>;no]412$color[$getVar[color]]413$textSplit[$songInfo[duration;$sub[$queueLength;1]]; ]414$endif415$let[song;$playSong[$message;$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247];0;0s];1;120s];2;7d];$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247];0;yes];1;yes];2;no];No result.]]416$joinVC[$voiceID]417$if[$queueLength<1]418$let[id;$sendMessage[{title:Starting Playing} {author:Loading..:$getVar[loademoji]} {color:$getVar[color]} {timestamp};yes]]419$endif420$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]421$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]422$onlyBotPerms[connect;Can't connect to the voice channel. - Missing Permission]423$onlyBotPerms[speak;Can't speak on the voice channel. - Missing Permission]424$onlyBotPerms[embedlinks;addreactions;Missing Permission, **Embed Links** n **Add Reactions**]425$cooldown[$commandInfo[play;cooldown];Please wait **%time%** before using again.]426$argsCheck[>1;Please write name of song or put link video.]427$onlyIf[$voiceID!=;$getVar[errorjoin]]428$suppressErrors[something just happened.]429$interactionReply[\`$userTag[$authorID]\` using slash.]`430})431bot.interactionCommand({432 name: "pause",433 code: `$pauseSong434$if[$getGlobalUserVar[controlreact]==0]435$title[$getVar[pause]]436$color[$getVar[color]]437$addTimestamp438$elseif[$getGlobalUserVar[controlreact]==1]439$addCmdReactions[â¸]440$onlyBotPerms[addreactions;]441$endelseif442$endif443$setServerVar[durationcache;$splitText[1]]444$textSplit[$songInfo[current_duration]; ]445$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]446$onlyIf[$queueLength!=0;$getVar[errorqueue]]447$cooldown[$commandInfo[pause;cooldown];Please wait **%time%** before using again.]448$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]449$onlyIf[$voiceID!=;$getVar[errorjoin]]450$interactionReply[\`$userTag[$authorID]\` using slash.]`451})452bot.interactionCommand({453 name: "resume",454 code: `$if[$getServerVar[durationcache]==0]455$resumeSong456$else457$setServerVar[durationcache;0]458$seekTo[$getServerVar[durationcache]]459$resumeSong460$endif461$if[$getGlobalUserVar[controlreact]==0]462$title[$getVar[resume]]463$color[$getVar[color]]464$addTimestamp465$elseif[$getGlobalUserVar[controlreact]==1]466$addCmdReactions[â¶]467$onlyBotPerms[addreactions;]468$endelseif469$endif470$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]471$onlyIf[$queueLength!=0;$getVar[errorqueue]]472$cooldown[$commandInfo[resume;cooldown];Please wait **%time%** before using again.]473$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]474$interactionReply[\`$userTag[$authorID]\` using slash.]`475})476bot.interactionCommand({477 name: "stop",478 code: `$setServerVar[durationcache;0]479$setServerVar[filters;none]480$stopSong481$if[$getGlobalUserVar[controlreact]==0]482$sendMessage[$getVar[stop];no]483$elseIf[$getGlobalUserVar[controlreact]==1]484$addCmdReactions[â¹]485$onlyBotPerms[addreactions;]486$endelseif487$endif488$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]489$onlyIf[$queueLength!=0;$getVar[errorqueue]]490$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]491$onlyIf[$voiceID!=;$getVar[errorjoin]]492$suppressErrors493$interactionReply[\`$userTag[$authorID]\` using slash.]`494})495bot.musicStartCommand({496 channel: "$channelID",497 code: `$if[$checkContains[$getGlobalUserVar[logmusic;$songInfo[userID]];0;1]-$hasPerms[$clientID;addreactions]==true-true]498$author[Started Playing;$replaceText[$replaceText[$checkContains[$songInfo[url];https://youtube.com/watch?v=;https://www.youtube.com/watch?v=];true;$getVar[ytemoji]];false;$getVar[scemoji]]]499$title[$songInfo[title]]500$addField[Filters;\`$replaceText[$replaceText[$checkCondition[$filterMessage[$filterMessage[$splitText[3];(];)]==00:00:00];true;none];false;$getServerVar[filters]]\`;no]501$addField[Loop;\`$replaceText[$replaceText[$checkContains[$loopStatus;song;queue];true;on - $loopStatus];false;off]\`;yes]502$addField[24/7;\`$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247;$songInfo[userID]];0;off];1;off];2;on]\`;yes]503$addField[ID;\`$replaceText[$replaceText[$checkContains[$songInfo[url];https://youtube.com/watch?v=;https://www.youtube.com/watch?v=];true;$replaceText[$replaceText[$songInfo[url];https://youtube.com/watch?v=;];https://www.youtube.com/watch?v=;]];false;undefined]\`;yes]504$addField[Song;\`$queueLength\`;yes]505$addField[Ping;\`$dbPingms\`;yes]506$addField[Playing;$replaceText[$replaceText[$checkContains[$songInfo[url];https://youtube.com/watch?v=;https://www.youtube.com/watch?v=];true;[YouTube](https://www.youtube.com/)];false;[Soundcloud](https://soundcloud.com/)];yes]507$addField[URL;[Song]($songInfo[url] "$songInfo[title]");yes] 508$addField[Volume;\`$volume%\`;yes]509$addField[Duration;\`$replaceText[$replaceText[$checkCondition[$charCount[$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]==2];true;undefined];false;$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]\`;yes]510$addField[$replaceText[$replaceText[$checkCondition[$songInfo[duration]==0 Seconds (00:00:00)];true;Streaming];false;Uploaded] By;[$songInfo[publisher]]($songInfo[publisher_url]);yes]511$addField[Running At;$replaceText[$replaceText[$checkContains[$status[$songInfo[userID]];online;idle;dnd];true;\`$toUppercase[$platform[$songInfo[userID]]]\`];false;null];yes]512$addField[Requested By;<@$songInfo[userID]>;yes]513$textSplit[$songInfo[duration]; ]514$addTimestamp515$thumbnail[$songInfo[thumbnail]]516$color[$getVar[color]]517$elseIf[$checkContains[$getGlobalUserVar[logmusic;$songInfo[userID]];0;1]-$hasPerms[$clientID;addreactions]==false-true]518$setUserVar[reactmessageid;$get[a];$clientID]519$reactionCollector[$get[a];$songInfo[userID];1h;ð,â¯,â¹,â,ð,ð;clearqueueyes,resume-pause,stop,skip,loop,recentshuffle;yes]520$wait[$ping]521$let[a;$sendMessage[{author:Started Playing:$replaceText[$replaceText[$checkContains[$songInfo[url];https://youtube.com/watch?v=;https://www.youtube.com/watch?v=];true;$getVar[ytemoji]];false;$getVar[scemoji]]}522{title:$songInfo[title]}523{field:Requested By:<@$songInfo[userID]>:yes}524{field:Running At:$replaceText[$replaceText[$checkContains[$status[$songInfo[userID]];online;idle;dnd];true;\`$toUppercase[$platform[$songInfo[userID]]]\`];false;null]:yes}525{field:$replaceText[$replaceText[$checkCondition[$songInfo[duration]==0 Seconds (00:00:00)];true;Streaming];false;Uploaded] By:[$songInfo[publisher]]($songInfo[publisher_url]):yes}526{field:Duration:\`$replaceText[$replaceText[$checkCondition[$charCount[$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]==2];true;undefined];false;$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]\`:yes}527{field:Volume:\`$volume%\`:yes}528{field:URL:[Song]($songInfo[url] "$songInfo[title]"):yes}529{field:Playing:$replaceText[$replaceText[$checkContains[$songInfo[url];https://youtube.com/watch?v=;https://www.youtube.com/watch?v=];true;[YouTube](https://www.youtube.com/)];false;[Soundcloud](https://soundcloud.com/)]:yes}530{field:Ping:\`$dbPingms\`:yes}531{field:Song:\`$queueLength\`:yes}532{field:ID:\`$replaceText[$replaceText[$checkContains[$songInfo[url];https://youtube.com/watch?v=;https://www.youtube.com/watch?v=];true;$replaceText[$replaceText[$songInfo[url];https://youtube.com/watch?v=;];https://www.youtube.com/watch?v=;]];false;undefined]\`:yes}533{field:24/7:\`$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247;$songInfo[userID]];0;off];1;off];2;on]\`:yes}534{field:Loop:\`$replaceText[$replaceText[$checkContains[$loopStatus;song;queue];true;on - $loopStatus];false;off]\`:yes}535{field:Filters:\`$replaceText[$replaceText[$checkCondition[$filterMessage[$filterMessage[$splitText[3];(];)]==00:00:00];true;none];false;$getServerVar[filters]]\`:no}536{timestamp}537{thumbnail:$songInfo[thumbnail]}538{color:$getVar[color]};yes]]539$textSplit[$songInfo[duration]; ]540$onlyIf[$messageExists[$channelID;$getUserVar[reactmessageid;$clientID]]==false;{execute:recentskipplay}]541$endelseif542$endif543$onlyIf[$getGlobalUserVar[logmusic;$songInfo[userID]]!=1;]544$volume[$getGlobalUserVar[vol;$songInfo[userID]]]545$setGlobalUserVar[userused;$sum[$getGlobalUserVar[userused;$songInfo[userID]];1];$songInfo[userID]]`546});547bot.awaitedCommand({548 name: "recentplay",549 code: `$editMessage[$getUserVar[reactmessageid;$clientID];{author:Started Playing:$replaceText[$replaceText[$checkContains[$songInfo[url];https://youtube.com/watch?v=;https://www.youtube.com/watch?v=];true;$getVar[ytemoji]];false;$getVar[scemoji]]}550{title:$songInfo[title]}551{field:Requested By:<@$songInfo[userID]>:yes}552{field:Running At:$replaceText[$replaceText[$checkContains[$status[$songInfo[userID]];online;idle;dnd];true;\`$toUppercase[$platform[$songInfo[userID]]]\`];false;null]:yes}553{field:$replaceText[$replaceText[$checkCondition[$songInfo[duration]==0 Seconds (00:00:00)];true;Streaming];false;Uploaded] By:[$songInfo[publisher]]($songInfo[publisher_url]):yes}554{field:Duration:\`$replaceText[$replaceText[$checkCondition[$charCount[$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]==2];true;undefined];false;$replaceText[$filterMessage[$filterMessage[$splitText[6];(];)];00:00:00;LIVE]]\`555\`$replaceText[$replaceText[$checkCondition[$charCount[$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]==2];true;undefined];false;$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]\`:yes}556{field:Volume:\`$volume%\`:yes}557{field:URL:[Song]($songInfo[url] "$songInfo[title]"):yes}558{field:Playing:$replaceText[$replaceText[$checkContains[$songInfo[url];https://youtube.com/watch?v=;https://www.youtube.com/watch?v=];true;[YouTube](https://www.youtube.com/)];false;[Soundcloud](https://soundcloud.com/)]:yes}559{field:Ping:\`$dbPingms\`:yes}560{field:Song:\`$queueLength\`:yes}561{field:ID:\`$replaceText[$replaceText[$checkContains[$songInfo[url];https://youtube.com/watch?v=;https://www.youtube.com/watch?v=];true;$replaceText[$replaceText[$songInfo[url];https://youtube.com/watch?v=;];https://www.youtube.com/watch?v=;]];false;undefined]\`:yes}562{field:24/7:\`$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247;$songInfo[userID]];0;off];1;off];2;on]\`:yes}563{field:Loop:\`$replaceText[$replaceText[$checkContains[$loopStatus;song;queue];true;on - $loopStatus];false;off]\`:yes}564{field:Filters:\`$replaceText[$replaceText[$checkCondition[$filterMessage[$filterMessage[$splitText[3];(];)]==00:00:00];true;none];false;$getServerVar[filters]]\`:no}565{timestamp}566{thumbnail:$songInfo[thumbnail]}567{color:$getVar[color]}]568$textSplit[$songInfo[duration] $songInfo[current_duration]; ]569$onlyIf[$queueLength!=0;]570$suppressErrors`571})572bot.awaitedCommand({573 name: "recentskipplay",574 code: `$editMessage[$getUserVar[reactmessageid;$clientID];{author:Started Playing:$replaceText[$replaceText[$checkContains[$songInfo[url];https://youtube.com/watch?v=;https://www.youtube.com/watch?v=];true;$getVar[ytemoji]];false;$getVar[scemoji]]}575{title:$songInfo[title]}576{field:Requested By:<@$songInfo[userID]>:yes}577{field:Running At:$replaceText[$replaceText[$checkContains[$status[$songInfo[userID]];online;idle;dnd];true;\`$toUppercase[$platform[$songInfo[userID]]]\`];false;null]:yes}578{field:$replaceText[$replaceText[$checkCondition[$songInfo[duration]==0 Seconds (00:00:00)];true;Streaming];false;Uploaded] By:[$songInfo[publisher]]($songInfo[publisher_url]):yes}579{field:Duration:\`$replaceText[$replaceText[$checkCondition[$charCount[$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]==2];true;undefined];false;$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]\`:yes}580{field:Volume:\`$volume%\`:yes}581{field:URL:[Song]($songInfo[url] "$songInfo[title]"):yes}582{field:Playing:$replaceText[$replaceText[$checkContains[$songInfo[url];https://youtube.com/watch?v=;https://www.youtube.com/watch?v=];true;[YouTube](https://www.youtube.com/)];false;[Soundcloud](https://soundcloud.com/)]:yes}583{field:Ping:\`$dbPingms\`:yes}584{field:Song:\`$queueLength\`:yes}585{field:ID:\`$replaceText[$replaceText[$checkContains[$songInfo[url];https://youtube.com/watch?v=;https://www.youtube.com/watch?v=];true;$replaceText[$replaceText[$songInfo[url];https://youtube.com/watch?v=;];https://www.youtube.com/watch?v=;]];false;undefined]\`:yes}586{field:24/7:\`$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247;$songInfo[userID]];0;off];1;off];2;on]\`:yes}587{field:Loop:\`$replaceText[$replaceText[$checkContains[$loopStatus;song;queue];true;on - $loopStatus];false;off]\`:yes}588{field:Filters:\`$replaceText[$replaceText[$checkCondition[$filterMessage[$filterMessage[$splitText[3];(];)]==00:00:00];true;none];false;$getServerVar[filters]]\`:no}589{timestamp}590{thumbnail:$songInfo[thumbnail]}591{color:$getVar[color]}]592$textSplit[$songInfo[duration]; ]`593})594bot.awaitedCommand({595 name: "recentshuffle",596 code: `$loop[1;recentplay]597$wait[2s]598$editMessage[$getUserVar[reactmessageid;$clientID];{author:Shuffle Queue:$getVar[customemoji1]} {field:Requested By:<@$authorID>:yes} {field:Song:\`$numberSeparator[$queueLength]\`:yes} {description:\`$cropText[$queue[1;$queueLength;{number} - {title}];2000]\`} {color:$getVar[color]} {footer:Redirecting..} {timestamp}]599$shuffleQueue600$onlyIf[$queueLength>1;Only have 1 song. {delete:2s}]601$onlyIf[$queueLength!=0;]602$suppressErrors`603})604bot.musicStartCommand({605 channel: "$channelID",606 code: `$if[$getGlobalUserVar[saveseek;$songInfo[userID]]!=0]607$setGlobalUserVar[saveseek;0;$songInfo[userID]]608$sendMessage[{description:Seek recently to $humanizeMS[$multi[$getGlobalUserVar[saveseek;$songInfo[userID]];1000];10]} {color:$getVar[color]} {timestamp};no]609$seekTo[$getGlobalUserVar[saveseek;$songInfo[userID]]]610$endif611$if[$getGlobalUserVar[vol;$songInfo[userID]]>=$sum[$getServerVar[maxvol];1]]]612$setGlobalUserVar[vol;50;$songInfo[userID]]613$volume[50]614$sendMessage[{title:Volume User was change to 50%.} {footer:Bypass limit Max Volume Server} {color:$getVar[color]} {delete:5s};no]615$endif616$suppressErrors`617})618bot.musicStartCommand({619 channel: "$channelID",620 code: `$if[$isDeafened[$clientID]==true]621$deafenUser[$clientID;yes]622$onlyIf[$isSelfDeafened[$clientID]==false;]623$onlyBotPerms[deafenmembers;]624$else625$endif626$if[$isSelfDeafened[$clientID]==false]627$title[Non-self-Deafened]628$description[<@$clientID> Failed to self-deafen.]629$color[$getVar[color]]630$addTimestamp631$deleteIn[2s]632$onlyIf[$isDeafened[$clientID]==true;]633$endif634$if[$checkContains[$songInfo[url];https://youtube.com/]==true]635$setServerVar[linkdownload;https://api.vevioz.com/?v=$replaceText[$songInfo[url];https://youtube.com/watch?v=;]&type=mp3&bitrate=320]636$else637$setServerVar[linkdownload;$jsonRequest[$jsonRequest[https://api.leref.ga/soundcloud?url=$songInfo[url];songInfo.trackURL]?client_id=$getVar[clientidsoundcloud];url]]638$wait[1s]639$onlyIf[$getVar[clientidsoundcloud]!=;]640$endif641$if[$getUserVar[nontrigger;$clientID]==1]642$setUserVar[nontrigger;0;$clientID]643$endif644$suppressErrors`645})646bot.musicEndCommand({647 channel: "$channelID",648 code: `$if[$messageExists[$channelID;$getUserVar[reactmessageid;$clientID]]==true]649$deleteMessage[$getUserVar[reactmessageid;$clientID]]650$endif651$setServerVar[filters;none]652$title[There no song again on queue.]653$footer[Left VC.]654$color[$getVar[color]]`655});656bot.awaitedCommand({657 name: "clearqueueyes",658 code: `$setServerVar[durationcache;0]659$clearSongQueue660$pauseSong661$editIn[2ms;{description:$replaceText[$getVar[clearsong];{amount};$queueLength]} {color:$getVar[color]} {timestamp}] â ï¸ Clearing...662$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]663$setServerVar[filters;none (temporary)]664$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]665$onlyIf[$queueLength!=0;]`666});667bot.awaitedCommand({668 name: "clearqueueno",669 code: `$description[Clearing was cancelled.]670$color[$getVar[color]]671$addTimestamp672$deleteIn[3s]673$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]674$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]675$onlyIf[$queueLength!=0;$getVar[errorqueue]]`676});677bot.awaitedCommand({678 name: "top",679 code: `$deletecommand680$title[Top Playing Song - $numberSeparator[$charCount[$globalUserLeaderboard[userused;asc;\`) {top} {username} - {value}\`]]]]681$description[$globalUserLeaderboard[userused;asc;\`) {top} {username} - {value}\`]]682$color[$getVar[color]]683$addTimestamp`684})685bot.awaitedCommand({686 name: "resume-pause",687 code: `$loop[1;recentplay]688$if[$queueStatus==paused]689$if[$getServerVar[durationcache]==0]690$resumeSong691$else692$setServerVar[durationcache;0]693$seekTo[$getServerVar[durationcache]]694$resumeSong695$endif696$else697$setServerVar[durationcache;$splitText[1]]698$pauseSong699$textSplit[$songInfo[current_duration]; ]700$endif701$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]702$onlyIf[$queueLength!=0;]703$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]704$onlyIf[$voiceID!=;]`705})706bot.awaitedCommand({707 name: "loop",708 code: `$loop[1;recentplay]709$if[$loopStatus==none]710$let[a;$loopSong]711$elseIf[$loopStatus==song]712$let[b;$loopQueue]713$let[a;$loopSong]714$endelseif715$elseIf[$loopStatus==queue]716$let[b;$loopQueue]717$endelseif718$else719$endif720$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]721$onlyIf[$queueLength!=0;]722$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]723$onlyIf[$voiceID!=;]724$suppressErrors`725})726bot.awaitedCommand({727 name: "stop",728 code: `$setServerVar[durationcache;0]729$setServerVar[filters;none]730$stopSong731$deleteMessage[$getUserVar[reactmessageid;$clientID]]732$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]733$onlyIf[$queueLength!=0;]`734})735bot.awaitedCommand({736 name: "skip",737 code: `$loop[1;recentskipplay]738$setUserVar[nontrigger;1;$clientID]739$skipSong740$editMessage[$getUserVar[reactmessageid;$clientID];{title:$replaceText[$getVar[skip];{song};$songInfo[title]]}741{thumbnail:$songInfo[thumbnail;$replaceText[$replaceText[$checkContains[$loopStatus;song];true;0];false;1]]}742{field:Starting Playing:\`$songInfo[title;$replaceText[$replaceText[$checkContains[$loopStatus;song];true;0];false;1]]\`:yes}743{field:Duration:\`$replaceText[$replaceText[$checkCondition[$charCount[$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]==2];true;undefined];false;$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]\`:yes}744{field:Position:\`$replaceText[$replaceText[$checkContains[$loopStatus;song];true;0];false;1]\`:yes}745{field:Loop:\`$replaceText[$replaceText[$checkContains[$loopStatus;song;queue];true;on - $loopStatus];false;off]\`:yes}746{field:24/7:\`$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247;$songInfo[userID]];0;off];1;off];2;on]\`:yes}747{timestamp}748{color:$getVar[color]}]749$textSplit[$songInfo[duration;$replaceText[$replaceText[$checkContains[$loopStatus;song];true;0];false;1]]; ]750$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]751$onlyIf[$queueLength>1;Only have 1 song. {delete:2s}]752$onlyIf[$queueLength!=0;]753$suppressErrors`754})755bot.command({756 name: "play",757 aliases: ["youtube", "p", "yt"],758 cooldown: "3s",759 code: `$if[$queueLength<1]760$deleteMessage[$get[id]]761$wait[3s]762$editMessage[$get[id];{author:Starting Playing} {title:$get[song]} {color:$getVar[color]} {timestamp}]763$else764$author[Added to queue;$getVar[customemoji1]765$title[$songInfo[title;$sub[$queueLength;1]];$songInfo[url;$sub[$queueLength;1]]]766$thumbnail[$songInfo[thumbnail;$sub[$queueLength;1]]]767$addField[Filters;\`$replaceText[$replaceText[$checkCondition[$filterMessage[$filterMessage[$splitText[3];(];)]==00:00:00];true;none];false;$getServerVar[filters]]\`;no]768$addField[Loop;\`$replaceText[$replaceText[$checkContains[$loopStatus;song;queue];true;on - $loopStatus];false;off]\`;yes]769$addField[Volume;\`$volume% - $getServerVar[maxvol]%\`;yes]770$addField[Duration;\`$replaceText[$replaceText[$checkCondition[$charCount[$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]==2];true;undefined];false;$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]\`;yes]771$addField[Requested By;<@$songInfo[userID;$sub[$queueLength;1]]>;no]772$color[$getVar[color]]773$textSplit[$songInfo[duration;$sub[$queueLength;1]]; ]774$endif775$if[$checkContains[$message;https://cdn.discordapp.com/attachments/]==true]776$let[song;$playSong[$uri[decode;$splitText[7]];$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247];0;0s];1;120s];2;7d];$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247];0;yes];1;yes];2;no];No result.]]777$textSplit[$message;/]778$elseIf[$checkContains[$message;https://soundcloud.com/]==true]779$let[song;$playSoundcloud[$message;$getVar[clientidsoundcloud];$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247];0;0s];1;120s];2;7d];yes;$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247];0;yes];1;yes];2;no];No result.]]780$endelseif781$else782$let[song;$playSong[$message;$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247];0;0s];1;120s];2;7d];$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247];0;yes];1;yes];2;no];No result.]]783$endif784$joinVC[$voiceID]785$if[$queueLength<1]786$let[id;$sendMessage[{title:Starting Playing} {author:Loading..:$getVar[loademoji]} {color:$getVar[color]} {timestamp};yes]]787$endif788$botTyping789$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]790$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]791$onlyBotPerms[connect;Can't connect to the voice channel. - Missing Permission]792$onlyBotPerms[speak;Can't speak on the voice channel. - Missing Permission]793$onlyBotPerms[embedlinks;addreactions;Missing Permission, **Embed Links** n **Add Reactions**]794$cooldown[$commandInfo[play;cooldown];Please wait **%time%** before using again.]795$argsCheck[>1;Please write name of song or put link video.]796$onlyIf[$voiceID!=;$getVar[errorjoin]]797$suppressErrors`798});799bot.command({800 name: "playskip",801 aliases: ["ps"],802 cooldown: "3s",803 code: `$if[$checkContains[$getGlobalUserVar[logmusic];0;1]==false]804$deleteMessage[$getUserVar[reactmessageid;$clientID]]805$endif806$skipTo[$sub[$queueLength;1]]807$replaceText[$replaceText[$checkCondition[$queueLength>1];false;];true;$replaceText[$replaceText[$checkContains[$getGlobalUserVar[logmusic];0;2];true;Starting Playing: \`$playSong[$message;$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247];0;0s];1;120s];2;7d];$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247];0;yes];1;yes];2;no];No result.]\`];false;]]808$botTyping809$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]810$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]811$onlyBotPerms[connect;Can't connect to the voice channel. - Missing Permission]812$onlyBotPerms[speak;Can't speak on the voice channel. - Missing Permission]813$onlyBotPerms[embedlinks;addreactions;Missing Permission, **Embed Links** n **Add Reactions**]814$cooldown[$commandInfo[playskip;cooldown];Please wait **%time%** before using again.]815$argsCheck[>1;Please write name of song or put link video.]816$onlyIf[$queueLength>=1;Require **1 song** to run it.]817$onlyIf[$voiceID!=;$getVar[errorjoin]]818$suppressErrors`819});820bot.command({821 name: "soundcloud",822 aliases: ["sc"],823 cooldown: "3s",824 code: `$if[$queueLength<1]825$deleteMessage[$get[id]]826$wait[3s]827$editMessage[$get[id];{author:Starting Playing} {title:$get[song]} {color:$getVar[color]} {timestamp}]828$else829$author[Added to queue;$getVar[customemoji1]830$title[$songInfo[title;$sub[$queueLength;1]];$songInfo[url;$sub[$queueLength;1]]]831$thumbnail[$songInfo[thumbnail;$sub[$queueLength;1]]]832$addField[Filters;\`$replaceText[$replaceText[$checkCondition[$filterMessage[$filterMessage[$splitText[3];(];)]==00:00:00];true;none];false;$getServerVar[filters]]\`;no]833$addField[Loop;\`$replaceText[$replaceText[$checkContains[$loopStatus;song;queue];true;on - $loopStatus];false;off]\`;yes]834$addField[Volume;\`$volume% - $getServerVar[maxvol]%\`;yes]835$addField[Duration;\`$replaceText[$replaceText[$checkCondition[$charCount[$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]==2];true;undefined];false;$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]\`;yes]836$addField[Requested By;<@$songInfo[userID;$sub[$queueLength;1]]>;no]837$color[$getVar[color]]838$textSplit[$songInfo[duration;$sub[$queueLength;1]]; ]839$endif840$let[song;$playSoundcloud[$message;$getVar[clientidsoundcloud];$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247];0;0s];1;120s];2;7d];yes;$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247];0;yes];1;yes];2;no];No result.]]841$joinVC[$voiceID]842$if[$queueLength<1]843$let[id;$sendMessage[{title:Starting Playing} {author:Loading..:$getVar[loademoji]} {color:$getVar[color]} {timestamp};yes]]844$endif845$botTyping846$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]847$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]848$onlyBotPerms[connect;Can't connect to the voice channel. - Missing Permission]849$onlyBotPerms[speak;Can't speak on the voice channel. - Missing Permission]850$onlyBotPerms[embedlinks;addreactions;Missing Permission, **Embed Links** n **Add Reactions**]851$cooldown[$commandInfo[soundcloud;cooldown];Please wait **%time%** before using again.]852$argsCheck[>1;Please put link song that from soundcloud.]853$onlyIf[$voiceID!=;$getVar[errorjoin]]854$suppressErrors`855});856bot.command({857 name: "download",858 cooldown: "3s",859 code: `$if[$checkContains[$songInfo[url] $suppressErrors;https://soundcloud.com/]==true]860$attachment[$getServerVar[linkdownload];$cropText[$songInfo[title];28]_128_Bitrate.mp3]861$onlyIf[$checkContains[$getServerVar[linkdownload];playlist.m3u8]!=true;no download song available.]862$endif863$if[$toLowercase[$message]==]864$color[$getVar[color]]865$image[attachment://$random[1000;1000000]-thumbnail.png]866$attachment[$songInfo[thumbnail];$random[1000;1000000]-thumbnail.png]867$sendMessage[Downloading..;no]868$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]869$elseIf[$toLowercase[$message]==--refresh]870$addCmdReactions[â
]871$setServerVar[linkdownload;$jsonRequest[$jsonRequest[https://api.leref.ga/soundcloud?url=$songInfo[url];songInfo.trackURL]?client_id=$getVar[clientidsoundcloud];url]]872$onlyIf[$checkContains[$songInfo[url];https://soundcloud.com/]!=false;Only for SoundCloud.]873$endelseif874$endif875$onlyBotPerms[attachfiles;Missing Permission **Attach Files** - Bot]876$onlyIf[$queueLength!=0;$getVar[errorqueue]]877$onlyIf[$voiceID!=;$getVar[errorjoin]]878$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]879$cooldown[$commandInfo[download;cooldown];Please wait **%time%** before using again.]`880})881bot.command({882 name: "user",883 cooldown: "3s",884 code: `$setServerVar[userid;$mentioned[1]]885$description[\`$userTag[$mentioned[1]]\` just only can execute command now.]886$addTimestamp887$color[$getVar[color]]888$addCmdReactions[â
]889$onlyIf[$isBot[$mentioned[1]]!=true;Failed.]890$onlyIf[$mentioned[1]!=;Failed.]891$argsCheck[1;Mention someone]892$cooldown[$commandInfo[user;cooldown];Please wait **%time%** before using again.]893$onlyPerms[manageserver;Missing Permission, **Manage Server** - User]`894});895bot.command({896 name: "user-disable",897 cooldown: "3s",898 code: `$setServerVar[userid;default]899$description[Change to default.]900$color[$getVar[color]]901$addCmdReactions[â
]902$addTimestamp903$onlyIf[$getServerVar[userid]!=default;Already default!]904$cooldown[$commandInfo[user-disable;cooldown];Please wait **%time%** before using again.]905$onlyPerms[manageserver;Missing Permission, **Manage Server** - User]`906});907bot.command({908 name: "help",909 cooldown: "3s",910 code: `$if[$checkContains[$botOwnerID;$authorID]==true]911__Owner Command__912\`reboot, eval, funcs\`913$endif914$title[Command List]915$addField[> Control;\`\`\`kt916- playskip 917- pause918- resume919- stop920- nowplaying921- loop922- shuffle923- shuffleskip924- pruning925- skip926- clearqueue 927- queue928- qloop929- seek930- remove931- volume932- filter933- musicsettings934\`\`\`;no]935$addField[> Playlist;\`\`\`kt936- playlist937- playlist-add938- playlist-remove939- playlist-play940\`\`\`;yes]941$addField[> Slash;942\`\`\`kt943- /filter944- /play945- /pause946- /resume947- /stop948\`\`\`;yes]949$addField[> Aliases;\`\`\`kt950- join951(j, summon)952- disconnect953(dc, bye, leave)954- play955(p, youtube, yt)956- playskip957(ps)958- soundcloud959(sc)960- nowplaying961(np)962- loop963(l, loopsong, loopmusic)964- shuffle965(sf)966- skip967(s)968- clearqueue969(cq)970- shuffleskip971(sfs)972- remove973(r)974- qloop975(ql, loopqueue)976- queue977(q)978- volume979(v)980- musicsettings981(musicsetting, musicset)982\`\`\`;no]983$addField[> Misc;\`\`\`kt984- ping985- uptime986- stats987- invite988- check989- user-info990- top991- download (--refresh)992\`\`\`;yes]993$addField[> Music Player;\`\`\`kt994- play995- soundcloud996\`\`\`;yes]997$addField[> Main;\`\`\`kt998- join999- rejoin1000- disconnect1001- slash1002- user1003- user-disable1004\`\`\`;yes]1005$addTimestamp1006$footer[Ping: $pingms - API: $botpingms - DB: $dbPingms]1007$thumbnail[$userAvatar[$clientID]]1008$color[$getVar[color]]1009$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1010$cooldown[$commandInfo[help;cooldown];Please wait **%time%** before using again.]`1011});1012bot.command({1013 name: "stats",1014 cooldown: "3s",1015 code: `$color[$getVar[color]]1016$addField[Size Database;> $cropText[$fileSize[$getVar[database];kb];5]KB;yes]1017$addField[Size Code;> $cropText[$fileSize[$getVar[file];kb];5]KB;yes]1018$addField[Command;> $numberSeparator[$commandsCount];yes]1019$addField[Server;> $numberSeparator[$serverCount];yes]1020$addField[Members;> $numberSeparator[$allMembersCount];yes]1021$addField[RAM Left;> $cropText[$divide[$sub[$maxRam;$ram];1024];4]GB;yes]1022$addField[RAM;> $cropText[$divide[$ram;1024];4]GB1023> (Used)1024> $truncate[$cropText[$djsEval[process.memoryUsage().heapTotal / 1024 / 1024;yes];4]]MB1025> (Virtual Used)1026> $truncate[$cropText[$djsEval[process.memoryUsage().external / 1024 / 1024;yes];4]]MB1027> (External);yes]1028$addField[CPU;> $cropText[$cpu;4]%;yes]1029$addField[Is Deafen/Mute;> $replaceText[$isDeafened[$clientID];null;false]-$replaceText[$isSelfDeafened[$clientID];null;false] / $replaceText[$isMuted[$clientID];null;false]-$replaceText[$isSelfMuted[$clientID];null;false];yes]1030$addField[Is Playing;> $checkCondition[$queueLength!=0];yes]1031$addField[Is Connect;> $checkCondition[$voiceID[$clientID]!=];yes]1032$addField[API Ping;> $numberSeparator[$botPing]ms;yes]1033$addField[DB Ping;> $numberSeparator[$dbPing]ms;yes]1034$addField[WS Ping;> $numberSeparator[$ping]ms;yes]1035$addField[Platform;> $djsEval[require ('os').platform();yes];yes]1036$addField[Last Online;> <t:$cropText[$getVar[last];10]:R>;yes]1037$addField[Uptime;> $client[readytimestamp];yes]1038$footer[Ver. $packageVersion ($nodeVersion);$userAvatar[$authorID;512]]1039$thumbnail[$userAvatar[$clientID]]1040$addTimestamp1041$cacheMembers1042$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1043$cooldown[$commandInfo[stats;cooldown];Please wait **%time%** before using again.]`1044});1045bot.command({1046 name: "invite",1047 cooldown: "3s",1048 code: `$replaceText[$getBotInvite;permissions=0;permissions=$getVar[permission]]1049$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1050$onlyIf[$client[ispublic]!=false;Your bot was private!]1051$cooldown[$commandInfo[invite;cooldown];Please wait **%time%** before using again.]`1052})1053bot.command({1054 name: "ping",1055 cooldown: "3s",1056 code: `\`\`\`kt1057Websocket Ping : $numberSeparator[$ping]ms1058API Ping : $numberSeparator[$botPing]ms1059Database Ping : $numberSeparator[$dbPing]ms1060Message Ping : $executionTimems1061Average Ping : $numberSeparator[$truncate[$divide[$sum[$ping;$botPing;$dbPing];3]]]ms1062\`\`\`\1063$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1064$cooldown[$commandInfo[ping;cooldown];Please wait **%time%** before using again.]`1065});1066bot.command({1067 name: "uptime",1068 cooldown: "3s",1069 code: `\`\`\`1070$client[readytimestamp]1071\`\`\`1072$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1073$cooldown[$commandInfo[uptime;cooldown];Please wait **%time%** before using again.]`1074});1075bot.command({1076 name: "musicsettings",1077 aliases: ["musicsetting", "musicset"],1078 cooldown: "3s",1079 code: `$if[$message[1]==]1080$addField[Max Volume;> \`$getServerVar[maxvol]%\`1081> (musicsettings maxvol <value>);yes]1082$addField[Stay VC;> \`$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247];0;off];1;on];2;on - 24/7]\`1083> (musicsettings stay);yes]1084$addField[React Only;> \`$replaceText[$replaceText[$getGlobalUserVar[controlreact];0;off];1;on]\`1085> (musicsettings react);yes]1086$addField[Log Music;> \`$replaceText[$replaceText[$replaceText[$getGlobalUserVar[logmusic];1;off];2;on - reaction];0;on]\`1087> (musicsettings log);yes]1088$color[$getVar[color]]1089$footer[Inspiration by DisTube]1090$addTimestamp1091$thumbnail[$userAvatar[$clientID;1024]]1092$elseIf[$message[1]==log]1093$if[$getGlobalUserVar[logmusic]==1]1094$setGlobalUserVar[logmusic;0]1095$title[Log music: **enable**]1096$color[$getVar[color]]1097$addTimestamp1098$elseIf[$getGlobalUserVar[logmusic]==0]1099$setGlobalUserVar[logmusic;2]1100$title[Log music: **enable** (with reaction control)]1101$color[$getVar[color]]1102$addTimestamp1103$endelseif1104$elseIf[$getGlobalUserVar[logmusic]==2]1105$setGlobalUserVar[logmusic;1]1106$title[Log music: **disable**]1107$color[$getVar[color]]1108$addTimestamp1109$endelseif1110$endif1111$endelseif1112$elseIf[$message[1]==react]1113$if[$getGlobalUserVar[controlreact]==0]1114$description[Command for \`pause, resume, stop, loop, join, disconnect, shuffle, shuffleskip\` will be only return reaction.]1115$addTimestamp1116$color[$getVar[color]]1117$setGlobalUserVar[controlreact;1]1118$onlyBotPerms[addreactions;Missing Permission, **Add Reactions** - Bot]1119$elseIf[$getGlobalUserVar[controlreact]==1]1120$description[Disabled.]1121$color[$getVar[color]]1122$addTimestamp1123$setGlobalUserVar[controlreact;0]1124$onlyBotPerms[addreactions;Missing Permission, **Add Reactions** - Bot]1125$endelseif1126$endif1127$endelseif1128$elseIf[$message[1]==stay]1129$if[$getGlobalUserVar[247]==2]1130$title[Off. Now no longer to be stay on voice channel.]1131$color[$getVar[color]]1132$addTimestamp1133$setGlobalUserVar[247;0]1134$elseif[$getGlobalUserVar[247]==0]1135$title[On. Will be stay **2 minutes** on voice channel.]1136$color[$getVar[color]]1137$addTimestamp1138$setGlobalUserVar[247;1]1139$endelseif1140$elseif[$getGlobalUserVar[247]==1]1141$title[On. Will be stay **24/7** on voice channel.]1142$color[$getVar[color]]1143$addTimestamp1144$setGlobalUserVar[247;2]1145$endelseif1146$endif1147$endelseif1148$elseIf[$message[1]==maxvol]1149$if[$message[2]==]1150$author[$serverName]1151$footer[Current Max Volume: $getServerVar[maxvol]%;$serverIcon[$guildID;128]]1152$color[$getVar[color]]1153$elseIf[$message[2]!=]1154$setServerVar[maxvol;$message[2]]1155$title[Changed to \`$message[2]%\`]1156$addTimestamp1157$color[$getVar[color]]1158$onlyIf[$message[2]<=501;Max volume just **500%**]1159$onlyIf[$checkContains[$message[3];-]!=true;You cant set to negative.]1160$onlyPerms[manageserver;Missing Permission, **Manage Server** - User]1161$onlyIf[$message[2]!=;]1162$endelseif1163$endif1164$endelseif1165$endif1166$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1167$cooldown[$commandInfo[musicsettings;cooldown];Please wait **%time%** before using again.]`1168})1169bot.command({1170 name: "filter",1171 cooldown: "3s",1172 code: `$if[$message[1]==]1173$title[Filter]1174$description[\`\`\`11753 ) bass, pitch, speed117629 ) 3d, 8d, 8d-v2, double, delay, chorus, clarity, deep, distorted, echo, earwax, fan, flanger, gate, half, high, low, mid, nightcore, nightcore-normal, phaser, pulsator, pulsator-2x, purebass, space, surround, vaporwave, vibrato, vibrato-2x11772 ) all, clear1178\`\`\`]1179$addField[Filters;$getServerVar[filters];no]1180$footer[Usage: filter <filter> (value optional)]1181$color[$getVar[color]]1182$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1183$elseif[$toLowercase[$message[1]]==nightcore]1184$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1.3;speed:0.775;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]1185Applying..1186$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Nightcore} {color:$getVar[color]}]1187$setServerVar[filters;Nightcore]1188$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1189$onlyIf[$queueLength!=0;$getVar[errorqueue]]1190$onlyIf[$voiceID!=;$getVar[errorjoin]]1191$endelseif1192$elseif[$toLowercase[$message[1]]==bass]1193$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:$replaceText[$replaceText[$checkCondition[$message[2]!=];true;$message[2]];false;5];pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]1194Applying..1195$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Bass | $replaceText[$replaceText[$checkCondition[$message[2]!=];true;$message[2]];false;5] dB} {color:$getVar[color]}]1196$setServerVar[filters;Bass | $replaceText[$replaceText[$checkCondition[$message[2]!=];true;$message[2]];false;5]]1197$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1198$onlyIf[$replaceText[$replaceText[$checkCondition[$message[2]!=];true;$message[2]];false;5]<=20;Max. **20**]1199$onlyIf[$replaceText[$replaceText[$checkCondition[$message[2]!=];true;$message[2]];false;5]>=-20;Min. **-20**]1200$onlyIf[$queueLength!=0;$getVar[errorqueue]]1201$onlyIf[$voiceID!=;$getVar[errorjoin]]1202$endelseif1203$elseif[$toLowercase[$message[1]]==surround]1204$songFilter[phaser:0;flanger:0;gate:0;surround:1;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]1205Applying..1206$editIn[300ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Surround} {color:$getVar[color]}]1207$setServerVar[filters;Surround]1208$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1209$onlyIf[$queueLength!=0;$getVar[errorqueue]]1210$onlyIf[$voiceID!=;$getVar[errorjoin]]1211$endelseif1212$elseif[$toLowercase[$message[1]]==flanger]1213$songFilter[phaser:0;flanger:1;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]1214Applying..1215$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Flanger} {color:$getVar[color]}]1216$setServerVar[filters;Flanger]1217$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1218$onlyIf[$queueLength!=0;$getVar[errorqueue]]1219$onlyIf[$voiceID!=;$getVar[errorjoin]]1220$endelseif1221$elseif[$toLowercase[$message[1]]==gate]1222$songFilter[phaser:0;flanger:0;gate:1;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]1223Applying..1224$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Gate} {color:$getVar[color]}]1225$setServerVar[filters;Gate]1226$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1227$onlyIf[$queueLength!=0;$getVar[errorqueue]]1228$onlyIf[$voiceID!=;$getVar[errorjoin]]1229$endelseif1230$elseif[$toLowercase[$message[1]]==chorus]1231$songFilter[phaser:1;flanger:1;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]1232Applying..1233$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Chorus} {color:$getVar[color]}]1234$setServerVar[filters;Chorus]1235$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1236$onlyIf[$queueLength!=0;$getVar[errorqueue]]1237$onlyIf[$voiceID!=;$getVar[errorjoin]]1238$endelseif1239$elseif[$toLowercase[$message[1]]==clear]1240$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]1241Clearing..1242$editIn[2msClearing.. $random[1;30]%;Clearing.. $random[31;50]%;Clearing.. $random[51;70]%;Clearing.. $random[71;100]%;{title:Cleared.} {color:$getVar[color]}]1243$setServerVar[filters;none]1244$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1245$onlyIf[$queueLength!=0;$getVar[errorqueue]]1246$onlyIf[$voiceID!=;$getVar[errorjoin]]1247$endelseif1248$elseif[$toLowercase[$message[1]]==phaser]1249$songFilter[phaser:1;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]1250Applying..1251$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Phaser} {color:$getVar[color]}]1252$setServerVar[filters;Phaser]1253$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1254$onlyIf[$queueLength!=0;$getVar[errorqueue]]1255$onlyIf[$voiceID!=;$getVar[errorjoin]]1256$endelseif1257$elseif[$toLowercase[$message[1]]==earwax]1258$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:1;echo:0;contrast:0;pulsator:0;vibrato:0]1259Applying..1260$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Earwax} {color:$getVar[color]}]1261$setServerVar[filters;Earwax]1262$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1263$onlyIf[$queueLength!=0;$getVar[errorqueue]]1264$onlyIf[$voiceID!=;$getVar[errorjoin]]1265$endelseif1266$elseif[$toLowercase[$message[1]]==pitch]1267$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:$replaceText[$replaceText[$checkCondition[$message[2]!=];true;$message[2]];false;1.1];speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]1268Applying..1269$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Pitch | $replaceText[$replaceText[$checkCondition[$message[2]!=];true;$message[2]];false;1.1]} {color:$getVar[color]}]1270$setServerVar[filters;Pitch | $replaceText[$replaceText[$checkCondition[$message[2]!=];true;$message[2]];false;1.1]]1271$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1272$onlyIf[$replaceText[$replaceText[$checkCondition[$message[2]!=];true;$message[2]];false;1.1]<=1.9;Max. **1.9**]1273$onlyIf[$replaceText[$replaceText[$checkCondition[$message[2]!=];true;$message[2]];false;1.1]>0.09;Min. **0.1**]1274$onlyIf[$queueLength!=0;$getVar[errorqueue]]1275$onlyIf[$voiceID!=;$getVar[errorjoin]]1276$endelseif1277$elseif[$toLowercase[$message[1]]==speed]1278$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:$replaceText[$replaceText[$checkCondition[$message[2]!=];true;$message[2]];false;1.1];earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]1279Applying..1280$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Speed | $replaceText[$replaceText[$checkCondition[$message[2]!=];true;$message[2]];false;1.1]} {color:$getVar[color]}]1281$setServerVar[filters;Speed | $replaceText[$replaceText[$checkCondition[$message[2]!=];true;$message[2]];false;1.1]]1282$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1283$onlyIf[$replaceText[$replaceText[$checkCondition[$message[2]!=];true;$message[2]];false;1.1]<=9.9;Max. **9.9**]1284$onlyIf[$replaceText[$replaceText[$checkCondition[$message[2]!=];true;$message[2]];false;1.1]>0.4;Min. **0.5**]1285$onlyIf[$queueLength!=0;$getVar[errorqueue]]1286$onlyIf[$voiceID!=;$getVar[errorjoin]]1287$endelseif1288$elseif[$toLowercase[$message[1]]==echo]1289$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:100;contrast:0;pulsator:0;vibrato:0]1290Applying..1291$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Echo} {color:$getVar[color]}]1292$setServerVar[filters;Echo]1293$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1294$onlyIf[$queueLength!=0;$getVar[errorqueue]]1295$onlyIf[$voiceID!=;$getVar[errorjoin]]1296$endelseif1297$elseif[$toLowercase[$message[1]]==pulsator]1298$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0.5;vibrato:0]1299Applying..1300$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Pulsator} {color:$getVar[color]}]1301$setServerVar[filters;Pulsator]1302$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1303$onlyIf[$queueLength!=0;$getVar[errorqueue]]1304$onlyIf[$voiceID!=;$getVar[errorjoin]]1305$endelseif1306$elseif[$toLowercase[$message[1]]==pulsator-2x]1307$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:2;vibrato:0]1308Applying..1309$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Pulsator 2x} {color:$getVar[color]}]1310$setServerVar[filters;Pulsator 2x]1311$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1312$onlyIf[$queueLength!=0;$getVar[errorqueue]]1313$onlyIf[$voiceID!=;$getVar[errorjoin]]1314$endelseif1315$elseif[$toLowercase[$message[1]]==distorted]1316$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:99;pulsator:0;vibrato:0]1317$songFilter[contrast:99]1318Applying..1319$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Distorted} {color:$getVar[color]}]1320$setServerVar[filters;Distorted]1321$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1322$onlyIf[$queueLength!=0;$getVar[errorqueue]]1323$onlyIf[$voiceID!=;$getVar[errorjoin]]1324$endelseif1325$elseif[$toLowercase[$message[1]]==vibrato]1326$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0.3]1327Applying..1328$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Vibrato} {color:$getVar[color]}]1329$setServerVar[filters;Vibrato]1330$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1331$onlyIf[$queueLength!=0;$getVar[errorqueue]]1332$onlyIf[$voiceID!=;$getVar[errorjoin]]1333$endelseif1334$elseif[$toLowercase[$message[1]]==vibrato-2x]1335$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0.6]1336Applying..1337$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Vibrato 2x} {color:$getVar[color]}]1338$setServerVar[filters;Vibrato 2x]1339$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1340$onlyIf[$queueLength!=0;$getVar[errorqueue]]1341$onlyIf[$voiceID!=;$getVar[errorjoin]]1342$endelseif1343$elseif[$toLowercase[$message[1]]==space]1344$songFilter[phaser:1;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:1;contrast:0;pulsator:0;vibrato:0]1345Applying..1346$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Space} {color:$getVar[color]}]1347$setServerVar[filters;Space]1348$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1349$onlyIf[$queueLength!=0;$getVar[errorqueue]]1350$onlyIf[$voiceID!=;$getVar[errorjoin]]1351$endelseif1352$elseif[$toLowercase[$message[1]]==all]1353$songFilter[phaser:1;flanger:1;gate:1;surround:1;bass:10;pitch:1.1;speed:1.1;earwax:1;echo:100;contrast:99;pulsator:0.125;vibrato:0.3]1354Applying..1355$editIn[2s;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = All} {color:$getVar[color]}]1356$setServerVar[filters;All]1357$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1358$onlyIf[$queueLength!=0;$getVar[errorqueue]]1359$onlyIf[$voiceID!=;$getVar[errorjoin]]1360$endelseif1361$elseif[$toLowercase[$message[1]]==deep]1362$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:-3;pitch:0.9;speed:1.1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]1363$songFilter[pitch:0.9;speed:1.1;bass:-3]1364Applying..1365$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Deep} {color:$getVar[color]}]1366$setServerVar[filters;Deep]1367$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1368$onlyIf[$queueLength!=0;$getVar[errorqueue]]1369$onlyIf[$voiceID!=;$getVar[errorjoin]]1370$endelseif1371$elseif[$toLowercase[$message[1]]==3d]1372$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0.135;vibrato:0]1373Applying..1374$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = 3D} {color:$getVar[color]}]1375$setServerVar[filters;3D]1376$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1377$onlyIf[$queueLength!=0;$getVar[errorqueue]]1378$onlyIf[$voiceID!=;$getVar[errorjoin]]1379$endelseif1380$elseif[$toLowercase[$message[1]]==8d]1381$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:30;contrast:0;pulsator:0.08;vibrato:0]1382Applying..1383$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = 8D} {color:$getVar[color]}]1384$setServerVar[filters;8D]1385$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1386$onlyIf[$queueLength!=0;$getVar[errorqueue]]1387$onlyIf[$voiceID!=;$getVar[errorjoin]]1388$endelseif1389$elseif[$toLowercase[$message[1]]==clarity]1390$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0.1;contrast:0;pulsator:0;vibrato:0]1391Applying..1392$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Clarity} {color:$getVar[color]}]1393$setServerVar[filters;Clarity]1394$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1395$onlyIf[$queueLength!=0;$getVar[errorqueue]]1396$onlyIf[$voiceID!=;$getVar[errorjoin]]1397$endelseif1398$elseif[$toLowercase[$message[1]]==nightcore-normal]1399$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1.3;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]1400Applying..1401$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Nightcore Normal} {color:$getVar[color]}]1402$setServerVar[filters;Nightcore Normal]1403$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1404$onlyIf[$queueLength!=0;$getVar[errorqueue]]1405$onlyIf[$voiceID!=;$getVar[errorjoin]]1406$endelseif1407$elseif[$toLowercase[$message[1]]==half]1408$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:0;speed:0.5;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]1409Applying..1410$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Half} {color:$getVar[color]}]1411$setServerVar[filters;Half]1412$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1413$onlyIf[$queueLength!=0;$getVar[errorqueue]]1414$onlyIf[$voiceID!=;$getVar[errorjoin]]1415$endelseif1416$elseif[$toLowercase[$message[1]]==double]1417$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:0;speed:2;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]1418Applying..1419$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Double} {color:$getVar[color]}]1420$setServerVar[filters;Double]1421$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1422$onlyIf[$queueLength!=0;$getVar[errorqueue]]1423$onlyIf[$voiceID!=;$getVar[errorjoin]]1424$endelseif1425$elseif[$toLowercase[$message[1]]==fan]1426$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:25;vibrato:0]1427Applying..1428$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Fan} {color:$getVar[color]}]1429$setServerVar[filters;Fan]1430$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1431$onlyIf[$queueLength!=0;$getVar[errorqueue]]1432$onlyIf[$voiceID!=;$getVar[errorjoin]]1433$endelseif1434$elseif[$toLowercase[$message[1]]==purebass]1435$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:20;pitch:1;speed:1;earwax:0;echo:0;contrast:0;pulsator:0;vibrato:0]1436Applying..1437$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Purebass} {color:$getVar[color]}]1438$setServerVar[filters;Purebass]1439$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1440$onlyIf[$queueLength!=0;$getVar[errorqueue]]1441$onlyIf[$voiceID!=;$getVar[errorjoin]]1442$endelseif1443$elseif[$toLowercase[$message[1]]==low]1444Applying..1445$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Low} {color:$getVar[color]}]1446$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0.05;contrast:0;pulsator:0;vibrato:0]1447$setServerVar[filters;Low]1448$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1449$onlyIf[$queueLength!=0;$getVar[errorqueue]]1450$onlyIf[$voiceID!=;$getVar[errorjoin]]1451$endelseif1452$elseif[$toLowercase[$message[1]]==mid]1453Applying..1454$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Mid} {color:$getVar[color]}]1455$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0.2;contrast:0;pulsator:0;vibrato:0]1456$setServerVar[filters;Mid]1457$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1458$onlyIf[$queueLength!=0;$getVar[errorqueue]]1459$onlyIf[$voiceID!=;$getVar[errorjoin]]1460$endelseif1461$elseif[$toLowercase[$message[1]]==high]1462Applying..1463$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = High} {color:$getVar[color]}]1464$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:0.07;contrast:0;pulsator:0;vibrato:0]1465$setServerVar[filters;High]1466$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1467$onlyIf[$queueLength!=0;$getVar[errorqueue]]1468$onlyIf[$voiceID!=;$getVar[errorjoin]]1469$endelseif1470$elseif[$toLowercase[$message[1]]==delay]1471Applying..1472$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Delay} {color:$getVar[color]}]1473$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;earwax:0;echo:1000;contrast:0;pulsator:0;vibrato:0]1474$setServerVar[filters;Delay]1475$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1476$onlyIf[$queueLength!=0;$getVar[errorqueue]]1477$onlyIf[$voiceID!=;$getVar[errorjoin]]1478$endelseif1479$elseif[$toLowercase[$message[1]]==8d-v2]1480Applying..1481$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = 8D V2} {color:$getVar[color]}]1482$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:1;speed:1;echo:0.1;contrast:0;pulsator:0.15;vibrato:0;earwax:1]1483$setServerVar[filters;8D V2]1484$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1485$onlyIf[$queueLength!=0;$getVar[errorqueue]]1486$onlyIf[$voiceID!=;$getVar[errorjoin]]1487$endelseif1488$elseif[$toLowercase[$message[1]]==vaporwave]1489Applying..1490$editIn[2ms;Applying.. $random[1;55]%;Applying.. $random[56;100]%;{title:Applyed.} {footer:Filter = Vaporwave} {color:$getVar[color]}]1491$songFilter[phaser:0;flanger:0;gate:0;surround:0;bass:0;pitch:0.875;speed:1;echo:0;contrast:0;pulsator:0;vibrato:0;earwax:0]1492$setServerVar[filters;Vaporwave]1493$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1494$onlyIf[$queueLength!=0;$getVar[errorqueue]]1495$onlyIf[$voiceID!=;$getVar[errorjoin]]1496$endelseif1497$else1498There no filter \`$message\`.1499$endif1500$onlyIf[$songInfo[duration]!=0 Seconds (00:00:00);\`This track was LIVE\`]1501$onlyIf[$queueLength!=0;$getVar[errorqueue]]1502$onlyIf[$voiceID!=;$getVar[errorjoin]]1503$cooldown[$commandInfo[filter;cooldown];Please wait **%time%** before using again.]1504$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]`1505});1506bot.command({1507 name: "check",1508 cooldown: "3s",1509 code: `$title[Check]1510$description[\`\`\`1511Public : $replaceText[$replaceText[$client[ispublic];true;â
];false;â]1512Pause : $replaceText[$replaceText[$checkCondition[$getVar[pause]!=];true;â
];false;â]1513Resume : $replaceText[$replaceText[$checkCondition[$getVar[resume]!=];true;â
];false;â]1514Skip : $replaceText[$replaceText[$checkCondition[$getVar[skip]!=];true;â
];false;â]1515Stop : $replaceText[$replaceText[$checkCondition[$getVar[stop]!=];true;â
];false;â]1516Shuffle : $replaceText[$replaceText[$checkCondition[$getVar[shuffle]!=];true;â
];false;â]1517Clearqueue : $replaceText[$replaceText[$checkCondition[$getVar[clearsong]!=];true;â
];false;â]1518Join : $replaceText[$replaceText[$checkCondition[$getVar[join]!=];true;â
];false;â]1519Disconnect : $replaceText[$replaceText[$checkCondition[$getVar[dc]!=];true;â
];false;â]1520Play : $replaceText[$replaceText[$checkCondition[$getVar[errorjoin]!=];true;â
];false;â]1521ClientID : $replaceText[$replaceText[$checkCondition[$getVar[clientidsoundcloud]!=];true;â
];false;â]1522UserID : $replaceText[$replaceText[$checkCondition[$getServerVar[userid]!=default];true;â
];false;â]1523Log Music : $replaceText[$replaceText[$checkContains[$getGlobalUserVar[logmusic];0;2];true;â
];false;â]1524React : $replaceText[$replaceText[$checkContains[$getGlobalUserVar[controlreact];1];true;â
];false;â]1525Max Volume : $getServerVar[maxvol]%1526User Volume : $getGlobalUserVar[vol]%15271) Emoji : $replaceText[$replaceText[$checkCondition[$getVar[customemoji1]!=];true;â
];false;â]15282) Emoji : $replaceText[$replaceText[$checkCondition[$getVar[ytemoji]!=];true;â
];false;â]15293) Emoji : $replaceText[$replaceText[$checkCondition[$getVar[scemoji]!=];true;â
];false;â]15304) Emoji : $replaceText[$replaceText[$checkCondition[$getVar[loademoji]!=];true;â
];false;â]1531Connect : $replaceText[$replaceText[$checkCondition[$hasPerms[$clientID;connect]==true];true;â
];false;â]1532Speak : $replaceText[$replaceText[$checkCondition[$hasPerms[$clientID;speak]==true];true;â
];false;â]1533Deafen : $replaceText[$replaceText[$checkCondition[$hasPerms[$clientID;deafenmembers]==true];true;â
];false;â]1534Reactions : $replaceText[$replaceText[$checkCondition[$hasPerms[$clientID;addreactions]==true];true;â
];false;â]1535Messages : $replaceText[$replaceText[$checkCondition[$hasPerms[$clientID;managemessages]==true];true;â
];false;â]1536Embed Links : $replaceText[$replaceText[$checkCondition[$hasPerms[$clientID;embedlinks]==true];true;â
];false;â]1537Attach Files : $replaceText[$replaceText[$checkCondition[$hasPerms[$clientID;attachfiles]==true];true;â
];false;â]1538Move Members : $replaceText[$replaceText[$checkCondition[$hasPerms[$clientID;movemembers]==true];true;â
];false;â]1539\`\`\`]1540$color[$getVar[color]]1541$footer[Color: $getVar[color]1542Latency: $numberSeparator[$botPing]ms]1543$addTimestamp1544$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1545$cooldown[$commandInfo[check;cooldown];Please wait **%time%** before using again.]`1546});1547bot.command({1548 name: "user-info",1549 cooldown: "3s",1550 code: `$author[$username[$findUser[$message;yes]]#$discriminator[$findUser[$message;yes]];$userAvatar[$findUser[$message;yes]]]1551$addField[Command Used;\`$numberSeparator[$getGlobalUserVar[commanduserused;$findUser[$message;yes]];.]\`;yes]1552$addField[Song Played;\`$numberSeparator[$getGlobalUserVar[userused;$findUser[$message;yes]];.]\`;yes]1553$addField[Created At; \`$creationDate[$findUser[$message;yes];date]\`;yes]1554$color[$getVar[color]]1555$addTimestamp1556$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1557$cooldown[$commandInfo[user-info;cooldown];Please wait **%time%** before using again.]1558$onlyIf[$isBot[$findUser[$message;yes]]!=true;{description:\`â Oops.. looks like we cant collect data user.\`} {color:$getVar[color]}]`1559});1560bot.command({1561 name: "seek",1562 cooldown: "3s",1563 code: `$if[$toLowercase[$message[2]]==save]1564$addField[Seek to \`$replaceText[$replaceText[$checkCondition[$humanizeMS[$multi[$message[1];1000];10]!=];false;0 second];true;$humanizeMS[$multi[$message[1];1000];10]]\`;one-time use saving seek.]1565$footer[Value: $message[1]]1566$color[$getVar[color]]1567$setGlobalUserVar[saveseek;$message[1]]1568$seekTo[$message[1]]1569$onlyIf[$message[1]!=0;You cant.]1570$else1571$description[Seek to \`$replaceText[$replaceText[$checkCondition[$humanizeMS[$multi[$noMentionMessage;1000];10]!=];false;0 second];true;$humanizeMS[$multi[$noMentionMessage;1000];10]]\`]1572$footer[Value: $noMentionMessage]1573$color[$getVar[color]]1574$wait[$sum[$multi[$botPing;1;2;3];$dbPing]]1575$seekTo[$noMentionMessage]1576$endif1577$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1578$onlyIf[$checkContains[$message[1];-]!=true;You cant seek negative.]1579$onlyIf[$isNumber[$message[1]]!=false;Must number!]1580$argsCheck[>1;Usage: \`seek (number)\`]1581$onlyIf[$songInfo[duration]!=0 Seconds (00:00:00);\`This track was LIVE\`]1582$onlyIf[$queueLength!=0;$getVar[errorqueue]]1583$cooldown[$commandInfo[seek;cooldown];Please wait **%time%** before using again.]1584$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]1585$onlyIf[$voiceID!=;$getVar[errorjoin]]1586$suppressErrors`1587});1588bot.command({1589 name: "join",1590 aliases: ["j", "summon"],1591 cooldown: "3s",1592 code: `$joinVC[$replaceText[$replaceText[$checkCondition[$message!=];false;$voiceID];true;$findChannel[$message]]]1593$if[$hasPerms[$clientID;movemembers]==true]1594$moveUser[$authorID;$replaceText[$replaceText[$checkCondition[$message!=];false;$voiceID];true;$findChannel[$message]]]1595$endif1596$if[$getGlobalUserVar[controlreact]==1]1597$addCmdReactions[â
]1598$onlyBotPerms[addreactions;]1599$else1600$replaceText[$getVar[join];{join};$channelName[$replaceText[$replaceText[$checkCondition[$message!=];false;$voiceID];true;$findChannel[$message]]]]1601$endif1602$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1603$onlyIf[$voiceID[$clientID]==;Already joined!]1604$cooldown[$commandInfo[join;cooldown];Please wait **%time%** before using again.]1605$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]1606$onlyIf[$voiceID!=;$getVar[errorjoin]]1607$suppressErrors[something just happened.]`1608});1609bot.command({1610 name: "rejoin",1611 aliases: ["reconnect"],1612 cooldown: "3s",1613 code: `$if[$messageExists[$channelID;$getUserVar[reactmessageid;$clientID]]==true]1614$deleteMessage[$getUserVar[reactmessageid;$clientID]]1615$endif1616$if[$voiceID[$clientID]==]1617$joinVC[$voiceID]1618$else1619$joinVC[$voiceID]1620$wait[$multi[$botPing;2]]1621$leaveVC1622$setServerVar[filters;none]1623$endif1624$cooldown[$commandInfo[rejoin;cooldown];Please wait **%time%** before using again.]1625$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]1626$onlyIf[$voiceID!=;$getVar[errorjoin]]1627$suppressErrors[something just happened.]`1628})1629bot.command({1630 name: "disconnect",1631 aliases: ["dc", "bye", "leave"],1632 cooldown: "3s",1633 code: `$if[$messageExists[$channelID;$getUserVar[reactmessageid;$clientID]]==true]1634$deleteMessage[$getUserVar[reactmessageid;$clientID]]1635$endif1636$if[$hasPerms[$clientID;movemembers]==true]1637$moveUser[$authorID]1638$endif1639$leaveVC1640$setServerVar[filters;none]1641$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1642$if[$getGlobalUserVar[controlreact]==1]1643$addCmdReactions[â]1644$onlyBotPerms[addreactions;]1645$else1646$getVar[dc]1647$endif1648$onlyIf[$voiceID[$clientID]!=;Already disconnected!]1649$cooldown[$commandInfo[disconnect;cooldown];Please wait **%time%** before using again.]1650$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]1651$onlyIf[$voiceID!=;$getVar[errorjoin]]1652$suppressErrors[something just happened.]`1653});1654bot.command({1655 name: "slash",1656 cooldown: "3s",1657 code: `$createSlashCommand[$guildID;play;Play song;song:Support YouTube & Soundcloud:true:3]1658$createSlashCommand[$guildID;filter;For list, just leave blank;filter:Use FIlter:false:3]1659$createSlashCommand[$guildID;resume;Resume Song]1660$createSlashCommand[$guildID;pause;Pause Song]1661$createSlashCommand[$guildID;stop;Stop Song]1662$title[Successfully created]1663$description[You can use slash command now.] $color[$getVar[color]]1664$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1665$cooldown[$commandInfo[slash;cooldown];Please wait **%time%** before using again.]1666$onlyPerms[manageserver;You didnt have permission **Manage Server**.]1667$suppressErrors[failed.]`1668});1669bot.command({1670 name: "pause",1671 cooldown: "3s",1672 code: `$pauseSong1673$if[$getGlobalUserVar[controlreact]==0]1674$title[$getVar[pause]]1675$color[$getVar[color]]1676$addTimestamp1677$elseif[$getGlobalUserVar[controlreact]==1]1678$addCmdReactions[â¸]1679$onlyBotPerms[addreactions;]1680$endelseif1681$endif1682$setServerVar[durationcache;$splitText[1]]1683$textSplit[$songInfo[current_duration]; ]1684$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1685$onlyIf[$queueLength!=0;$getVar[errorqueue]]1686$cooldown[$commandInfo[pause;cooldown];Please wait **%time%** before using again.]1687$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]1688$onlyIf[$voiceID!=;$getVar[errorjoin]]`1689});1690bot.command({1691 name: "resume",1692 cooldown: "3s",1693 code: `$if[$getServerVar[durationcache]==0]1694$resumeSong1695$else1696$setServerVar[durationcache;0]1697$seekTo[$getServerVar[durationcache]]1698$resumeSong1699$endif1700$if[$getGlobalUserVar[controlreact]==0]1701$title[$getVar[resume]]1702$color[$getVar[color]]1703$addTimestamp1704$elseif[$getGlobalUserVar[controlreact]==1]1705$addCmdReactions[â¶]1706$onlyBotPerms[addreactions;]1707$endelseif1708$endif1709$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1710$onlyIf[$queueLength!=0;$getVar[errorqueue]]1711$cooldown[$commandInfo[resume;cooldown];Please wait **%time%** before using again.]1712$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]1713$onlyIf[$voiceID!=;$getVar[errorjoin]]`1714});1715bot.command({1716 name: "loop",1717 aliases: ["l", "loopsong", "loopmusic"],1718 cooldown: "3s",1719 code: `$if[$getGlobalUserVar[controlreact]==1]1720$let[say goodbye;$loopSong]1721$addCmdReactions[ð]1722$onlyBotPerms[addreactions;]1723$else1724$description[$replaceText[$replaceText[$checkCondition[$loopSong==true];true;Loop now **on**];false;Loop now **off**]]1725$color[$getVar[color]]1726$addTimestamp1727$endif1728$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1729$onlyIf[$loopStatus!=queue;You currently active **queue loop.**]1730$onlyIf[$queueLength!=0;$getVar[errorqueue]]1731$cooldown[$commandInfo[loop;cooldown];Please wait **%time%** before using again.]1732$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]1733$onlyIf[$voiceID!=;$getVar[errorjoin]]1734$suppressErrors[]`1735});1736bot.command({1737 name: "qloop",1738 aliases: ["ql", "loopqueue"],1739 cooldown: "3s",1740 code: `$if[$getGlobalUserVar[controlreact]==1]1741$let[let you down;$loopQueue]1742$addCmdReactions[ð]1743$onlyBotPerms[addreactions;]1744$else1745$description[$replaceText[$replaceText[$checkCondition[$loopQueue==true];true;Queue Loop now **on**];false;Queue Loop now **off**]]1746$color[$getVar[color]]1747$addTimestamp1748$endif1749$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1750$onlyIf[$loopStatus!=song;You currently active **song loop.**]1751$onlyIf[$queueLength!=0;$getVar[errorqueue]]1752$cooldown[$commandInfo[qloop;cooldown];Please wait **%time%** before using again.]1753$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]1754$onlyIf[$voiceID!=;$getVar[errorjoin]]1755$suppressErrors[]`1756});1757bot.command({1758 name: "reboot",1759 code: `$if[$message[1]==]1760$description[) reboot --normal1761> Reboot1762) reboot --destroy1763> Reboot Instantly Turn Off]1764$color[$getVar[color]]1765$addTimestamp1766$elseIf[$toLowercase[$message[1]]==--normal]1767$reboot[server.js]1768$wait[40ms]1769$addCmdReactions[â
]1770$endelseif1771$elseIf[$toLowercase[$message[1]]==--destroy]1772$killClient1773$wait[40ms]1774$addCmdReactions[â
]1775$endelseif1776$endif1777$onlyIf[$checkContains[$botOwnerID;$authorID]!=false;]`1778});1779bot.command({1780 name: "eval",1781 code: `$eval[$message]1782$onlyIf[$checkContains[$botOwnerID;$authorID]!=false;]1783$argsCheck[>1;what]`1784});1785bot.command({1786 name: "funcs",1787 code: `$author[$getObjectProperty[data[0].desc]$getObjectProperty[message]]1788Usage: \`$getObjectProperty[data[0].usage]\`1789$createObject[$jsonRequest[https://api.leref.ga/functions/$message;;Functions \`$message\` not found.]]1790$color[$getVar[color]]1791$addTimestamp1792$argsCheck[>1;Functions?]1793$onlyIf[$checkContains[$botOwnerID;$authorID]!=false;]`1794});1795bot.command({1796 name: "pruning",1797 cooldown: "3s",1798 code: `$description[$replaceText[$replaceText[$checkCondition[$pruneMusic==true];true;Pruning now **on**];false;Pruning now **off**]]1799$color[$getVar[color]]1800$addTimestamp1801$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1802$onlyIf[$queueLength!=0;$getVar[errorqueue]]1803$cooldown[$commandInfo[pruning;cooldown];Please wait **%time%** before using again.]1804$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]1805$onlyIf[$voiceID!=;$getVar[errorjoin]]1806$suppressErrors`1807});1808bot.command({1809 name: "shuffle",1810 aliases: ["sf"],1811 cooldown: "3s",1812 code: `$if[$getGlobalUserVar[controlreact]==1]1813$shuffleQueue1814$addCmdReactions[ð]1815$onlyBotPerms[addreactions;]1816$else1817$editIn[2ms;{author:$getVar[shuffle]} {title:Queue} {color:$getVar[color]} {description:$queue[1;3;\`{number} - {title}\`]} {timestamp};{author:$getVar[shuffle]} {title:Queue} {color:$getVar[color]} {description:$queue[1;7;\`{number} - {title}\`]} {timestamp};{author:$getVar[shuffle]} {title:Queue} {color:$getVar[color]} {description:$queue[1;10;\`{number} - {title}\`]} {timestamp}]1818$shuffleQueue1819$title[Updating..]1820$addTimestamp1821$color[$getVar[color]]1822$endif1823$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1824$onlyIf[$queueLength>1;Only have **$queueLength song**.]1825$onlyIf[$queueLength!=0;$getVar[errorqueue]]1826$cooldown[$commandInfo[shuffle;cooldown];Please wait **%time%** before using again.]1827$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]1828$onlyIf[$voiceID!=;$getVar[errorjoin]]`1829});1830bot.command({1831 name: "shuffleskip",1832 aliases: ["sfs"],1833 cooldown: "3s",1834 code: `$skipSong1835$if[$getGlobalUserVar[controlreact]==1]1836$addCmdReactions[ð;â]1837$onlyBotPerms[addreactions;]1838$else1839$author[$getVar[shuffle]]1840$title[$replaceText[$getVar[skip];{song};$songInfo[title]]]1841$thumbnail[$songInfo[thumbnail;$replaceText[$replaceText[$checkContains[$loopStatus;song];true;0];false;1]]]1842$addField[24/7;\`$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247;$songInfo[userID]];0;off];1;off];2;on]\`;yes]1843$addField[Loop;\`$replaceText[$replaceText[$checkContains[$loopStatus;song;queue];true;on - $loopStatus];false;off]\`;yes]1844$addField[Position;\`$replaceText[$replaceText[$checkContains[$loopStatus;song];true;0];false;1]\`;yes]1845$addField[Duration;\`$replaceText[$replaceText[$checkCondition[$charCount[$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]==2];true;undefined];false;$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]\`;yes]1846$addField[Starting Playing;\`$songInfo[title;$replaceText[$replaceText[$checkContains[$loopStatus;song];true;0];false;1]]\`;yes]1847$addTimestamp1848$color[$getVar[color]]1849$textSplit[$songInfo[duration;$replaceText[$replaceText[$checkContains[$loopStatus;song];true;0];false;1]]; ]1850$endif1851$shuffleQueue1852$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1853$onlyIf[$queueLength>1;Only have **$queueLength song**.]1854$onlyIf[$queueLength!=0;$getVar[errorqueue]]1855$cooldown[$commandInfo[shuffleskip;cooldown];Please wait **%time%** before using again.]1856$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]1857$onlyIf[$voiceID!=;$getVar[errorjoin]]`1858});1859bot.command({1860 name: "remove",1861 aliases: ["r"],1862 cooldown: "3s",1863 code: `$moveSong[$sum[$message[1];1];]1864$title[$replaceText[$getVar[remove];{d-amount};$replaceText[$message[1];-;]]]1865$color[$getVar[color]]1866$addTimestamp1867$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1868$onlyIf[$message[1]<=$sub[$queueLength;1];Only have **$queueLength song**.]1869$onlyIf[$message[1]>1;You cant remove at first song.]1870$onlyIf[$isNumber[$message[1]]!=false;Must number!]1871$cooldown[$commandInfo[remove;cooldown];Please wait **%time%** before using again.]1872$argsCheck[1;Usage: \`remove (numnber song on queue)\`]1873$onlyIf[$queueLength!=0;$getVar[errorqueue]]1874$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]1875$onlyIf[$voiceID!=;$getVar[errorjoin]]1876$suppressErrors[something just happened.]`1877});1878bot.command({1879 name: "nowplaying",1880 aliases: ["np"],1881 cooldown: "3s",1882 code: `$author[Now Playing;$replaceText[$replaceText[$checkContains[$songInfo[url];https://youtube.com/watch?v=;https://www.youtube.com/watch?v=];true;$getVar[ytemoji]];false;$getVar[scemoji]]]1883$title[$songInfo[title]]1884$addField[Filters;\`$replaceText[$replaceText[$checkCondition[$filterMessage[$filterMessage[$splitText[3];(];)]==00:00:00];true;none];false;$getServerVar[filters]]\`;yes]1885$addField[Link;[Invite Bot]($replaceText[$getBotInvite;permissions=0;permissions=$getVar[permission]])1886[Thumbnail]($songInfo[thumbnail])1887$replaceText[$replaceText[$checkCondition[$songInfo[duration]==0 Seconds (00:00:00)];true;];false;[Download]($getServerVar[linkdownload])];yes]1888$addField[Ping;\`$dbPingms\`;yes]1889$addField[24/7;\`$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247;$songInfo[userID]];0;off];1;off];2;on]\`;yes]1890$addField[Song;\`$queueLength\`;yes]1891$addField[Volume;\`$volume% - $getServerVar[maxvol]%\`;yes]1892$addField[Loop;\`$replaceText[$replaceText[$checkContains[$loopStatus;song;queue];true;on - $loopStatus];false;off]\`;yes]1893$addField[ID;\`$replaceText[$replaceText[$checkContains[$songInfo[url];https://youtube.com/watch?v=;https://www.youtube.com/watch?v=];true;$replaceText[$replaceText[$songInfo[url];https://youtube.com/watch?v=;];https://www.youtube.com/watch?v=;]];false;undefined]\`;yes]1894$addField[URL;[Song]($songInfo[url] "$songInfo[title]");yes] 1895$addField[Playing;$replaceText[$replaceText[$checkContains[$songInfo[url];https://youtube.com/watch?v=;https://www.youtube.com/watch?v=];true;[YouTube](https://www.youtube.com/)];false;[Soundcloud](https://soundcloud.com/)];yes]1896$addField[Duration Left;\`$replaceText[$replaceText[$checkCondition[$songInfo[duration]==0 Seconds (00:00:00)];true;LIVE];false;$filterMessage[$filterMessage[$splitText[9];(];)]]\`;yes]1897$addField[Duration Now;\`$replaceText[$replaceText[$checkCondition[$songInfo[duration]==0 Seconds (00:00:00)];true;LIVE];false;$filterMessage[$filterMessage[$splitText[6];(];)]]\`;yes]1898$addField[Duration;\`$replaceText[$replaceText[$checkCondition[$charCount[$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]==2];true;undefined];false;$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]\`;yes]1899$addField[$replaceText[$replaceText[$checkCondition[$songInfo[duration]==0 Seconds (00:00:00)];true;Streaming];false;Uploaded] By;[$songInfo[publisher]]($songInfo[publisher_url]);yes]1900$addField[Running At;$replaceText[$replaceText[$checkContains[$status[$songInfo[userID]];online;idle;dnd];true;\`$toUppercase[$platform[$songInfo[userID]]]\`];false;null];yes]1901$addField[Requested By;<@$songInfo[userID]>;yes]1902$textSplit[$songInfo[duration] $songInfo[current_duration] $songInfo[duration_left]; ]1903$addTimestamp1904$thumbnail[$songInfo[thumbnail]]1905$color[$getVar[color]]1906$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1907$onlyIf[$queueLength!=0;$getVar[errorqueue]]1908$cooldown[$commandInfo[nowplaying;cooldown];Please wait **%time%** before using again.]1909$onlyIf[$voiceID!=;$getVar[errorjoin]]`1910});1911bot.command({1912 name: "stop",1913 cooldown: "3s",1914 code: `$if[$messageExists[$channelID;$getUserVar[reactmessageid;$clientID]]==true]1915$deleteMessage[$getUserVar[reactmessageid;$clientID]]1916$endif1917$setServerVar[durationcache;0]1918$stopSong1919$if[$getGlobalUserVar[controlreact]==0]1920$sendMessage[$getVar[stop];no]1921$elseIf[$getGlobalUserVar[controlreact]==1]1922$addCmdReactions[â¹]1923$onlyBotPerms[addreactions;]1924$endelseif1925$endif1926$setServerVar[filters;none]1927$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1928$onlyIf[$queueLength!=0;$getVar[errorqueue]]1929$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]1930$onlyIf[$voiceID!=;$getVar[errorjoin]]1931$suppressErrors`1932});1933bot.command({1934 name: "skip",1935 aliases: ["s"],1936 cooldown: "3s",1937 code: `$if[$message[1]==]1938$skipSong1939$title[$replaceText[$getVar[skip];{song};$songInfo[title]]]1940$thumbnail[$songInfo[thumbnail;$replaceText[$replaceText[$checkContains[$loopStatus;song];true;0];false;1]]]1941$addField[24/7;\`$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247;$songInfo[userID]];0;off];1;off];2;on]\`;yes]1942$addField[Loop;\`$replaceText[$replaceText[$checkContains[$loopStatus;song;queue];true;on - $loopStatus];false;off]\`;yes]1943$addField[Position;\`$replaceText[$replaceText[$checkContains[$loopStatus;song];true;0];false;1]\`;yes]1944$addField[Duration;\`$replaceText[$replaceText[$checkCondition[$charCount[$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]==2];true;undefined];false;$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]\`;yes]1945$addField[Starting Playing;\`$songInfo[title;$replaceText[$replaceText[$checkContains[$loopStatus;song];true;0];false;1]]\`;yes]1946$addTimestamp1947$color[$getVar[color]]1948$textSplit[$songInfo[duration;$replaceText[$replaceText[$checkContains[$loopStatus;song];true;0];false;1]]; ]1949$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1950$elseIf[$isNumber[$message[1]]==true]1951$skipTo[$replaceText[$replaceText[$checkContains[$loopStatus;song];true;$sum[$message[1];1]];false;$message[1]]]1952$title[$replaceText[$getVar[skip];{song};$songInfo[title]]]1953$thumbnail[$songInfo[thumbnail;$message[1]]]1954$addField[24/7;\`$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247;$songInfo[userID]];0;off];1;off];2;on]\`;yes]1955$addField[Loop;\`$replaceText[$replaceText[$checkContains[$loopStatus;song;queue];true;on - $loopStatus];false;off]\`;yes]1956$addField[Position;\`$message[1]\`;yes]1957$addField[Duration;\`$replaceText[$replaceText[$checkCondition[$charCount[$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]==2];true;undefined];false;$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]\`;yes]1958$addField[Starting Playing;\`$songInfo[title;$message[1]]\`;yes]1959$addTimestamp1960$color[$getVar[color]]1961$textSplit[$songInfo[duration;$message[1]]; ]1962$onlyIf[$checkContains[$message[1];-]!=true;You cant skip negative.]1963$onlyIf[$message[1]!=0;You cant skip zero.]1964$onlyIf[$message[1]<$queueLength;You only can skip **$sub[$queueLength;1] song**.]1965$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]1966$endelseif1967$endif1968$onlyIf[$queueLength>1;Only have **$queueLength song**.]1969$onlyIf[$queueLength!=0;$getVar[errorqueue]]1970$cooldown[$commandInfo[skip;cooldown];Please wait **%time%** before using again.]1971$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]1972$onlyIf[$voiceID!=;$getVar[errorjoin]]`1973});1974bot.command({1975 name: "clearqueue",1976 aliases: ["cq"],1977 cooldown: "3s",1978 code: `$awaitReaction[$authorID;15s;{title:Are you sure you wanna clear?} {footer:Song#COLON# $queueLength} {color:$getVar[color]};â
,â;clearqueueyes,clearqueueno;Confirmation failed.;yes]1979$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]1980$cooldown[$commandInfo[clearqueue;cooldown];Please wait **%time%** before using again.]1981$onlyBotPerms[addreactions;Missing Permission, **Add Reactions** - Bot]1982$onlyIf[$queueLength!=0;$getVar[errorqueue]]`1983});1984bot.command({1985 name: "top",1986 cooldown: "3s",1987 code: `$awaitMessages[$authorID;15s;$random[13000;50000];top;Confirmation failed.]1988$description[Verification first]1989$footer[Code: $random[13000;50000]]1990$color[$getVar[color]]1991$onlyIf[$globalUserLeaderboard[userused;asc]!=;Seems like, this leaderboard was empty..]1992$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]1993$cooldown[$commandInfo[top;cooldown];Please wait **%time%** before using again.]1994$onlyBotPerms[managemessages;Missing Permission, **Manage Messages** - Bot]`1995})1996bot.command({1997 name: "queue",1998 aliases: ["q"],1999 cooldown: "3s",2000 code: `$author[Queue;$getVar[customemoji1]]2001$addField[Page $replaceText[$replaceText[$checkCondition[$noMentionMessage!=];false;1];true;$noMentionMessage] - $truncate[$sum[$divide[$queueLength;10];0.9]] ($abbreviate[$charCount[$queue[1;$queueLength;{number} - {title}]]]);$queue[$replaceText[$replaceText[$checkCondition[$noMentionMessage!=];false;1];true;$noMentionMessage];10;\`{number} - {title}\`]]2002$addField[Estimated Next Playing;\`$replaceText[$replaceText[$checkCondition[$charCount[$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]==2];true;undefined];false;$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]\`;yes]2003$addField[Next Requested By;<@$songInfo[userID;1]>;yes]2004$addField[Requested By;<@$songInfo[userID]>;yes]2005$addField[Total Duration;\`$replaceText[$formatDate[$filterMessage[$filterMessage[$multi[$sum[$splitText[4];$splitText[7]];1000];(];)];mm:ss];0:;00:]\`;yes]2006$addField[Next Playing;[$songInfo[title;1] | $songInfo[publisher;1]]($songInfo[url;1]);yes]2007$addField[Now Playing;[$songInfo[title] | $songInfo[publisher]]($songInfo[url]);yes]2008$footer[$queueLength Song]2009$thumbnail[$songInfo[thumbnail]]2010$addTimestamp2011$color[$getVar[color]]2012$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]2013$onlyIf[$checkContains[$replaceText[$replaceText[$checkCondition[$noMentionMessage!=];false;1];true;$noMentionMessage];-]!=true;]2014$onlyIf[$replaceText[$replaceText[$checkCondition[$noMentionMessage!=];false;1];true;$noMentionMessage]<=$truncate[$sum[$divide[$queueLength;10];0.9]];]2015$onlyIf[$isNumber[$replaceText[$replaceText[$checkCondition[$noMentionMessage!=];false;1];true;$noMentionMessage]]!=false;]2016$onlyIf[$queueLength!=1;{author:Currently Playing:$getVar[customemoji1]} {title:$songInfo[title]} {url:$songInfo[url]} {footer:$songInfo[publisher]:$songInfo[thumbnail]} {field:Duration:\`$replaceText[$replaceText[$checkCondition[$charCount[$replaceText[$filterMessage[$filterMessage[$splitText[6];(];)];00:00:00;LIVE]]==2];true;undefined];false;$replaceText[$filterMessage[$filterMessage[$splitText[6];(];)];00:00:00;LIVE]]\`:yes} {field:Duration Left:\`$replaceText[$replaceText[$checkCondition[$charCount[$replaceText[$filterMessage[$filterMessage[$splitText[6];(];)];00:00:00;LIVE]]==2];true;undefined];false;$replaceText[$replaceText[$checkCondition[$filterMessage[$filterMessage[$splitText[6];(];)]==00:00:00];true;LIVE];false;$filterMessage[$filterMessage[$splitText[3];(];)]]]\`:yes} {thumbnail:$songInfo[thumbnail]} {color:$getVar[color]}]2017$if[$queueLength==1]2018$textSplit[$songInfo[duration_left] $songInfo[duration]; ]2019$else2020$textSplit[$songInfo[duration_left] $songInfo[duration] $songInfo[duration;1]; ]2021$endif2022$onlyIf[$queueLength!=0;$getVar[errorqueue]]2023$cooldown[$commandInfo[queue;cooldown];Please wait **%time%** before using again.]2024$onlyIf[$voiceID!=;$getVar[errorjoin]]2025$suppressErrors[something just happened.]`2026});2027bot.command({2028 name: "playlist",2029 cooldown: "3s",2030 code: `$author[Playlist $username's;$getVar[customemoji1]]2031$description[1) $getGlobalUserVar[1]20322) $getGlobalUserVar[2]20333) $getGlobalUserVar[3]20344) $getGlobalUserVar[4]20355) $getGlobalUserVar[5]20366) $getGlobalUserVar[6]20377) $getGlobalUserVar[7]20388) $getGlobalUserVar[8]20399) $getGlobalUserVar[9]204010) $getGlobalUserVar[10]]2041$footer[Status: $replaceText[$replaceText[$checkCondition[$queueLength==1];true;Playing];false;$replaceText[$replaceText[$checkCondition[$voiceID!=];true;Idle];false;none]]]2042$addTimestamp2043$color[$getVar[color]]2044$thumbnail[$userAvatar[$authorID;512]]2045$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]2046$cooldown[$commandInfo[playlist;cooldown];Please wait **%time%** before using again.]`2047});2048bot.command({2049 name: "playlist-add",2050 cooldown: "3s",2051 code: `$setGlobalUserVar[$message[1];$messageSlice[1]]2052$title[Your song has added on $message[1]]2053$footer[Status: $replaceText[$replaceText[$checkCondition[$getGlobalUserVar[$message[1]]==];true;Add];false;Replace]]2054$color[$getVar[color]]2055$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]2056$onlyIf[$replaceText[$message[1];-;]<=10;Only available \`10\` slot.]2057$onlyIf[$isNumber[$message[1]]!=false;Must number!]2058$cooldown[$commandInfo[playlist-add;cooldown];Please wait **%time%** before using again.]2059$argsCheck[>2;Usage: \`playlist-add (number playlist) (song)\`]2060$suppressErrors[something just happened.]`2061});2062bot.command({2063 name: "playlist-remove",2064 cooldown: "3s",2065 code: `$setGlobalUserVar[$message[1];]2066$title[Your song has remove on $message[1]]2067$color[$getVar[color]]2068$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]2069$onlyIf[$getGlobalUserVar[$message[1]]!=null;Already remove!]2070$onlyIf[$checkContains[$message[1];-]!=true;Failed.]2071$onlyIf[$message[1]<=10;Only available \`10\` slot.]2072$onlyIf[$isNumber[$message[1]]!=false;Must number!]2073$cooldown[$commandInfo[playlist-remove;cooldown];Please wait **%time%** before using again.]2074$argsCheck[1;Usage: \`playlist-remove (number playlist)\`]2075$suppressErrors[something just happened.]`2076});2077bot.command({2078 name: "playlist-play",2079 cooldown: "3s",2080 code: `$if[$queueLength<1]2081$deleteMessage[$get[id]]2082$wait[3s]2083$editMessage[$get[id];{author:Starting Playing} {title:$get[song]} {color:$getVar[color]} {timestamp}]2084$else2085$author[Added to queue;$getVar[customemoji1]2086$title[$songInfo[title;$sub[$queueLength;1]];$songInfo[url;$sub[$queueLength;1]]]2087$thumbnail[$songInfo[thumbnail;$sub[$queueLength;1]]]2088$addField[Filters;\`$replaceText[$replaceText[$checkCondition[$filterMessage[$filterMessage[$splitText[3];(];)]==00:00:00];true;none];false;$getServerVar[filters]]\`;no]2089$addField[Loop;\`$replaceText[$replaceText[$checkContains[$loopStatus;song;queue];true;on - $loopStatus];false;off]\`;yes]2090$addField[Volume;\`$volume% - $getServerVar[maxvol]%\`;yes]2091$addField[Duration;\`$replaceText[$replaceText[$checkCondition[$charCount[$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]==2];true;undefined];false;$replaceText[$filterMessage[$filterMessage[$splitText[3];(];)];00:00:00;LIVE]]\`;yes]2092$addField[Requested By;<@$songInfo[userID;$sub[$queueLength;1]]>;no]2093$color[$getVar[color]]2094$textSplit[$songInfo[duration;$sub[$queueLength;1]]; ]2095$endif2096$let[song;$playSong[$getGlobalUserVar[$message[1]];$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247];0;0s];1;120s];2;7d];$replaceText[$replaceText[$replaceText[$getGlobalUserVar[247];0;yes];1;yes];2;no]]]2097$joinVC[$voiceID]2098$if[$queueLength<1]2099$let[id;$sendMessage[{title:Starting Playing} {author:Loading..:$getVar[loademoji]} {color:$getVar[color]} {timestamp};yes]]2100$endif2101$botTyping2102$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]2103$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]2104$onlyIf[$getGlobalUserVar[$message[1]]!=;Nothing song was added on playlist.]2105$onlyIf[$checkContains[$message[1];-]!=true;Failed.]2106$onlyIf[$message[1]<=10;Only available \`10\` slot.]2107$onlyIf[$isNumber[$message[1]]!=false;Must number!]2108$onlyBotPerms[connect;Can't connect to the voice channel. - Missing Permission]2109$onlyBotPerms[speak;Can't speak on the voice channel. - Missing Permission]2110$onlyBotPerms[embedlinks;addreactions;Missing Permission, **Embed Links** n **Add Reactions**]2111$cooldown[$commandInfo[playlist-play;cooldown];Please wait **%time%** before using again.]2112$argsCheck[1;Usage: \`playlist-play (number playlist)\`]2113$onlyIf[$voiceID!=;$getVar[errorjoin]]2114$onlyIf[$sum[$membersCount[$guildID;online];$membersCount[$guildID;idle];$membersCount[$guildID;dnd]]!=0;Cant execute this command.2115> **Permission need: "members intent" & "presence intent"**]2116$suppressErrors[something just happened.]`2117});2118bot.command({2119 name: "volume",2120 aliases: ["v"],2121 cooldown: "3s",2122 code: `$volume[$message[1]]2123$description[Change from \`$volume%\` to \`$message[1]%\` ($replaceText[$replaceText[$checkCondition[$cropText[$divide[$message[1];100];4]>=1];true;1];false;$cropText[$divide[$message[1];100];4]] dB)]2124$footer[Max Volume: $getServerVar[maxvol]%]2125$color[$getVar[color]]2126$addTimestamp2127$setGlobalUserVar[commanduserused;$sum[$getGlobalUserVar[commanduserused];1]]2128$setGlobalUserVar[vol;$message[1]]2129$onlyIf[$replaceText[$replaceText[$checkCondition[$getServerVar[userid]==default];true;$authorID];false;$getServerVar[userid]]==$authorID;{title:â You cant use this command} {color:$getVar[color]}]2130$onlyIf[$message[1]<=$getServerVar[maxvol];Max volume $getServerVar[maxvol]%!]2131$onlyIf[$charCount[$message[1]]<4;Failed.]2132$onlyIf[$isNumber[$message[1]]==true;Must number!]2133$argsCheck[1;{title:Volume can change 1 - $getServerVar[maxvol]} {footer:Volume#COLON# $volume%} {color:$getVar[color]}]2134$onlyIf[$queueLength!=0;$getVar[errorqueue]]2135$cooldown[$commandInfo[volume;cooldown];Please wait **%time%** before using again.]2136$onlyIf[$voiceID!=;$getVar[errorjoin]]2137$suppressErrors[something just happened.]`...
poll.js
Source:poll.js
1module.exports = ({2 name: "poll",3 aliases: ['survey'],4 description: "Make a poll! (Up to 10 options only)",5 usage: "poll <question/option 1/option 2/...>",6 category: "miscellaneous",7 code: `$color[RANDOM]8 $author[Made by $userTag;$authorAvatar]9 $addField[Options; 101ï¸â£ - $replaceText[$replaceText[$checkCondition[$splitText[2]==];false;$splitText[2]];true;None] 2ï¸â£ - $replaceText[$replaceText[$checkCondition[$splitText[3]==];false;$splitText[3]];true;None]11 $replaceText[$replaceText[$checkCondition[$splitText[4]==];false;3ï¸â£ - $splitText[4]];true;]12 $replaceText[$replaceText[$checkCondition[$splitText[5]==];false;4ï¸â£ - $splitText[5]];true;]13 $replaceText[$replaceText[$checkCondition[$splitText[6]==];false;5ï¸â£ - $splitText[6]];true;]14 $replaceText[$replaceText[$checkCondition[$splitText[7]==];false;6ï¸â£ - $splitText[7]];true;]15 $replaceText[$replaceText[$checkCondition[$splitText[8]==];false;7ï¸â£ - $splitText[8]];true;]16 $replaceText[$replaceText[$checkCondition[$splitText[9]==];false;8ï¸â£ - $splitText[9]];true;]17 $replaceText[$replaceText[$checkCondition[$splitText[10]==];false;9ï¸â£ - $splitText[10]];true;]18 $replaceText[$replaceText[$checkCondition[$splitText[11]==];false;ð - $splitText[11]];true;]]19 $addField[Question; $splitText[1]]20 $addTimestamp21 $addReactions[1ï¸â£;2ï¸â£;$replaceText[$replaceText[$checkCondition[$splitText[4]==];false;3ï¸â£];true;];$replaceText[$replaceText[$checkCondition[$splitText[5]==];false;4ï¸â£];true;];$replaceText[$replaceText[$checkCondition[$splitText[6]==];false;5ï¸â£];true;];$replaceText[$replaceText[$checkCondition[$splitText[7]==];false;6ï¸â£];true;];$replaceText[$replaceText[$checkCondition[$splitText[8]==];false;7ï¸â£];true;];$replaceText[$replaceText[$checkCondition[$splitText[9]==];false;8ï¸â£];true;];$replaceText[$replaceText[$checkCondition[$splitText[10]==];false;9ï¸â£];true;];$replaceText[$replaceText[$checkCondition[$splitText[11]==];false;ð];true;]]22 $deletecommand23 $textSplit[$message;/]24 $onlyIf[$splitText[12]!=false;{description:You can only have up to 10 options!}{color:RANDOM}]25 $onlyIf[$message!=;{description: You have to specify a message to make a poll!}{color:RANDOM}]26 $onlyBotPerms[addreactions;{description:â I require these permissions - **Add Reactions**}{color:RANDOM}]27 $onlyPerms[managemessages;{description:â You require these permissions - **Manage Messages** }{color:RANDOM}]28 $onlyIf[$checkContains[$channelType;text;news]==true;]29 $suppressErrors`...
Using AI Code Generation
1const root = require("./root");2root.replaceText(document.body);3module.exports = { replaceText };4{5}6import { replaceText } from "./root.js";7replaceText(document.body);8export { replaceText };9{10}11import { replaceText } from "./root.js";12replaceText(document.body);13export { replaceText };14{15}16import { replaceText } from "./root.js";17replaceText(document.body);18export { replaceText };19{
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!