aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJokler <jokler@protonmail.com>2020-03-22 21:21:12 +0100
committerJokler <jokler@protonmail.com>2020-03-22 21:21:12 +0100
commitf098dc867a73d62955507182f49e7569b86e8b27 (patch)
tree77725d1d91222afe8d23cf565458e6f69c269e4d /README.md
parent6fa137726286edaebd60835b9a5e05a13135d313 (diff)
downloadpokebot-f098dc867a73d62955507182f49e7569b86e8b27.tar.gz
pokebot-f098dc867a73d62955507182f49e7569b86e8b27.zip
Update README.md and add compilation instructions
Diffstat (limited to 'README.md')
-rw-r--r--README.md30
1 files changed, 25 insertions, 5 deletions
diff --git a/README.md b/README.md
index 0454203..b904143 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# pokebot
```
-pokebot 0.1.1
+pokebot 0.2.0
Jokler <jokler@protonmail.com>
USAGE:
@@ -14,14 +14,15 @@ FLAGS:
-v, --verbose Print the content of all packets
OPTIONS:
- -a, --address <address> The address of the server to connect to
- -g, --generate-identities <gen_id_count> Generate 'count' identities
- -d, --master_channel <master_channel> The channel the master bot should connect to
+ -a, --address <address> The address of the server to connect to
+ -g, --generate-identities <gen_id_count> Generate 'count' identities
+ -d, --master_channel <master_channel> The channel the master bot should connect to
+ -w, --increase-security-level <wanted_level> Increases the security level of all identities in the config file
ARGS:
<config_path> Configuration file [default: config.toml]
```
-# Usage
+## Usage
1. Poke the main bot.
2. Once the secondary bot joins your channel, type !help for a list of commands.
@@ -40,3 +41,22 @@ ARGS:
stop Stops audio playback
volume Changes the volume to the specified value
```
+
+## Compiling
+
+1. Make sure the following are installed
+ * cargo + rustc 1.42 or later
+ * `gstreamer` development libraries which should be `libgstreamer-dev` and `libgstreamer-plugins-base-dev`
+
+2. Clone the source with `git`:
+ ```sh
+ $ git clone https://github.com/Mavulp/pokebot.git
+ $ cd pokebot
+ ```
+
+3. Building the binary
+ ```sh
+ $ cargo build --release
+ ```
+
+ This creates the binary under `target/release/`.