Fixed bug due to discord.js new components

This commit is contained in:
DJj123dj
2025-04-27 18:17:38 +02:00
parent 442c201994
commit 4c3e4ef9a5
3 changed files with 5 additions and 2 deletions
+1
View File
@@ -257,6 +257,7 @@ export class ODTranscriptCollector {
const rows: ODTranscriptComponentRowData[] = []
msg.components.forEach((row) => {
const components: ODTranscriptComponentRowData["components"] = []
if (row.type != discord.ComponentType.ActionRow) return
row.components.forEach((component) => {
if (component.type == discord.ComponentType.Button){
components.push({