evalbot
evalbot copied to clipboard
First word is ignored in code snippet when using @evalbot run
Steps to Reproduce:
- Add Evalbot to slack using Add to Slack on this page
- Invite Evalbot to a channel
- Type the following
@evalbot run java ```class Main { public static void main(String[] args) { System.out.println("test"); }}```
Expected: It outputs "test"
Actual:
As you can see, it seems to throw out the word "class"
A workaround was to add either a word or newline immediately after the triple backticks. For example the following produces the expected output from above:
run java ```ignored_word class Main { public static void main(String[] args) { System.out.println("test"); }}```