mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
some transforms
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
f1791fac44
commit
4c788bc321
7 changed files with 16 additions and 13 deletions
|
@ -68,10 +68,9 @@ export const ArchiveChannelCmd = channelArchiverCmd({
|
|||
|
||||
for (const message of messages.values()) {
|
||||
const ts = moment.utc(message.createdTimestamp).format("YYYY-MM-DD HH:mm:ss");
|
||||
let content = `[${ts}] [${message.author.id}] [${renderUsername(
|
||||
message.author.username,
|
||||
message.author.discriminator,
|
||||
)}]: ${message.content || "<no text content>"}`;
|
||||
let content = `[${ts}] [${message.author.id}] [${renderUsername(message.author)}]: ${
|
||||
message.content || "<no text content>"
|
||||
}`;
|
||||
|
||||
if (message.attachments.size) {
|
||||
if (args["attachment-channel"]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue