From 25a17c790bc087a483a8032ea292a1b63031d4d6 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 21 Mar 2024 22:07:39 -0400 Subject: [PATCH] Fix more v13 changes --- commands/single/where-is-everybody.js | 9 ++++++--- commands/util/report-respond.js | 5 ++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/commands/single/where-is-everybody.js b/commands/single/where-is-everybody.js index a70a7495..20ba5517 100644 --- a/commands/single/where-is-everybody.js +++ b/commands/single/where-is-everybody.js @@ -28,15 +28,18 @@ module.exports = class WhereIsEverybodyCommand extends Command { } async run(msg) { - await msg.channel.send('"It\'s quiet..."', { + await msg.channel.send({ + content: '"It\'s quiet..."', files: [path.join(__dirname, '..', '..', 'assets', 'images', 'where-is-everybody', 'part-1.jpg')] }); await delay(5000); - await msg.channel.send('"Too quiet..."', { + await msg.channel.send({ + content: '"Too quiet..."', files: [path.join(__dirname, '..', '..', 'assets', 'images', 'where-is-everybody', 'part-2.jpg')] }); await delay(5000); - return msg.channel.send('"Where is @everyone?"', { + return msg.channel.send({ + content: '"Where is @everyone?"', disableMentions: 'none', files: [path.join(__dirname, '..', '..', 'assets', 'images', 'where-is-everybody', 'part-3.jpg')] }); diff --git a/commands/util/report-respond.js b/commands/util/report-respond.js index 1b306b10..e8a7d711 100644 --- a/commands/util/report-respond.js +++ b/commands/util/report-respond.js @@ -47,7 +47,10 @@ module.exports = class ReportRespondCommand extends Command { .setTimestamp() .setColor(typesColors[type]); try { - await user.send('Your report has been evaluated with the following message:', { embeds: [embed] }); + await user.send({ + content: 'Your report has been evaluated with the following message:', + embeds: [embed] + }); return msg.say(`${displaytypes[type]} sent to ${user.tag}.`); } catch { return msg.say(`Could not send ${displaytypes[type]} to ${user.tag}. Probably blocked me.`);