Skip to content

Commit

Permalink
fix: more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ijsKoud committed Jun 27, 2023
1 parent 3bf1b56 commit cf56762
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default class ButtonReleaseInteraction extends InteractionListener<Extend

if (type === "edit") {
const modal = new ModalBuilder();
modal.setTitle(`Edit release for ${owner}/${repo}`).setCustomId(`${owner}-${repo}-${userId}-release-edit_response`);
modal.setTitle(`Edit release for ${owner}/${repo}`).setCustomId(`${owner}-${repo}-${userId}-release_edit_response`);

const versionInput = new TextInputBuilder()
.setLabel("Version")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type ExtendedIgloClient from "../../lib/bot.js";
import { WebsocketMessageType } from "@ijsblokje/server";
import { clean } from "semver";

@ApplyOptions<InteractionListenerOptions>({ name: "-release-edit_response", strategy: "endsWith", type: InteractionType.ModalSubmit })
@ApplyOptions<InteractionListenerOptions>({ name: "-release_edit_response", strategy: "endsWith", type: InteractionType.ModalSubmit })
export default class ButtonReleaseInteraction extends InteractionListener<ExtendedIgloClient> {
public override async run(interaction: ModalSubmitInteraction) {
const [owner, repo, userId] = interaction.customId.split("-");
Expand Down

0 comments on commit cf56762

Please sign in to comment.