@mostfeatured/dbi 0.0.61 → 0.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DBI.d.ts +164 -156
- package/dist/DBI.d.ts.map +1 -1
- package/dist/DBI.js +332 -332
- package/dist/DBI.js.map +1 -1
- package/dist/methods/publishInteractions.d.ts.map +1 -1
- package/dist/methods/publishInteractions.js +236 -238
- package/dist/methods/publishInteractions.js.map +1 -1
- package/package.json +1 -1
- package/src/DBI.ts +7 -2
- package/src/methods/publishInteractions.ts +2 -4
|
@@ -53,7 +53,6 @@ export async function publishInteractions(
|
|
|
53
53
|
type: ApplicationCommandOptionType.Subcommand,
|
|
54
54
|
name: nameSplitted[1],
|
|
55
55
|
description: current.description,
|
|
56
|
-
default_member_permissions: reducePermissions(current.defaultMemberPermissions).toString(),
|
|
57
56
|
dm_permission: current.directMessages,
|
|
58
57
|
options: localeifyOptions(current.options || [], localeData.optionsLocales),
|
|
59
58
|
name_localizations: localeData.nameLocales(1),
|
|
@@ -63,6 +62,7 @@ export async function publishInteractions(
|
|
|
63
62
|
all.push({
|
|
64
63
|
type: ApplicationCommandType.ChatInput,
|
|
65
64
|
name: nameSplitted[0],
|
|
65
|
+
default_member_permissions: reducePermissions(current.defaultMemberPermissions).toString(),
|
|
66
66
|
name_localizations: localeData.nameLocales(0),
|
|
67
67
|
description: "...",
|
|
68
68
|
options: [
|
|
@@ -82,6 +82,7 @@ export async function publishInteractions(
|
|
|
82
82
|
type: ApplicationCommandType.ChatInput,
|
|
83
83
|
name: nameSplitted[0],
|
|
84
84
|
name_localizations: localeData.nameLocales(0),
|
|
85
|
+
default_member_permissions: reducePermissions(current.defaultMemberPermissions).toString(),
|
|
85
86
|
description: "...",
|
|
86
87
|
options: [
|
|
87
88
|
{
|
|
@@ -94,7 +95,6 @@ export async function publishInteractions(
|
|
|
94
95
|
type: ApplicationCommandOptionType.Subcommand,
|
|
95
96
|
name: nameSplitted[2],
|
|
96
97
|
description: current.description,
|
|
97
|
-
default_member_permissions: reducePermissions(current.defaultMemberPermissions).toString(),
|
|
98
98
|
dm_permission: current.directMessages,
|
|
99
99
|
options: localeifyOptions(current.options || [], localeData.optionsLocales),
|
|
100
100
|
name_localizations: localeData.nameLocales(2),
|
|
@@ -117,7 +117,6 @@ export async function publishInteractions(
|
|
|
117
117
|
type: ApplicationCommandOptionType.Subcommand,
|
|
118
118
|
name: nameSplitted[2],
|
|
119
119
|
description: current.description,
|
|
120
|
-
default_member_permissions: reducePermissions(current.defaultMemberPermissions).toString(),
|
|
121
120
|
dm_permission: current.directMessages,
|
|
122
121
|
options: localeifyOptions(current.options || [], localeData.optionsLocales),
|
|
123
122
|
name_localizations: localeData.nameLocales(2),
|
|
@@ -130,7 +129,6 @@ export async function publishInteractions(
|
|
|
130
129
|
type: ApplicationCommandOptionType.Subcommand,
|
|
131
130
|
name: nameSplitted[2],
|
|
132
131
|
description: current.description,
|
|
133
|
-
default_member_permissions: reducePermissions(current.defaultMemberPermissions).toString(),
|
|
134
132
|
dm_permission: current.directMessages,
|
|
135
133
|
options: localeifyOptions(current.options || [], localeData.optionsLocales),
|
|
136
134
|
name_localizations: localeData.nameLocales(2),
|