mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-16 07:05:24 +00:00
yvlu 修改 bot username
This commit is contained in:
parent
028440fa1c
commit
cc01fac7a4
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user