mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-04 19:29:59 +08:00
优化开箱次数判断
This commit is contained in:
@@ -8,9 +8,9 @@ class WithdrawMessageManager:
|
||||
|
||||
def append(self, message_data: Tuple[Union[int, Dict[str, int]], int]):
|
||||
"""
|
||||
说明:
|
||||
说明:
|
||||
添加一个撤回消息id和时间
|
||||
参数:
|
||||
参数:
|
||||
:param message_data: 撤回消息id和时间
|
||||
"""
|
||||
if isinstance(message_data[0], dict):
|
||||
@@ -19,9 +19,9 @@ class WithdrawMessageManager:
|
||||
|
||||
def remove(self, message_data: Tuple[int, int]):
|
||||
"""
|
||||
说明:
|
||||
说明:
|
||||
删除一个数据
|
||||
参数:
|
||||
参数:
|
||||
:param message_data: 消息id和时间
|
||||
"""
|
||||
self.data.remove(message_data)
|
||||
|
||||
Reference in New Issue
Block a user