style: deno fmt (#2219)

This commit is contained in:
LTS20050703
2022-05-14 12:03:17 +01:00
committed by GitHub
parent 544cfdbc1c
commit c53aad2ea8
4 changed files with 5 additions and 5 deletions
@@ -4,11 +4,11 @@ import { requireBotChannelPermissions } from "../../permissions.ts";
export default function createForumPosts(bot: BotWithCache) {
const createForumPostsOld = bot.helpers.createForumPosts;
bot.helpers.createForumPosts= async function (channelId, options) {
bot.helpers.createForumPosts = async function (channelId, options) {
const channel = bot.channels.get(channelId);
if (channel) {
await requireBotChannelPermissions(bot, channel, ["SEND_MESSAGES"]);
await requireBotChannelPermissions(bot, channel, ["SEND_MESSAGES"]);
}
return await createForumPostsOld(channelId, options);