scheduled counter, does not work

This commit is contained in:
mrbesen 2021-01-22 23:11:48 +01:00
parent 5a062e0cbc
commit 86fe45c626
Signed by: MrBesen
GPG Key ID: 596B2350DCD67504
1 changed files with 11 additions and 1 deletions

View File

@ -5,7 +5,6 @@ from timeit import default_timer as timer
import configparser
import out
import math, datetime
import colorama
from colorama import Fore, Style
from collections import Counter
import re
@ -218,6 +217,16 @@ class MediaCounter(UserCount):
self.inc(msg.from_id)
# How many messages from a user are scheduled?
# class ScheduledCounter(UserCount):
# def __init__(self):
# super().__init__("Schedules/User")
#
# def addMsg(self, msgnum, msg, chat):
# if msg.from_scheduled:
# self.inc(msg.from_id)
class MaxCounter(DiscreteCount):
count = 0
@ -349,6 +358,7 @@ def analyseChat(dialog, output):
UserEdits(),
WordCounter(),
MentionCounter(),
# ScheduledCounter(),
EmojiCounter(),
UserAwnsers(),
MediaCounter(),