Skip to content

Commit

Permalink
.2
Browse files Browse the repository at this point in the history
Signed-off-by: RedGuy12 <[email protected]>
  • Loading branch information
cobaltt7 committed Nov 16, 2022
1 parent f92f5a9 commit b0f16ac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ const promises = [
name,
description: data.description ?? "",
type: data.type || ApplicationCommandType.ChatInput,
defaultMemberPermissions: data.restricted ? new PermissionsBitField() : undefined,
defaultMemberPermissions: data.restricted
? new PermissionsBitField()
: null,
options: data.options
? transformOptions(data.options)
: data.subcommands &&
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scradd",
"version": "2.3.1",
"version": "2.3.2",
"private": true,
"description": "Custom Discord bot for the Scratch Addons server.",
"homepage": "https://discord.gg/FPv957V6SD",
Expand Down

0 comments on commit b0f16ac

Please sign in to comment.