pmonks / for-science

A small Discord bot that you can send Clojure code to, to experiment with the language, demonstrate core language principles, or just mess about.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add application ("slash") command

pmonks opened this issue · comments

When I wish to execute some Clojure code, I want to be able to use an application ("slash") command to do so, so that the Discord UI provides me with guided assistance.

Some things to check:

  • do slash commands support multiline input? Without that they are inappropriate for this use case.
  • can other users see the input to a slash command, or are they only visible to whoever initiated it (in which case we'll need to echo the input in the output, so everyone can see the code that generated that output)?