Prettified Code!

This commit is contained in:
itohatweb
2021-05-21 15:55:49 +00:00
committed by GitHub Action
parent 71a20fb0f4
commit 179add27c9
271 changed files with 889 additions and 3067 deletions
+1 -4
View File
@@ -6,10 +6,7 @@ import { requireBotChannelPermissions } from "../../util/permissions.ts";
export async function pin(channelId: bigint, messageId: bigint) {
await requireBotChannelPermissions(channelId, ["MANAGE_MESSAGES"]);
return await rest.runMethod<undefined>(
"put",
endpoints.CHANNEL_PIN(channelId, messageId)
);
return await rest.runMethod<undefined>("put", endpoints.CHANNEL_PIN(channelId, messageId));
}
// aliases