3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-20 00:05:04 +00:00

Fix embed links appearing in MEMBER_JOIN_WITH_PRIOR_RECORDS logs

This commit is contained in:
Dragory 2020-08-11 02:41:07 +03:00
parent 2c959aaafc
commit ac1cf7c362

View file

@ -32,7 +32,7 @@ export const LogsGuildMemberAddEvt = logsEvent({
const recentCases = cases.slice(0, 2);
const casesPlugin = pluginData.getPlugin(CasesPlugin);
for (const theCase of recentCases) {
recentCaseLines.push(await casesPlugin.getCaseSummary(theCase, true));
recentCaseLines.push(await casesPlugin.getCaseSummary(theCase));
}
let recentCaseSummary = recentCaseLines.join("\n");