diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-08-05 23:15:35 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-08-05 23:15:35 -0400 |
commit | 060349fcabe9e073eca9f6fd334e3355a9756096 (patch) | |
tree | db3af995850adb1ae3078c0aebaf81642dcaaca9 /src/listeners | |
parent | 904ee80b50148317c0edaf71395a86138833ed7e (diff) | |
download | tanzanite-060349fcabe9e073eca9f6fd334e3355a9756096.tar.gz tanzanite-060349fcabe9e073eca9f6fd334e3355a9756096.tar.bz2 tanzanite-060349fcabe9e073eca9f6fd334e3355a9756096.zip |
use assert/strict
Diffstat (limited to 'src/listeners')
-rw-r--r-- | src/listeners/bush/appealListener.ts | 2 | ||||
-rw-r--r-- | src/listeners/bush/supportThread.ts | 2 | ||||
-rw-r--r-- | src/listeners/member-custom/bushLevelUpdate.ts | 2 | ||||
-rw-r--r-- | src/listeners/ws/INTERACTION_CREATE.ts | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/listeners/bush/appealListener.ts b/src/listeners/bush/appealListener.ts index bbcb9d8..cbe62a8 100644 --- a/src/listeners/bush/appealListener.ts +++ b/src/listeners/bush/appealListener.ts @@ -1,5 +1,5 @@ import { BushListener, colors, mappings, ModLog, type BushClientEvents } from '#lib'; -import assert from 'assert'; +import assert from 'assert/strict'; import { EmbedBuilder } from 'discord.js'; import UserInfoCommand from '../../commands/info/userInfo.js'; import ModlogCommand from '../../commands/moderation/modlog.js'; diff --git a/src/listeners/bush/supportThread.ts b/src/listeners/bush/supportThread.ts index 32eae02..5145ff2 100644 --- a/src/listeners/bush/supportThread.ts +++ b/src/listeners/bush/supportThread.ts @@ -1,6 +1,6 @@ import { BushListener, colors, mappings, type BushClientEvents } from '#lib'; import { stripIndent } from '#tags'; -import assert from 'assert'; +import assert from 'assert/strict'; import { EmbedBuilder, MessageType, PermissionFlagsBits, TextChannel } from 'discord.js'; export default class SupportThreadListener extends BushListener { diff --git a/src/listeners/member-custom/bushLevelUpdate.ts b/src/listeners/member-custom/bushLevelUpdate.ts index a9c0820..0281288 100644 --- a/src/listeners/member-custom/bushLevelUpdate.ts +++ b/src/listeners/member-custom/bushLevelUpdate.ts @@ -1,5 +1,5 @@ import { BushListener, format, type BushClientEvents } from '#lib'; -import assert from 'assert'; +import assert from 'assert/strict'; import { type TextChannel } from 'discord.js'; type Args = BushClientEvents['bushLevelUpdate']; diff --git a/src/listeners/ws/INTERACTION_CREATE.ts b/src/listeners/ws/INTERACTION_CREATE.ts index 20c2b3e..67fe56b 100644 --- a/src/listeners/ws/INTERACTION_CREATE.ts +++ b/src/listeners/ws/INTERACTION_CREATE.ts @@ -1,5 +1,5 @@ import { BushListener, capitalize, colors, emojis, Moderation, PunishmentTypePresent } from '#lib'; -import assert from 'assert'; +import assert from 'assert/strict'; import { ActionRowBuilder, ButtonBuilder, |