This commit is contained in:
Travis CI 2016-12-29 14:21:32 +00:00
parent 89a578a8cf
commit 65630a5562
2 changed files with 2 additions and 2 deletions

View file

@ -20589,7 +20589,7 @@ class RESTMethods {
if (typeof content !== 'undefined') content = this.client.resolver.resolveString(content);
if (content) {
if (code) {
if (typeof code === 'string') {
content = escapeMarkdown(this.client.resolver.resolveString(content), true);
content = `\`\`\`${typeof code !== 'undefined' && code !== null ? code : ''}\n${content}\n\`\`\``;
}

File diff suppressed because one or more lines are too long