diff --git a/commands/pasta.js b/commands/pasta.js index 002bde7..65ce3d3 100644 --- a/commands/pasta.js +++ b/commands/pasta.js @@ -10,6 +10,6 @@ module.exports = { } else { replyBody = client.pastas.get(file.name).content; } - message.channel.send(replyHeader + replyBody); + message.channel.send(functions.createTextEmbed({ content: replyBody }, message.author, `${file.name}.${file.extension}`)); } } \ No newline at end of file diff --git a/commands/spongebob.js b/commands/spongebob.js index 20bd9f9..de4d8f8 100644 --- a/commands/spongebob.js +++ b/commands/spongebob.js @@ -1,9 +1,10 @@ +const functions = require('../functions.js'); + module.exports = { name: 'spongebob', description: 'SpOnGeBoB-iFy AnYtHiNg AuToMaTiCaLly', usage: ' { // .catch(err => console.error(err)); // }) // .catch(err => console.error(err)); + client.users.fetch(process.env.ownerID) }); client.login(process.env.TOKEN)