🎨 给角色卡片回复信息添加 caption

This commit is contained in:
洛水居室 2022-09-10 00:41:23 +08:00
parent d6b38a0e63
commit 2d96dfb962
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -103,7 +103,7 @@ class PlayerCards(Plugin, BasePlugin):
temp = []
if len(temp) > 0:
buttons.append(temp)
reply_message = await message.reply_photo(photo=self.temp_photo,
reply_message = await message.reply_photo(photo=self.temp_photo, caption="请选择你要查询的角色",
reply_markup=InlineKeyboardMarkup(buttons))
if reply_message.photo:
self.temp_photo = reply_message.photo[-1].file_id