Skip to content

Commit f54777e

Browse files
committed
add date to history command
1 parent c89265f commit f54777e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/modules/rep.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,9 @@ export class RepModule extends Module {
181181
rg.amount
182182
} ${emoji}** on [message](${messageLink}) (<@${
183183
rg.initialGiver
184-
}>${rg.amount > 1 ? ' et al.' : ''})`;
184+
}>${rg.amount > 1 ? ' et al.' : ''}) at <t:${
185+
(+new Date(rg.date) / 1000) | 0
186+
}>`;
185187
});
186188
if (!records.length) records.push('[no reputation history]');
187189
const recordsPerPage = 30;

0 commit comments

Comments
 (0)