Updated some types

This commit is contained in:
2024-09-09 09:18:19 +02:00
parent 6456de44ac
commit 7670299491
3 changed files with 9 additions and 6 deletions

View File

@@ -67,7 +67,7 @@ export default async function prune(interaction: ChatInputCommandInteraction): P
)
]
}).then(async (m) => {
const collector = interaction.channel!.createMessageComponentCollector({
const collector = m.createMessageComponentCollector({
componentType: ComponentType.Button,
filter: (i: ButtonInteraction) =>
(i.customId === buttonid || i.customId === cancelid) &&