html terminal
Diffstat (limited to 'src/bot/js.rs')
| -rw-r--r-- | src/bot/js.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bot/js.rs b/src/bot/js.rs index 0b67e33..bd11c18 100644 --- a/src/bot/js.rs +++ b/src/bot/js.rs @@ -33,7 +33,8 @@ fn parse_js(from: &str) -> Result<String> { required_permissions = "ADMINISTRATOR", category = "Control", track_edits, - rename = "js" + rename = "js", + check = "crate::bot::in_guild" )] /// run arbitrary javascript pub async fn run( |