aboutsummaryrefslogtreecommitdiffstats
path: root/project/botmanager.py
diff options
context:
space:
mode:
Diffstat (limited to 'project/botmanager.py')
-rw-r--r--project/botmanager.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/project/botmanager.py b/project/botmanager.py
index 01f9c10..d4db63c 100644
--- a/project/botmanager.py
+++ b/project/botmanager.py
@@ -27,7 +27,6 @@ class BotManager(object):
If not possible, crash gracefully
"""
TelegramCommunicator.token = token
- self.running_message_id = 1
try:
logging.info("Creating bot listener with token {}...".format(token))
TelegramCommunicator.spawn_bot(token)
@@ -101,11 +100,9 @@ class BotManager(object):
message = {
"user": user_name,
"text": text,
- "id": self.running_message_id,
"ip": "null",
"timestamp": date
}
- self.running_message_id += 1
ShoutboxCommunicator.send(message)
def handle(self, msg):