F|1231
This commit is contained in:
parent
967f0fc55d
commit
ce78613394
|
@ -207,7 +207,7 @@ async def add_message(data: Dict[str, Any]):
|
|||
# !!status
|
||||
elif content == '!!status':
|
||||
server = JavaServer.lookup("192.168.1.6:25565")
|
||||
status=server.status()
|
||||
status = server.status()
|
||||
# query = server.query()
|
||||
|
||||
# if status.players.online != 0:
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
import time
|
||||
import random
|
||||
import asyncio
|
||||
import traceback
|
||||
|
||||
from typing import Dict, List, Tuple, Any, Optional, Union, Literal
|
||||
|
||||
import qtoml
|
||||
import socketio
|
||||
from colorama import Fore, Style
|
||||
from nacl.signing import SigningKey
|
||||
from lib_not_dr.types import Options
|
||||
from mcstatus import JavaServer
|
||||
|
||||
server = JavaServer.lookup("192.168.1.6:25565")
|
||||
|
||||
def mcstatus():
|
Loading…
Reference in New Issue
Block a user