aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-12-26 22:23:45 +0000
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-12-26 22:23:45 +0000
commit60e3641665cd5c91421782d481c25a89cb61c6be (patch)
treec900b2ff20c9606d707371d49df6a3c18b16673d /src/lib
parent4990d33a22779b524ff6476bb05fcc21cad4eace (diff)
downloadtanzanite-60e3641665cd5c91421782d481c25a89cb61c6be.tar.gz
tanzanite-60e3641665cd5c91421782d481c25a89cb61c6be.tar.bz2
tanzanite-60e3641665cd5c91421782d481c25a89cb61c6be.zip
Automatically format code
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/common/AutoMod.ts2
-rw-r--r--src/lib/extensions/discord.js/BushGuildMember.ts4
-rw-r--r--src/lib/utils/BushConstants.ts2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/common/AutoMod.ts b/src/lib/common/AutoMod.ts
index e5487c3..cc1bbbd 100644
--- a/src/lib/common/AutoMod.ts
+++ b/src/lib/common/AutoMod.ts
@@ -261,7 +261,7 @@ export class AutoMod {
.addField('Message Content', `${await util.codeblock(this.message.content, 1024)}`)
.setColor(color)
.setTimestamp()
- .setAuthor({name: this.message.author.tag, url: this.message.author.displayAvatarURL()})
+ .setAuthor({ name: this.message.author.tag, url: this.message.author.displayAvatarURL() })
],
components:
highestOffence.severity >= 2
diff --git a/src/lib/extensions/discord.js/BushGuildMember.ts b/src/lib/extensions/discord.js/BushGuildMember.ts
index f6d5259..1908f12 100644
--- a/src/lib/extensions/discord.js/BushGuildMember.ts
+++ b/src/lib/extensions/discord.js/BushGuildMember.ts
@@ -420,7 +420,7 @@ export class BushGuildMember extends GuildMember {
}
/**
- * Ban the user, create a modlog entry, create a punishment entry, and dm the user.
+ * Ban the user, create a modlog entry, create a punishment entry, and dm the user.
* @param options Options for banning the user.
* @returns A status message for banning the user.
* @emits {@link BushClientEvents.bushBan}
@@ -641,4 +641,4 @@ export type PartialBushGuildMember = Partialize<
/**
* @typedef {BushClientEvents} VSCodePleaseDontRemove
- */ \ No newline at end of file
+ */
diff --git a/src/lib/utils/BushConstants.ts b/src/lib/utils/BushConstants.ts
index 297a641..3327e8f 100644
--- a/src/lib/utils/BushConstants.ts
+++ b/src/lib/utils/BushConstants.ts
@@ -170,7 +170,7 @@ export class BushConstants {
SEND_MESSAGES_IN_THREADS: { name: 'Send Messages In Threads', important: false },
START_EMBEDDED_ACTIVITIES: { name: 'Start Activities', important: false },
MODERATE_MEMBERS: { name: 'Moderate Members', important: true },
- MANAGE_EVENTS: { name: 'Manage Events', important: true },
+ MANAGE_EVENTS: { name: 'Manage Events', important: true }
},
// prettier-ignore