This commit is contained in:
ITOH
2021-04-24 19:38:53 +02:00
parent 03db98cd48
commit 6eec266c60
14 changed files with 30 additions and 46 deletions
+1 -3
View File
@@ -20,11 +20,9 @@ export async function deleteMessage(
if (delayMilliseconds) await delay(delayMilliseconds);
const result = await rest.runMethod(
return await rest.runMethod<undefined>(
"delete",
endpoints.CHANNEL_MESSAGE(channelId, messageId),
{ reason },
);
return result;
}