mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 14:11:50 +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,
|
interaction: ButtonInteraction | ContextMenuCommandInteraction,
|
||||||
target: string,
|
target: string,
|
||||||
) {
|
) {
|
||||||
const modalId = `${ModMenuActionType.WARN}:${interaction.id}`;
|
const modalId = `${ModMenuActionType.BAN}:${interaction.id}`;
|
||||||
const modal = new ModalBuilder().setCustomId(modalId).setTitle("Ban");
|
const modal = new ModalBuilder().setCustomId(modalId).setTitle("Ban");
|
||||||
const durationIn = new TextInputBuilder()
|
const durationIn = new TextInputBuilder()
|
||||||
.setCustomId("duration")
|
.setCustomId("duration")
|
||||||
|
|
Loading…
Add table
Reference in a new issue