summaryrefslogtreecommitdiff
path: root/AyaBot/plugins
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2020-07-07 13:55:06 +0800
committerKyomotoi <[email protected]>2020-07-07 13:55:06 +0800
commit7f4ba5aab9db1695a3bc77efca5f92708ae41d65 (patch)
treef27477053bb2cf24522b88241a3a3e737f305b6f /AyaBot/plugins
parent38bb1c0126d5991851f9706b5dd3615a8344d27c (diff)
downloadATRI-7f4ba5aab9db1695a3bc77efca5f92708ae41d65.tar.gz
ATRI-7f4ba5aab9db1695a3bc77efca5f92708ae41d65.tar.bz2
ATRI-7f4ba5aab9db1695a3bc77efca5f92708ae41d65.zip
[FIX] send msg
Diffstat (limited to 'AyaBot/plugins')
-rw-r--r--AyaBot/plugins/mojang.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/AyaBot/plugins/mojang.py b/AyaBot/plugins/mojang.py
index 6026daf..61a7dab 100644
--- a/AyaBot/plugins/mojang.py
+++ b/AyaBot/plugins/mojang.py
@@ -29,7 +29,7 @@ async def _(session: CommandSession):
server = MinecraftServer.lookup(ip)
status = server.status()
- await session.finish(f'IP:{ip}\nPlayers: {0}\nms: {1}'.format(status.players.online, status.latency))
+ await session.send(f'IP:{ip}\nPlayers: {0}\nms: {1}'.format(status.players.online, status.latency))
@on_command('check_mc_id', aliases=['mc正版查询', 'MC正版查询'], only_to_me=False)