feat: Update Document
This commit is contained in:
parent
dd2912fb8d
commit
3c7c574dd2
File diff suppressed because one or more lines are too long
@ -139,6 +139,17 @@ class Modal {
|
||||
* @param {Snowflake} channelId ChannelID of the channel to send the modal to
|
||||
* @param {...ModalReplyData} data Data to send with the modal
|
||||
* @returns {Promise<boolean>}
|
||||
* @example
|
||||
* // With Event
|
||||
* client.on('interactionModalCreate', modal => {
|
||||
* modal.reply('guildId', 'channelId', {
|
||||
* customId: 'code',
|
||||
* value: '1+1'
|
||||
* }, {
|
||||
* customId: 'message',
|
||||
* value: 'hello'
|
||||
* })
|
||||
* })
|
||||
*/
|
||||
async reply(guildId, channelId, ...data) {
|
||||
// Test
|
||||
|
Loading…
Reference in New Issue
Block a user