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:
parent
7113d3953e
commit
8ab1712fb6
18 changed files with 133 additions and 38 deletions
|
@ -0,0 +1,5 @@
|
|||
import { RecentAction } from "../types";
|
||||
|
||||
export function sumRecentActionCounts(actions: RecentAction[]) {
|
||||
return actions.reduce((total, action) => total + action.count, 0);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue