This repository has been archived on 2024-09-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Douyin_Web_Live/messages/social.py
T

11 lines
334 B
Python

import time
from protobuf import message_pb2
from messages.base import Base
class SocialMessage(Base):
def __init__(self):
self.instance = message_pb2.SocialMessage()
def __str__(self):
return time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) + '【关注】' + self.user().nickname + ' 关注了主播'