File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ client.on("messageCreate", function(message) {
5555 if ( random == 4 ) {
5656 message . reply ( "*BANG*" ) ;
5757 try {
58- let testRole = message . guild . roles . cache . find ( role => role . id == "1157061438821646356" )
58+ let testRole = message . guild . roles . cache . find ( role => role . id == config . RR_LOSSROLE )
5959 message . member . roles . add ( testRole )
6060 } catch ( e ) {
6161 console . log ( e ) ;
@@ -80,7 +80,7 @@ client.on("messageCreate", function(message) {
8080 message . reply ( `\`\`\`${ hex } \`\`\`` ) ;
8181 }
8282 else if ( command == "eval" ) {
83- if ( ! message . member . roles . cache . has ( "1159151391588241479" ) ) {
83+ if ( ! message . member . roles . cache . has ( config . EVALPERMROLE ) ) {
8484 message . reply ( "you dont have perms." )
8585 } else {
8686 try {
@@ -127,7 +127,7 @@ client.on("messageCreate", function(message) {
127127
128128 }
129129 else if ( command == "run" ) {
130- if ( message . author . tag . toString ( ) == "breadtf" ) {
130+ if ( message . author . tag . toString ( ) == config . OWNER_TAG ) {
131131 var spawn = require ( 'child_process' ) . spawn ;
132132 var ls = spawn ( args . toString ( ) . split ( " " ) [ 0 ] , args . toString ( ) . split ( " " , 1 ) [ 1 ] ) ;
133133 ls . stdout . on ( 'data' , function ( data ) {
You can’t perform that action at this time.
0 commit comments