-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to setup permissions.json? #50
Comments
Let's say your Discord ID is 1234 and you want to use eval and restrict it for everybody else. {
"global":{
"eval": false
},
"users":{
"1234":{
"eval": true
}
}
} This will enable only you to use eval and nobody else. |
thx :) |
@《Şᗪ》💎 ŜKYŁẸŤẸŘ doesn't have permission to execute eval! not worked :( |
Are you sure you've entered an ID instead of an username? You can get your id via !myid |
i have this
ps do u know how to set a welcome message when a user join ? ... |
You're not supposed to change I don't t know about welcoming |
thanks. And :( |
you can use something like this as a welcome message.
|
Nice thing about java script projects like this is anyone who has stringed
|
what line? |
You could prolly drop that anywhere in the main js file tbh.
|
discord_bot.js ?
at line 730 just after How can i do it to when a user connect instead of newmember? |
What does eval stand for? |
@Nerdietony eval[ulate]. it can take a string, parse it as javascript and execute. Its not very safe as you could potentially do some nasty stuff like overwrite the program internals etc. dont think it actually lets you do it for our app, but when you have javascript in the browser you could definitely do that. |
Oh yeaah, thanks. |
i dont understand, sorry
The text was updated successfully, but these errors were encountered: