diff --git a/alpha/auto_send_reactions/main.py b/alpha/auto_send_reactions/main.py index 790e570..1396b13 100644 --- a/alpha/auto_send_reactions/main.py +++ b/alpha/auto_send_reactions/main.py @@ -94,7 +94,7 @@ async def AutoSendReactions(client: Client, message: Message): f"✅ 已{'更新' if hasSetted else '添加'}对 __{user_name}__ 的自动回复Emoji设置**", ) except Exception as e: - await message.edit(message, f"❌ **在设置中遇到了一些错误** > {e}") + await message.edit(f"❌ **在设置中遇到了一些错误** > {e}") await log(e) # 打印错误日志 elif reply and (len(message.parameter) == 2): @@ -118,7 +118,7 @@ async def AutoSendReactions(client: Client, message: Message): f"✅ 已{'更新' if hasSetted else '添加'}对 __{user_name}__ 的自动回复Emoji设置", ) except Exception as e: - await message.edit(message, f"❌ **在设置中遇到了一些错误** > {e}") + await message.edit(f"❌ **在设置中遇到了一些错误** > {e}") await log(e) # 打印错误日志 else: return await message.edit(f"{lang('error_prefix')}{lang('arg_error')}") @@ -148,7 +148,7 @@ async def AutoSendReactions(client: Client, message: Message): message, f"❌ 还没有对 __{user_name}__ 设置自动回复Emoji哦~" ) except Exception as e: - await message.edit(message, f"❌ **在设置中遇到了一些错误** > {e}") + await message.edit(f"❌ **在设置中遇到了一些错误** > {e}") await log(e) # 打印错误日志 elif reply and (len(message.parameter) == 1): @@ -170,7 +170,7 @@ async def AutoSendReactions(client: Client, message: Message): message, f"❌ 还没有对 __{user_name}__ 设置自动回复Emoji哦~" ) except Exception as e: - await message.edit(message, f"❌ **在设置中遇到了一些错误** > {e}") + await message.edit(f"❌ **在设置中遇到了一些错误** > {e}") await log(e) # 打印错误日志 else: return await message.edit(f"{lang('error_prefix')}{lang('arg_error')}") @@ -260,4 +260,4 @@ async def AutoSendReactions(message: Message): return False -## ⬆️ 不懂勿动 ⬆️ +## ⬆️ 不懂勿动 ⬆️ \ No newline at end of file diff --git a/alpha/list.json b/alpha/list.json index b0d2495..abe3211 100644 --- a/alpha/list.json +++ b/alpha/list.json @@ -2,7 +2,7 @@ "list": [ { "name": "auto_send_reactions", - "version": "1.01", + "version": "1.2", "section": "chat", "maintainer": "xtaodada", "size": "11.28 kb",