diff --git a/framework/Extensions.js b/framework/Extensions.js index eba55be9..b11fa887 100644 --- a/framework/Extensions.js +++ b/framework/Extensions.js @@ -11,7 +11,7 @@ Reflect.defineProperty(Message.prototype, 'embed', { value: function (embed, opt } }); Reflect.defineProperty(Message.prototype, 'code', { value: function (lang, content, options) { - return this.channel.send({ content, ...options }); + return this.channel.send({ content: `\`\`\`${lang}\n${content}\n\`\`\``, ...options }); } }); Reflect.defineProperty(Message.prototype, 'direct', { value: function (content, options) {