/[sudobot]/trunk/commands/history.js
ViewVC logotype

Diff of /trunk/commands/history.js

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

revision 36 by rakin, Mon Jul 29 17:28:16 2024 UTC revision 37 by rakin, Mon Jul 29 17:28:18 2024 UTC
# Line 63  module.exports = { Line 63  module.exports = {
63                      user = row.user_id;                      user = row.user_id;
64                  }                  }
65    
66                  str += `\`[${new Date(row.date).toLocaleString()}] [${mod}]`;                  str += `**[${new Date(row.date).toLocaleString()}] [${mod}]**\n`;
67                  let type;                  let type;
68    
69                  if (row.type === 'ban') {                  if (row.type === 'ban') {
# Line 91  module.exports = { Line 91  module.exports = {
91                      type = 'Deleted warning for';                      type = 'Deleted warning for';
92                  }                  }
93    
94                  str += ` ${type} ${user}\`\n`;                  str += ` ${type} ${user} [Reason: ${row.reason == null ? 'No reason' : row.reason}]\n\n`;
95              }              }
96    
97              let a = {              let a = {

Legend:
Removed from v.36  
changed lines
  Added in v.37

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26