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') { |
81 |
else if (row.type === 'unmute') { |
else if (row.type === 'unmute') { |
82 |
type = 'Unmuted'; |
type = 'Unmuted'; |
83 |
} |
} |
84 |
|
else if (row.type === 'bean') { |
85 |
|
type = 'Beaned'; |
86 |
|
} |
87 |
else if (row.type === 'warn') { |
else if (row.type === 'warn') { |
88 |
type = 'Warned'; |
type = 'Warned'; |
89 |
} |
} |
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 = { |