mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-09-29 16:30:59 -04:00
🤏capitalize the C as in Case
This commit is contained in:
parent
1378f9d3c8
commit
ce7e748188
@ -286,7 +286,7 @@ class punishments extends Database {
|
|||||||
|
|
||||||
if (GuildMember) {
|
if (GuildMember) {
|
||||||
try {
|
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) {
|
} catch (err: any) {
|
||||||
embed.setFooter({text: 'Failed to DM member of punishment'});
|
embed.setFooter({text: 'Failed to DM member of punishment'});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user