Skip to content

Commit

Permalink
add backticks around scheduled prompts (#26)
Browse files Browse the repository at this point in the history
so they appear in codeblocks in slack
  • Loading branch information
adamsullovey authored and teesloane committed Jul 26, 2017
1 parent d936781 commit 1c4be46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scheduled-prompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ScheduledPrompt extends EventEmitter {
cronSchedule,
() => {
const prompt = promptHandlers.getRandom(env);
const wrappedPrompt = `Time to draw! Your next masterpiece will be ${prompt}`;
const wrappedPrompt = `Time to draw! Your drawing prompt is: \`${prompt}\``;
// let anything listening know there is a new prompt ready
this.emit(ScheduledPrompt.PROMPT_EVENT, wrappedPrompt);
},
Expand Down

0 comments on commit 1c4be46

Please sign in to comment.