feat: Implement forward feature with Message.forward and Message.snapshot

This commit is contained in:
Elysia
2024-10-05 16:59:09 +07:00
parent d16bd89f4a
commit 707c4397a4
5 changed files with 103 additions and 35 deletions

View File

@@ -789,6 +789,18 @@ exports.MessageTypes = [
'NITRO_NOTIFICATION',
];
/**
* The type of a message reference, e.g. `DEFAULT`. Here are the available types:
* * DEFAULT
* * FORWARD
* @typedef {string} MessageReferenceType
* @see {@link https://discord.com/developers/docs/resources/message#message-reference-types}
*/
exports.MessageReferenceTypes = [
'DEFAULT', // 0
'FORWARD',
];
/**
* The name of an item to be swept in Sweepers
* * `applicationCommands` - both global and guild commands