Automod work vol 3

This commit is contained in:
Dragory 2020-07-27 22:19:34 +03:00
parent 0e9f65e0d5
commit 0f0728bc1c
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
18 changed files with 133 additions and 38 deletions

View file

@ -7,8 +7,10 @@ export function getMatchingRecentActions(
type: RecentActionType,
identifier: string | null,
since: number,
to: number,
to?: number,
) {
to = to || Date.now();
return pluginData.state.recentActions.filter(action => {
return (
action.type === type &&