Skip to content

Commit

Permalink
Merge pull request #682 from hwangsihu/main
Browse files Browse the repository at this point in the history
CreateInvite.ts
  • Loading branch information
LucasB25 authored Aug 18, 2024
2 parents 423786b + 3a5fa9b commit 9e29e26
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 9e29e26

Please sign in to comment.