Skip to content

Commit

Permalink
Rename toaudit-name
Browse files Browse the repository at this point in the history
  • Loading branch information
zuuring committed Apr 12, 2024
1 parent 62e5c89 commit 71cd2f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discord-scripts/invite-management.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default async function sendInvite(discordClient: Client, robot: Robot) {
description: "Creates Defense audit channels",
options: [
{
name: "client-name",
name: "audit-name",
type: ApplicationCommandOptionType.String,
description:
"The name of the audit/client to create the channels for.",
Expand Down Expand Up @@ -161,7 +161,7 @@ export default async function sendInvite(discordClient: Client, robot: Robot) {
return
}

const clientName = interaction.options.get("client-name")
const clientName = interaction.options.get("audit-name")
if (!clientName) {
await interaction.reply({
content: "Client name is required for the defense-audit command.",
Expand Down

0 comments on commit 71cd2f6

Please sign in to comment.