From 443ab035dfe193bfb6bc71c3ea1c8c84bf9b5279 Mon Sep 17 00:00:00 2001 From: klemek Date: Thu, 14 Nov 2019 20:59:08 +0100 Subject: [PATCH] removed dead code --- emotes.py | 1 - help.py | 1 - 2 files changed, 2 deletions(-) diff --git a/emotes.py b/emotes.py index f3f5ed8..18b7979 100644 --- a/emotes.py +++ b/emotes.py @@ -165,7 +165,6 @@ async def analyse_channel(channel, emotes, members, progress, nm0, nc): while len(messages) >= CHUNK_SIZE or messages[-1] is None: messages = await channel.history(limit=CHUNK_SIZE, before=messages[-1]).flatten() for m in messages: - tm0 = datetime.now() # If author is not bot or included in the selection (empty list is all) if not m.author.bot and (len(members) == 0 or m.author in members): # Find all emotes un the current message in the form "<:emoji:123456789>" diff --git a/help.py b/help.py index cf6c984..2e371b2 100644 --- a/help.py +++ b/help.py @@ -1,4 +1,3 @@ -from utils import debug async def compute(message, args):