diff --git a/commands/nameSearch.js b/commands/nameSearch.js index 89cd712..1392d1f 100644 --- a/commands/nameSearch.js +++ b/commands/nameSearch.js @@ -68,7 +68,7 @@ module.exports = { if (results.user._id==user._id) { if (results.civilians.length == 0) { - return interaction.send(`Name \`${args[0].value} ${args[1].value}\` not found.`); + return interaction.send({ content: `Name \`${args[0].value} ${args[1].value}\` not found.` }); } for (let i = 0; i < results.civilians.length; i++) { diff --git a/commands/panic.js b/commands/panic.js index 0e5c923..93005d7 100644 --- a/commands/panic.js +++ b/commands/panic.js @@ -46,7 +46,7 @@ module.exports = { }; socket.emit('bot_update_status', myUpdateReq); socket.on('bot_updated_status', (res) => { - interaction.send(`Disabled Panic <@${interaction.member.user.id}> and set status to \`10-8\`.`); + interaction.send({ content: `Disabled Panic <@${interaction.member.user.id}> and set status to \`10-8\`.` }); socket.disconnect(); }); return;