Skip to content

Commit

Permalink
Makes discord create command overwrite prop optional
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecmart committed Nov 13, 2024
1 parent 984fbc7 commit cc1ecfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/protolib/src/bundles/discord/context/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export const discord = {
throw err;
}
},
createCommand: async ({ guildId, clientId, command, apiKey, overwrite = false }: { guildId: string, clientId: string, command: any, apiKey?: string, overwrite: boolean }) => {
createCommand: async ({ guildId, clientId, command, apiKey, overwrite = false }: { guildId: string, clientId: string, command: any, apiKey?: string, overwrite?: boolean }) => {
/* @params
overwrite: allow to overwrite specific command given its name
*/
Expand Down

0 comments on commit cc1ecfb

Please sign in to comment.