From 779655d3df5c55a47acb4b2bd6c357a6aa046faa Mon Sep 17 00:00:00 2001 From: Miikka Virtanen Date: Mon, 24 Jul 2017 03:30:47 +0300 Subject: [PATCH] snippets: when showing snippet info, make the command more visible --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index f8f5ed4..f429ee7 100644 --- a/src/index.js +++ b/src/index.js @@ -468,7 +468,7 @@ bot.registerCommand('snippet', async (msg, args) => { msg.channel.createMessage(`Snippet "${shortcut}" already exists! You can delete it with ${prefix}delete_snippet.`); } else { // If the snippet exists and we're NOT trying to create a new one, show info about the existing snippet - msg.channel.createMessage(`${snippetPrefix}${shortcut} replies ${snippet.isAnonymous ? 'anonymously ' : ''}with:\n${snippet.text}`); + msg.channel.createMessage(`\`${snippetPrefix}${shortcut}\` replies ${snippet.isAnonymous ? 'anonymously ' : ''}with:\n${snippet.text}`); } } else { if (text) {