Fix player command to use new components structure for message sending

This commit is contained in:
2025-10-05 16:13:17 -05:00
parent 8adb748d3f
commit 58fc3b393b

View File

@@ -169,7 +169,8 @@ export const command: CommandMessage = {
const channel = message.channel as TextBasedChannel & { send: Function };
await (channel.send as any)({
display,
content: null,
components: [display],
flags: 32768, // MessageFlags.IS_COMPONENTS_V2
reply: { messageReference: message.id }
});