diff --git a/website/API/slashcommand.md b/website/API/slashcommand.md index f0b956d9..590c67bd 100644 --- a/website/API/slashcommand.md +++ b/website/API/slashcommand.md @@ -13,10 +13,10 @@ Supported keys in the spec: Example: ```lua -slashCommand.define { +slashcommand.define { name = "hello-world", run = function() -editor.insertAtCursor("Hello |^| world!", false, true) + editor.insertAtCursor("Hello |^| world!", false, true) end } ```