全面改为AndroidApi,添加抽奖识别及消息提示

This commit is contained in:
2019-01-29 13:50:29 +08:00
parent 14525ee76e
commit 8c0320c97e
10 changed files with 169 additions and 59 deletions

View File

@ -28,7 +28,8 @@ class MemberMsg:
elif self.type == 1:
return "{} 进入了房间".format(self.user)
else:
print(self.type)
if self.content == "":
return "未知消息{} 关于用户 {}".format(self.type, self.user)
return self.content.format(self.user)
def __unicode__(self):