Archived
1
0
Fork 0
This commit is contained in:
多羅狼 2023-08-30 19:00:56 +08:00 committed by GitHub
parent a774e1b637
commit 424c979022
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ async def _(msg: Bot.MessageSession, language: str, content: str):
stop = time.perf_counter_ns() stop = time.perf_counter_ns()
delta = (stop - start) / 1000000 delta = (stop - start) / 1000000
if msg.checkSuperUser(): if msg.checkSuperUser():
m += '\n' + msg.locale.t("langconv.message.running_time", time=delta) res += '\n' + msg.locale.t("langconv.message.running_time", time=delta)
if await check_bool(res): if await check_bool(res):
rickroll(msg) rickroll(msg)
await msg.finish(res) await msg.finish(res)