Skip to content

Commit 710bedd

Browse files
committed
chore: run prettier
1 parent 1518d58 commit 710bedd

File tree

3 files changed

+3
-14
lines changed

3 files changed

+3
-14
lines changed

backend/src/plugins/Automod/actions/startThread.ts

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
import {
2-
ChannelType,
3-
GuildTextThreadCreateOptions,
4-
ThreadAutoArchiveDuration,
5-
ThreadChannel,
6-
} from "discord.js";
1+
import { ChannelType, GuildTextThreadCreateOptions, ThreadAutoArchiveDuration, ThreadChannel } from "discord.js";
72
import z from "zod";
83
import { TemplateSafeValueContainer, renderTemplate } from "../../../templateFormatter";
94
import { MINUTES, convertDelayStringToMS, noop, zBoundedCharacters, zDelayString } from "../../../utils";

backend/src/plugins/Utility/functions/getRoleInfoEmbed.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ import { UtilityPluginType } from "../types";
66

77
const MENTION_ICON = "https://cdn.discordapp.com/attachments/705009450855039042/839284872152481792/mention.png";
88

9-
export async function getRoleInfoEmbed(
10-
pluginData: GuildPluginData<UtilityPluginType>,
11-
role: Role,
12-
): Promise<APIEmbed> {
9+
export async function getRoleInfoEmbed(pluginData: GuildPluginData<UtilityPluginType>, role: Role): Promise<APIEmbed> {
1310
const embed: EmbedWith<"fields" | "author" | "color"> = {
1411
fields: [],
1512
author: {

backend/src/plugins/Utility/functions/getSnowflakeInfoEmbed.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ import { snowflakeToTimestamp } from "../../../utils/snowflakeToTimestamp";
44

55
const SNOWFLAKE_ICON = "https://cdn.discordapp.com/attachments/740650744830623756/742020790471491668/snowflake.png";
66

7-
export async function getSnowflakeInfoEmbed(
8-
snowflake: string,
9-
showUnknownWarning = false,
10-
): Promise<APIEmbed> {
7+
export async function getSnowflakeInfoEmbed(snowflake: string, showUnknownWarning = false): Promise<APIEmbed> {
118
const embed: EmbedWith<"fields" | "author"> = {
129
fields: [],
1310
author: {

0 commit comments

Comments
 (0)