change: prettier code

This commit is contained in:
Skillz4Killz
2021-10-23 15:50:59 +00:00
committed by GitHub Action
parent 72ffbdc4db
commit 1c1c93ed7f
29 changed files with 174 additions and 118 deletions
+5 -1
View File
@@ -4,7 +4,11 @@ import type { Bot } from "../../bot.ts";
export async function pin(bot: Bot, channelId: bigint, messageId: bigint) {
await bot.utils.requireBotChannelPermissions(bot, channelId, ["MANAGE_MESSAGES"]);
return await bot.rest.runMethod<undefined>(bot.rest,"put", bot.constants.endpoints.CHANNEL_PIN(channelId, messageId));
return await bot.rest.runMethod<undefined>(
bot.rest,
"put",
bot.constants.endpoints.CHANNEL_PIN(channelId, messageId)
);
}
// aliases