You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added profile command.
* Allow users to opt-out now.
* Fixed several bugs.
* Added several new functions to app.functions.
* Added verification command
* Updated about command a little.
* Took the EULA/EOA out of the 'eula.js' file and make it it's own json ('eula-data.json').
* Added more comments on what is doing what in 'bootloader.js'
* Added .catch() to send statements in 'messageDelete', 'messageDeleteBulk', and 'messageUpdate'.
* Remove unneeded and update existing dependencies.
'messageDelete', 'messageDeleteBulk', and 'messageUpdate' now check if the message in question is not in cache and handle as appropriate.
generateRandomCode: function(length,random="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"){// random could be set to "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"@#$%^&()-=+[{]}"
if(typeofarray!="object"||!array.length)return"gimme a array, not whatever that was!";
363
+
elseif(typeofchars!="string"||!chars)return"What am I supposed to split?? Gimme a string!";
364
+
varparameters=[];
365
+
for(vari=0;i<array.length;i++){
366
+
varparameter=array[i].split(chars)[1];
367
+
if(parameter)parameters.push(parameter);
368
+
};
369
+
returnparameters;
370
+
},
327
371
RPSSystem: function(app,action){
328
372
if(app.client==undefined){return"RPS failed to attach to client! Create Discord Client first."}elseif(app.config==undefined){return"RPS failed to attach to client: Missing config data.";};
0 commit comments