Skip to content

Commit d3b5187

Browse files
authored
fix: replace deprecated RESTAPIPollCreate with RESTAPIPoll (#1091)
1 parent 344274b commit d3b5187

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

deno/rest/v10/webhook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export type RESTPatchAPIWebhookWithTokenMessageJSONBody = AddUndefinedToPossibly
273273
* @remarks
274274
* Polls can only be added when editing a deferred interaction response.
275275
*/
276-
poll?: RESTAPIPollCreate | undefined;
276+
poll?: RESTAPIPoll | undefined;
277277
};
278278

279279
/**

deno/rest/v9/webhook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export type RESTPatchAPIWebhookWithTokenMessageJSONBody = AddUndefinedToPossibly
273273
* @remarks
274274
* Polls can only be added when editing a deferred interaction response.
275275
*/
276-
poll?: RESTAPIPollCreate | undefined;
276+
poll?: RESTAPIPoll | undefined;
277277
};
278278

279279
/**

rest/v10/webhook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export type RESTPatchAPIWebhookWithTokenMessageJSONBody = AddUndefinedToPossibly
273273
* @remarks
274274
* Polls can only be added when editing a deferred interaction response.
275275
*/
276-
poll?: RESTAPIPollCreate | undefined;
276+
poll?: RESTAPIPoll | undefined;
277277
};
278278

279279
/**

rest/v9/webhook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export type RESTPatchAPIWebhookWithTokenMessageJSONBody = AddUndefinedToPossibly
273273
* @remarks
274274
* Polls can only be added when editing a deferred interaction response.
275275
*/
276-
poll?: RESTAPIPollCreate | undefined;
276+
poll?: RESTAPIPoll | undefined;
277277
};
278278

279279
/**

0 commit comments

Comments
 (0)