mirror of
https://github.com/RGBCube/minearchy-bot
synced 2025-07-27 08:57:46 +00:00
Move config to bot root dir
This commit is contained in:
parent
ce0dce1f93
commit
577b7ce131
3 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ This is a simple bot made for the [Minearchy Discord](https://discord.gg/2n6T78J
|
|||
## Installing
|
||||
1: Clone this repo and `cd` into it.
|
||||
|
||||
2: Edit the `config.example.json` to your liking and rename it to `config.json`.
|
||||
2: Edit the `./minearchy_bot/config.example.json` to your liking and rename it to `config.json`.
|
||||
|
||||
3: Install dependencies using `./install`.
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ from . import MinearchyBot
|
|||
def main() -> None:
|
||||
install_uvloop()
|
||||
|
||||
with (Path(__file__).parent.parent / "config.json").open() as f:
|
||||
with (Path(__file__).parent / "config.json").open() as f:
|
||||
config = parse_json(f)
|
||||
|
||||
for key in ("HIDE", "NO_UNDERSCORE"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue