Skip to content

Commit 9325ee5

Browse files
authored
Update generator.js
1 parent 8b8ea34 commit 9325ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

other/generator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ module.exports = new Underline.${transformer[interActionType] ?? ""}({
233233
},
234234
${interActionType == "MESSAGE" || interActionType == "USER" ? "" : `options: ${interActionType == "BUTTON" || interActionType == "SELECT_MENU" ? "{}" : "[]"},`}
235235
${interCoolDown ? `coolDown: ${interCoolDown},` : ""}
236-
${interActionType == "MESSAGE" || interActionType == "USER" ? "publishType: all" : ""}
236+
${interActionType == "MESSAGE" || interActionType == "USER" ? "publishType: \"all\"," : ""}
237237
guildOnly: ${interGuildOnly}${interBotPerms.length > 0 || interUserPerms.length > 0 ? `,` : ""}
238238
${interBotPerms.length > 0 || interUserPerms.length > 0 ? `perms: {` : ""}
239239
${interBotPerms.length > 0 ? ` bot: ${JSON.stringify(interBotPerms)},` : ""}

0 commit comments

Comments
 (0)