Skip to content

Commit ac74239

Browse files
authored
feat: fix prettier lint (#352)
1 parent c821515 commit ac74239

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

src/features/commands.ts

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
/* eslint-disable @typescript-eslint/no-use-before-define */
22
import fetch from "node-fetch";
3-
import { APIEmbed, ChannelType, EmbedType, Message, TextChannel } from "discord.js";
3+
import {
4+
APIEmbed,
5+
ChannelType,
6+
EmbedType,
7+
Message,
8+
TextChannel,
9+
} from "discord.js";
410
import cooldown from "./cooldown";
511
import { ChannelHandlers } from "../types";
612
import { isStaff } from "../helpers/discord";
@@ -1172,18 +1178,18 @@ const commands: ChannelHandlers = {
11721178

11731179
const generateReactDocsErrorEmbeds = (search: string): APIEmbed[] => {
11741180
return [
1175-
{
1176-
type: EmbedType.Rich,
1177-
description: `Could not find anything on React documentation for **'${search}'**`,
1178-
color: EMBED_COLOR,
1179-
author: {
1180-
name: "React documentation",
1181-
icon_url:
1182-
"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/React-icon.svg/1150px-React-icon.svg.png",
1183-
url: "https://react.dev/",
1184-
},
1181+
{
1182+
type: EmbedType.Rich,
1183+
description: `Could not find anything on React documentation for **'${search}'**`,
1184+
color: EMBED_COLOR,
1185+
author: {
1186+
name: "React documentation",
1187+
icon_url:
1188+
"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/React-icon.svg/1150px-React-icon.svg.png",
1189+
url: "https://react.dev/",
11851190
},
1186-
];
1191+
},
1192+
];
11871193
};
11881194

11891195
export default commands;

0 commit comments

Comments
 (0)