diff options
| -rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
| diff --git a/README.md b/README.md index 75acbdf..08fc3b5 100644 --- a/README.md +++ b/README.md | |||
| @@ -78,3 +78,14 @@ FOO BAR | |||
| 78 | The datafile above can generate either `FOO BAR`, `foo bar`, or `Foo Bar`. | 78 | The datafile above can generate either `FOO BAR`, `foo bar`, or `Foo Bar`. |
| 79 | 79 | ||
| 80 | There is one "special" group name: `{\n}` is always replaced by a newline. | 80 | There is one "special" group name: `{\n}` is always replaced by a newline. |
| 81 | |||
| 82 | ## Configuration | ||
| 83 | |||
| 84 | `yandere` looks for a file named `data.txt` in its working directory, and uses it as its datafile. As explained above, this datafile should at least have a group named `MAIN`. The bot also looks for a file named `config.yml`, from which it reads the details for authenticating with Twitter. This configuration file should have the following format, with the appropriate tokens inserted between the appropriate pairs of double quotes: | ||
| 85 | ```yaml | ||
| 86 | --- | ||
| 87 | consumer_key: "" | ||
| 88 | consumer_secret: "" | ||
| 89 | access_key: "" | ||
| 90 | access_secret: "" | ||
| 91 | ``` | ||
