mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 16:30:58 -05:00
🤏capitalize the C as in Case
This commit is contained in:
parent
999cd33999
commit
e90babaa31
@ -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