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

Automod work vol 3

This commit is contained in:
Dragory 2020-07-27 22:19:34 +03:00
parent 7113d3953e
commit 8ab1712fb6
18 changed files with 133 additions and 38 deletions

View file

@ -0,0 +1,5 @@
import { RecentAction } from "../types";
export function sumRecentActionCounts(actions: RecentAction[]) {
return actions.reduce((total, action) => total + action.count, 0);
}