mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
types: use Snowflake instead of string for snowflakes (#9583)
fix: use `Snowflake` not `string` Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -272,7 +272,7 @@ export class WebhooksAPI {
|
||||
id: Snowflake,
|
||||
token: string,
|
||||
messageId: Snowflake,
|
||||
query: { thread_id?: string } = {},
|
||||
query: { thread_id?: Snowflake } = {},
|
||||
{ signal }: Pick<RequestData, 'signal'> = {},
|
||||
) {
|
||||
await this.rest.delete(Routes.webhookMessage(id, token, messageId), {
|
||||
|
||||
Reference in New Issue
Block a user