3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25:02 +00:00

Include Sticker and Emoji events in Logs

This commit is contained in:
Dark 2021-07-29 01:02:29 +02:00
parent 1e69da7cbc
commit 3886d2d1dd
No known key found for this signature in database
GPG key ID: 384C4B4F5B1E25A8
7 changed files with 169 additions and 1 deletions

View file

@ -212,7 +212,7 @@ export function differenceToString(diff: Map<string, { was: any; is: any }>): st
let toReturn = "";
diff = prettyDifference(diff);
for (const [key, difference] of diff) {
toReturn += `${key[0].toUpperCase() + key.slice(1)}: \`${difference.was}\`\`${difference.is}\`\n`;
toReturn += `**${key[0].toUpperCase() + key.slice(1)}**: \`${difference.was}\`\`${difference.is}\`\n`;
}
return toReturn;
}