mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +00:00
forgot that one
This commit is contained in:
@@ -21,7 +21,7 @@ export async function deleteMessages(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const result = await rest.runMethod(
|
return await rest.runMethod<undefined>(
|
||||||
"post",
|
"post",
|
||||||
endpoints.CHANNEL_BULK_DELETE(channelId),
|
endpoints.CHANNEL_BULK_DELETE(channelId),
|
||||||
{
|
{
|
||||||
@@ -29,6 +29,4 @@ export async function deleteMessages(
|
|||||||
reason,
|
reason,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user