diff --git a/commands/Administration/selectroles.js b/commands/Administration/selectroles.js index 13dd8a24..cbaac01c 100644 --- a/commands/Administration/selectroles.js +++ b/commands/Administration/selectroles.js @@ -149,7 +149,7 @@ class Selectroles extends BaseCommand { const menu = row.components[0]; if (menu) { for (const o of menu.options) { - if (o.value === option[0].value) return interaction.error("administration/selectroles:ALREADY_IN_MENU"); + if (o.value === option[0].value) return interaction.error("administration/selectroles:ALREADY_IN_MENU", null, { edit: true }); } row = ActionRowBuilder.from(row).setComponents( diff --git a/commands/General/remindme.js b/commands/General/remindme.js index cd39e89a..82013d12 100644 --- a/commands/General/remindme.js +++ b/commands/General/remindme.js @@ -79,7 +79,7 @@ class Remindme extends BaseCommand { interaction.success("general/remindme:SAVED", { message, - time: moment(rData.sendAt).locale(data.guildData.language || "en-US").format("dddd, Do MMMM YYYY, HH:mm:ss"), + time: moment(rData.sendAt).locale(data?.guildData.language || "en-US").format("dddd, Do MMMM YYYY, HH:mm:ss"), }, { edit: true }); } }