diff --git a/.vs/ProjectSettings.json b/.vs/ProjectSettings.json new file mode 100644 index 0000000..f8b4888 --- /dev/null +++ b/.vs/ProjectSettings.json @@ -0,0 +1,3 @@ +{ + "CurrentProjectSetting": null +} \ No newline at end of file diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 0000000..5ddea5d --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,7 @@ +{ + "ExpandedNodes": [ + "" + ], + "SelectedNode": "\\.gitignore", + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/.vs/python-bot/v17/.wsuo b/.vs/python-bot/v17/.wsuo new file mode 100644 index 0000000..ed6f0df Binary files /dev/null and b/.vs/python-bot/v17/.wsuo differ diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite new file mode 100644 index 0000000..bdfc1a2 Binary files /dev/null and b/.vs/slnx.sqlite differ diff --git a/connect.py b/connect.py index b9a660a..4a57be3 100644 --- a/connect.py +++ b/connect.py @@ -5,7 +5,7 @@ import traceback from typing import Dict, List, Tuple, Any, Optional, Union, Literal -import rtoml +import qtoml import socketio from colorama import Fore, Style from nacl.signing import SigningKey @@ -14,7 +14,7 @@ from mcstatus import JavaServer def get_config() -> Tuple[str, str, int]: with open('config.toml', 'r', encoding='utf-8') as f: - config = rtoml.load(f) + config = qtoml.load(f) return config['host'], config['private_key'], config['self_id'] diff --git a/requirement.txt b/requirement.txt index 4baec2e..b861617 100644 --- a/requirement.txt +++ b/requirement.txt @@ -1,6 +1,6 @@ lib-not-dr colorama -rtoml +qtoml pynacl python-socketio[asyncio_client] mcstatus \ No newline at end of file