Fix player command to use new components structure for message sending
This commit is contained in:
@@ -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 }
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user