mirror of
https://github.com/RGBCube/minearchy-bot
synced 2025-07-28 09:27:44 +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
|
@ -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"):
|
||||
|
|
4
minearchy_bot/config.example.json
Normal file
4
minearchy_bot/config.example.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"BOT_TOKEN": "",
|
||||
"WEBHOOK_URL": ""
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue