changing transcript saving
diff --git a/src/premium/createTranscript.ts b/src/premium/createTranscript.ts
index 43de767..54b79ea 100644
--- a/src/premium/createTranscript.ts
+++ b/src/premium/createTranscript.ts
@@ -8,7 +8,9 @@
TextChannel,
ButtonStyle,
User,
- ComponentType
+ ComponentType,
+ APIBaseSelectMenuComponent,
+ SelectMenuComponent
} from "discord.js";
import EmojiEmbed from "../utils/generateEmojiEmbed.js";
import getEmojiByName from "../utils/getEmojiByName.js";
@@ -162,6 +164,8 @@
if (child.type === ComponentType.Button) {
obj.style = child.style;
obj.label = child.label ?? "";
+ } else if (child.type > 2) {
+ obj.placeholder = child.placeholder ?? "";
}
return obj
}));