Skip to content

Commit

Permalink
Re-add default for plugin array
Browse files Browse the repository at this point in the history
Co-authored-by: Kodie <[email protected]>
  • Loading branch information
thewilloftheshadow and apteryxxyz authored Jan 22, 2025
1 parent 002b85b commit 076b9c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/carbon/src/classes/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export class Client {
commands?: BaseCommand[]
listeners?: Listener[]
},
plugins: Plugin[]
plugins: Plugin[] = []
) {
if (!options.clientId) throw new Error("Missing client ID")
if (!options.publicKey) throw new Error("Missing public key")
Expand Down

0 comments on commit 076b9c9

Please sign in to comment.