atfiles was renamed to atfm
This commit is contained in:
parent
9d82af1da2
commit
c8c036c865
1 changed files with 0 additions and 28 deletions
|
@ -1,28 +0,0 @@
|
|||
from . import atconnect
|
||||
|
||||
class AternosFileManager:
|
||||
|
||||
def __init__(atserv):
|
||||
|
||||
self.atserv = atserv
|
||||
|
||||
def listdir(self, path=''):
|
||||
|
||||
self.atserv.atserver_request(
|
||||
f'https://aternos.org/files/{path}',
|
||||
atconnect.AternosConnect.REQGET
|
||||
)
|
||||
|
||||
def get_file(self, path):
|
||||
|
||||
self.atserv.atserver_request(
|
||||
f'https://aternos.org/panel/ajax/files/download.php?file={path}',
|
||||
atconnect.AternosConnect.REQGET
|
||||
)
|
||||
|
||||
def get_world(self, world):
|
||||
|
||||
self.atserv.atserver_request(
|
||||
f'https://aternos.org/panel/ajax/worlds/download.php?world={world}',
|
||||
atconnect.AternosConnect.REQGET
|
||||
)
|
Reference in a new issue