mirror of
https://github.com/RGBCube/minearchy-bot
synced 2025-07-27 17:07:45 +00:00
feat: move to uv
This commit is contained in:
parent
d7d984a4ef
commit
d5ed49b03c
6 changed files with 678 additions and 1044 deletions
|
@ -4,14 +4,10 @@ import json
|
|||
from os import environ as env
|
||||
from pathlib import Path
|
||||
|
||||
import uvloop
|
||||
|
||||
from . import MinearchyBot
|
||||
|
||||
|
||||
def main() -> None:
|
||||
uvloop.install()
|
||||
|
||||
config = json.loads(
|
||||
(
|
||||
Path(__file__).parent / "config.json"
|
||||
|
@ -27,3 +23,6 @@ def main() -> None:
|
|||
)
|
||||
|
||||
bot.run()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue