This commit is contained in:
BadHappy 2023-12-31 09:23:31 +08:00
parent 967f0fc55d
commit ce78613394
2 changed files with 18 additions and 1 deletions

View File

@ -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:

View File

@ -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():