mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-21 20:54:58 +05:00
fr fr
This commit is contained in:
parent
658499b47e
commit
051a033545
2 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
|
|
|
@ -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 });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue