From e90babaa31077e86ccd1d63d531a97d2518db82d Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Wed, 7 Dec 2022 23:06:49 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=8Fcapitalize=20the=20C=20as=20in=20Ca?= =?UTF-8?q?se?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index 947a849..edaac7c 100644 --- a/src/client.ts +++ b/src/client.ts @@ -286,7 +286,7 @@ class punishments extends Database { if (GuildMember) { try { - DM = await GuildMember.send(`You've been ${this.getTense(type)} ${['warn', 'mute'].includes(type) ? 'in' : 'from'} ${guild.name}${time ? (timeInMillis ? ` for ${this.client.formatTime(timeInMillis, 4, { longNames: true, commas: true })}` : 'forever') : ''} for reason \`${reason}\` (case #${punData.id})`); + DM = await GuildMember.send(`You've been ${this.getTense(type)} ${['warn', 'mute'].includes(type) ? 'in' : 'from'} ${guild.name}${time ? (timeInMillis ? ` for ${this.client.formatTime(timeInMillis, 4, { longNames: true, commas: true })}` : 'forever') : ''} for reason \`${reason}\` (Case #${punData.id})`); } catch (err: any) { embed.setFooter({text: 'Failed to DM member of punishment'}); }