Skip to content

Commit

Permalink
CreateInvite.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
hwangsihu authored Aug 18, 2024
1 parent 423786b commit 3a5fa9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/dev/CreateInvite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default class CreateInvite extends Command {
super(client, {
name: "createinvite",
description: {
content: "Create a one-time use, unlimited duration invite link for a guild",
content: "Create a invite link for a guild",
examples: ["createinvite 0000000000000000000"],
usage: "createinvite <guildId>",
},
Expand Down Expand Up @@ -47,7 +47,7 @@ export default class CreateInvite extends Command {
}

const invite = await textChannel.createInvite({
maxUses: 1,
maxUses: 0,
maxAge: 0,
});

Expand Down

0 comments on commit 3a5fa9b

Please sign in to comment.