Archived
1
0
Fork 0

update excr

This commit is contained in:
多羅狼 2023-07-05 11:55:12 +08:00 committed by GitHub
parent a1da7cb92f
commit 70f06c848a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,4 +74,5 @@ async def _(msg: Bot.MessageSession):
amount = groups[0] if groups[0] else '1'
base = groups[2].upper()
target = groups[3].upper()
await msg.finish(await exchange(base, target, amount, msg))
if base != target:
await msg.finish(await exchange(base, target, amount, msg))