mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
Merge master
This commit is contained in:
commit
1518d58e25
53 changed files with 289 additions and 320 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