summaryrefslogtreecommitdiff
path: root/AyaBot/plugins
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2020-07-07 11:04:56 +0800
committerGitHub <[email protected]>2020-07-07 11:04:56 +0800
commit431f7ff2f1d84f781e75f33928d26c4409e41fe3 (patch)
tree16972f90883fa713c80ff90badd8b1c1a5ce785d /AyaBot/plugins
parent38bb1c0126d5991851f9706b5dd3615a8344d27c (diff)
downloadATRI-431f7ff2f1d84f781e75f33928d26c4409e41fe3.tar.gz
ATRI-431f7ff2f1d84f781e75f33928d26c4409e41fe3.tar.bz2
ATRI-431f7ff2f1d84f781e75f33928d26c4409e41fe3.zip
Update mojang.py
Diffstat (limited to 'AyaBot/plugins')
-rw-r--r--AyaBot/plugins/mojang.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/AyaBot/plugins/mojang.py b/AyaBot/plugins/mojang.py
index 6026daf..4f5ee28 100644
--- a/AyaBot/plugins/mojang.py
+++ b/AyaBot/plugins/mojang.py
@@ -1,6 +1,4 @@
import json
-import base64
-import nonebot
import requests
from mcstatus import MinecraftServer
from nonebot import on_command, CommandSession
@@ -57,4 +55,4 @@ async def check_mc_id(session: CommandSession):
await session.send(f'{player}可能为非正版玩家,无法查询到其信息')
except:
- await session.send('mojang似乎炸了...等一会吧') \ No newline at end of file
+ await session.send('mojang似乎炸了...等一会吧')