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:
parent
cdcca8ccbb
commit
26bf9363f9
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue