mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-04 03:10:01 +08:00
✨ 提供database.json配置文件
This commit is contained in:
@@ -28,7 +28,11 @@ class MessageUtils:
|
||||
返回:
|
||||
list[Text | Text]: 构造完成的消息列表
|
||||
"""
|
||||
is_bytes = driver.config.image_to_bytes == "True"
|
||||
is_bytes = False
|
||||
try:
|
||||
is_bytes = driver.config.image_to_bytes in ["True", "true"]
|
||||
except AttributeError:
|
||||
pass
|
||||
message_list = []
|
||||
for msg in msg_list:
|
||||
if isinstance(msg, (Image, Text, At)):
|
||||
|
||||
Reference in New Issue
Block a user