更新:添加未知消息的提示,添加设置房管消息检测
This commit is contained in:
parent
2df0dc07bd
commit
33739d21b3
@ -23,10 +23,12 @@ class MemberMsg:
|
||||
return "{} 被禁言了".format(self.user)
|
||||
elif self.type == 4:
|
||||
return "{} 被取消禁言了".format(self.user)
|
||||
elif self.type == 5:
|
||||
return "{} 被任命为房管".format(self.user)
|
||||
elif self.type == 1:
|
||||
return "{} 进入了房间".format(self.user)
|
||||
else:
|
||||
return self.content
|
||||
return self.content.format(self.user)
|
||||
|
||||
def __unicode__(self):
|
||||
return self.__str__()
|
Reference in New Issue
Block a user