This commit is contained in:
Jonny_Bro (Nikita) 2023-10-17 16:54:26 +05:00
parent 658499b47e
commit 051a033545
2 changed files with 2 additions and 2 deletions

View file

@ -149,7 +149,7 @@ class Selectroles extends BaseCommand {
const menu = row.components[0]; const menu = row.components[0];
if (menu) { if (menu) {
for (const o of menu.options) { 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( row = ActionRowBuilder.from(row).setComponents(

View file

@ -79,7 +79,7 @@ class Remindme extends BaseCommand {
interaction.success("general/remindme:SAVED", { interaction.success("general/remindme:SAVED", {
message, 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 }); }, { edit: true });
} }
} }