/[sudobot]/trunk/src/commands/moderation/WarnCommand.ts
ViewVC logotype

Diff of /trunk/src/commands/moderation/WarnCommand.ts

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 452 by rakin, Mon Jul 29 17:30:18 2024 UTC revision 461 by rakin, Mon Jul 29 17:30:21 2024 UTC
# Line 165  export default class WarnCommand extends Line 165  export default class WarnCommand extends
165              await msg.reply({              await msg.reply({
166                  embeds: [                  embeds: [
167                      new MessageEmbed()                      new MessageEmbed()
168                      .setDescription(`The user ${user.user.tag} has been warned` + (DMed ? "" : "\n:warning: The user has DMs disabled, so they might not know that they've been warned."))                      .setDescription(`The user **${user.user.tag}** has been warned.` + (DMed ? "" : "\n:warning: The user has DMs disabled, so they might not know that they've been warned."))
169                        .setTimestamp()
170                        .setFooter({ text: 'Warned' })
171                        .setColor("RED")
172                      .addFields([                      .addFields([
173                          {                          {
174                              name: "Reason",                              name: "Reason",

Legend:
Removed from v.452  
changed lines
  Added in v.461

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26