3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 04:49:25 +01:00

format fix

This commit is contained in:
Luke Slater 2012-03-10 19:41:19 +00:00
parent 6c15486989
commit 8a1047e427

View File

@ -29,8 +29,7 @@ This module provides two commands which allow the execution of Javascript code.
For regular users, there is the *~js* command, which is completely sandboxed, For regular users, there is the *~js* command, which is completely sandboxed,
but can still be used for calculation and the like. but can still be used for calculation and the like.
Example: > ~js Array(16).join('wat'-1) + " Batman!";
~js Array(16).join('wat'-1) + " Batman!";
'NaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaN Batman!' 'NaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaN Batman!'
This feature is fairly safe as the user doesn't have access to anything This feature is fairly safe as the user doesn't have access to anything