yvlu 修改 bot username

This commit is contained in:
omg-xtao 2023-08-02 23:16:52 +08:00 committed by GitHub
parent 028440fa1c
commit cc01fac7a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ from pagermaid.enums import Client, Message
@listener(command="yvlu", description="将回复的消息或者输入的字符串转换成语录") @listener(command="yvlu", description="将回复的消息或者输入的字符串转换成语录")
async def yv_lu(bot: Client, message: Message): async def yv_lu(bot: Client, message: Message):
bot_username = "PagerMaid_QuotLy_bot" bot_username = "PagerMaid_QuotLyBot"
if message.reply_to_message: if message.reply_to_message:
reply = message.reply_to_message reply = message.reply_to_message
elif message.parameter: elif message.parameter: