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
@@ -9,12 +9,10 @@ export async function unpin(
): Promise<undefined> {
await requireBotChannelPermissions(channelId, ["MANAGE_MESSAGES"]);
const result = await rest.runMethod(
return await rest.runMethod<undefined>(
"delete",
endpoints.CHANNEL_PIN(channelId, messageId),
);
return result;
}
// aliases