Archived
1
0
Fork 0

Update message.py

This commit is contained in:
多羅狼 2023-12-11 12:48:20 +08:00 committed by GitHub
parent d17d634f71
commit 1110db5564
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -363,7 +363,7 @@ async def parser(msg: Bot.MessageSession, require_enable_modules: bool = True, p
for target in bug_report_targets:
if f := await Bot.FetchTarget.fetch_target(target):
await f.send_direct_message(
f.locale.t('error.message.report', module=msg.trigger_msg) + tb)
msg.locale.t('error.message.report', module=msg.trigger_msg) + tb)
if command_first_word in current_unloaded_modules and msg.check_super_user():
await msg.send_message(
msg.locale.t('parser.module.unloaded', module=command_first_word, prefix=msg.prefixes[0]))