Format and lint

This commit is contained in:
2024-01-18 15:37:17 +01:00
parent 847a8663d8
commit 13ada314f3
6 changed files with 42 additions and 39 deletions

View File

@@ -19,16 +19,20 @@ export = {
const output = eval(code)
const outputString = String(output)
await message.channel.send({
embeds: [{
description: `\`\`\`js\n${outputString}\`\`\``
}]
embeds: [
{
description: `\`\`\`js\n${outputString}\`\`\``,
},
],
})
} catch (error) {
await message.channel.send({
embeds: [{
description: `\`\`\`js\n${error}\`\`\``
}]
embeds: [
{
description: `\`\`\`js\n${error}\`\`\``,
},
],
})
}
}
} as Event
},
} as Event