Fix a bunch of linter errors
diff --git a/src/utils/convertCurlyBracketString.ts b/src/utils/convertCurlyBracketString.ts
index f05076e..49a4418 100644
--- a/src/utils/convertCurlyBracketString.ts
+++ b/src/utils/convertCurlyBracketString.ts
@@ -1,13 +1,33 @@
-async function convertCurlyBracketString(str, memberID, memberName, serverName, members): Promise<string> {
+async function convertCurlyBracketString(
+ str,
+ memberID,
+ memberName,
+ serverName,
+ members
+): Promise<string> {
const memberCount = (await members.fetch()).size;
- const bots = (await members.fetch()).filter(m => m.user.bot).size;
+ const bots = (await members.fetch()).filter((m) => m.user.bot).size;
str = str
- .replace("{member:mention}", memberID ? `<@${memberID}>` : "{member:mention}")
- .replace("{member:name}", memberName ? `${memberName}` : "{member:name}")
+ .replace(
+ "{member:mention}",
+ memberID ? `<@${memberID}>` : "{member:mention}"
+ )
+ .replace(
+ "{member:name}",
+ memberName ? `${memberName}` : "{member:name}"
+ )
.replace("{serverName}", serverName ? `${serverName}` : "{serverName}")
- .replace("{memberCount}", memberCount ? `${memberCount}` : "{memberCount}")
+ .replace(
+ "{memberCount}",
+ memberCount ? `${memberCount}` : "{memberCount}"
+ )
.replace("{memberCount:bots}", bots ? `${bots}` : "{memberCount:bots}")
- .replace("{memberCount:humans}", (memberCount && bots) ? `${memberCount - bots}` : "{memberCount:humans}");
+ .replace(
+ "{memberCount:humans}",
+ memberCount && bots
+ ? `${memberCount - bots}`
+ : "{memberCount:humans}"
+ );
return str;
}