snippets: when showing snippet info, make the command more visible

master
Miikka Virtanen 2017-07-24 03:30:47 +03:00
parent 8d0367bdcf
commit 779655d3df
1 changed files with 1 additions and 1 deletions

View File

@ -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) {