Hide actual config to avoid leaking the tokens
This commit is contained in:
parent
096368903a
commit
877251e9cf
3 changed files with 5 additions and 2 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
config.yaml
|
|
@ -13,6 +13,7 @@ It's also got solid foundations for Logging, Cogs, a YAML config, Mod Roles and
|
|||
|
||||
## Installation
|
||||
- Obtain the code, fork via git, download, doesn't matter
|
||||
- Install requirements with `pip install requirements.txt`
|
||||
- Copy config.example.yaml to config.yaml
|
||||
- Install requirements with `pip install -r requirements.txt`
|
||||
- paste discord bot token in `config.yaml`
|
||||
- run with `python main.py`
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Bot configuration
|
||||
prefix: "!"
|
||||
token: ""
|
||||
token: "Discord token"
|
||||
github_url: "https://git.norbipeti.eu/ExMods/RC2Bot"
|
||||
|
||||
# A list of cogs to load at startup
|
||||
|
@ -11,6 +11,7 @@ cogs:
|
|||
|
||||
# API configuration
|
||||
api_url: "https://norbipeti.eu/rc2matchmaking"
|
||||
api_token: "API token"
|
||||
# Add routes here.
|
||||
routes:
|
||||
start_server: "/server/start"
|
Loading…
Reference in a new issue