How to get this?
x5tr opened this issue · 1 comments
x5tr commented
kevinkjt2000 commented
Oops. My caffeine obviously hasn't kicked in yet this morning. You wanted the MOTD.
That's stored in the status object.
from mcstatus import MinecraftServer
server = MinecraftServer.lookup("example.org:1234")
status = server.status()
print(status.description)
It's also included in the query response as motd
.