3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

fix(ContextMenus): correct ban modal custom id

This commit is contained in:
Obliie 2023-07-16 19:07:03 +01:00
parent cdcca8ccbb
commit 26bf9363f9
No known key found for this signature in database
GPG key ID: 9189A18F0D5B547E

View file

@ -77,7 +77,7 @@ export async function launchBanActionModal(
interaction: ButtonInteraction | ContextMenuCommandInteraction,
target: string,
) {
const modalId = `${ModMenuActionType.WARN}:${interaction.id}`;
const modalId = `${ModMenuActionType.BAN}:${interaction.id}`;
const modal = new ModalBuilder().setCustomId(modalId).setTitle("Ban");
const durationIn = new TextInputBuilder()
.setCustomId("duration")