mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 03:18:17 +00:00
Prettified Code!
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user