Reformat code
diff --git a/src/commands/nucleus/premium.ts b/src/commands/nucleus/premium.ts
index 58b51a9..4effb23 100644
--- a/src/commands/nucleus/premium.ts
+++ b/src/commands/nucleus/premium.ts
@@ -194,7 +194,8 @@
}
let userPremiumServers = "";
- if ((dbMember?.appliesTo.length ?? 0) > 0) userPremiumServers = "\nIf you want to remove premium from a server, run this command in your DMs with me.";
+ if ((dbMember?.appliesTo.length ?? 0) > 0)
+ userPremiumServers = "\nIf you want to remove premium from a server, run this command in your DMs with me.";
interaction.editReply({
embeds: [
@@ -223,7 +224,9 @@
new EmojiEmbed()
.setTitle("Premium")
.setDescription(
- `You have already activated premium on the maximum amount of servers!` + userPremiumServers + firstDescription
+ `You have already activated premium on the maximum amount of servers!` +
+ userPremiumServers +
+ firstDescription
)
.setEmoji("NUCLEUS.PREMIUMACTIVATE")
.setStatus("Danger")
@@ -236,7 +239,9 @@
embeds: [
new EmojiEmbed()
.setTitle("Premium")
- .setDescription(`You have activated premium on this server!` + userPremiumServers + firstDescription)
+ .setDescription(
+ `You have activated premium on this server!` + userPremiumServers + firstDescription
+ )
.setEmoji("NUCLEUS.LOGO")
.setStatus("Danger")
],
diff --git a/src/commands/privacy.ts b/src/commands/privacy.ts
index 0be4880..590e866 100644
--- a/src/commands/privacy.ts
+++ b/src/commands/privacy.ts
@@ -33,7 +33,7 @@
)
.setEmoji("NUCLEUS.LOGO")
.setStatus("Danger")
- .setFooter({text: "https://clicksminuteper.github.io/policies/nucleus"})
+ .setFooter({ text: "https://clicksminuteper.github.io/policies/nucleus" })
)
.setTitle("Welcome")
.setDescription("General privacy information")
@@ -48,7 +48,7 @@
)
.setEmoji("NUCLEUS.LOGO")
.setStatus("Danger")
- .setFooter({text: "https://clicksminuteper.github.io/policies/nucleus"})
+ .setFooter({ text: "https://clicksminuteper.github.io/policies/nucleus" })
)
.setTitle("Scanners")
.setDescription("About Unscan")
@@ -62,7 +62,7 @@
)
.setEmoji("NUCLEUS.LOGO")
.setStatus("Danger")
- .setFooter({text: "https://clicksminuteper.github.io/policies/nucleus"})
+ .setFooter({ text: "https://clicksminuteper.github.io/policies/nucleus" })
)
.setTitle("Link scanning and Transcripts")
.setDescription("Information about how links and images are scanned, and transcripts are stored")
@@ -77,7 +77,7 @@
.setDescription("Below are buttons for controlling this servers privacy settings")
.setEmoji("NUCLEUS.LOGO")
.setStatus("Danger")
- .setFooter({text: "https://clicksminuteper.github.io/policies/nucleus"})
+ .setFooter({ text: "https://clicksminuteper.github.io/policies/nucleus" })
)
.setTitle("Options")
.setDescription("Options")
diff --git a/src/commands/settings/tracks.ts b/src/commands/settings/tracks.ts
index 7e341c4..5215b3f 100644
--- a/src/commands/settings/tracks.ts
+++ b/src/commands/settings/tracks.ts
@@ -248,7 +248,8 @@
}need a role in this track\n` +
`${getEmojiByName("CONTROL." + (current.retainPrevious ? "TICK" : "CROSS"))} Members ${
current.retainPrevious ? "" : "don't "
- }keep all roles below their current highest\n\n` + (previousMessage ? previousMessage + "\n\n": "") +
+ }keep all roles below their current highest\n\n` +
+ (previousMessage ? previousMessage + "\n\n" : "") +
createVerticalTrack(
mapped.map((role) => renderRole(role)),
new Array(current.track.length).fill(false),
@@ -322,7 +323,7 @@
case "addRole": {
const role = out.values![0]!;
const roleObj = roles.get(role)!;
- if (roleObj.position >= (interaction.member as GuildMember).roles.highest.position){
+ if (roleObj.position >= (interaction.member as GuildMember).roles.highest.position) {
previousMessage = "You can't add a role that is higher than your highest role.";
} else {
if (!current.track.includes(role)) {