From 0f40fc65d0d247f63437bc71a4f503ccb2638908 Mon Sep 17 00:00:00 2001 From: RGBCube <78925721+RGBCube@users.noreply.github.com> Date: Mon, 6 Jun 2022 09:00:01 +0000 Subject: [PATCH] stuff --- README.md | 15 ++++++++++++--- config.example.json | 4 ++-- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d7efe2a..f15747f 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,27 @@ # Minearchy Bot -This is a simple bot made for the Minearchy Discord server. +This is a simple bot made for the [Minearchy Discord](https://discord.gg/2n6T78JS9k) server. + +## Installing +1: Clone this repo and `cd` into it. + +2: Edit the `config.example.json` to your liking and rename it to `config.json`. + +3: If you are using replit, set the `USING_REPLIT` variable to `true` (or any non-empty string works, really). + +4: Run `python bot.py`. ## Commands ### Minecraft Server Related Commands `=ip [java|bedrock]`: Sends both of the server IPs. If the version is specified, it sends that versions IP. -`=status`: Sends the Minecraft servers player count and latency(ping). +`=status`: Sends the Minecraft servers player count and latency (ping). `=store`: Sends a link to the store. `=wiki`: Sends a link to the wiki. -### Miscellanios Commands +### Miscellaneous Commands `=hello`: Hello! `=help`: Sends bot help. diff --git a/config.example.json b/config.example.json index 5fe666d..d3a3525 100644 --- a/config.example.json +++ b/config.example.json @@ -2,6 +2,6 @@ "BEDROCK_IP": "bedrock.landsofminearchy.com", "JAVA_IP": "play.landsofminearchy.com", "BOT_PREFIX": "=", - "BOT_TOKEN": "xxxxxxxxxxxxxxxxxxxxxxxxx(also env files work with this too)", - "WEBHOOK_URL": "xxxxxxxxxxxxxxxxxxxxxxx(also env files work with this too)" + "BOT_TOKEN": "xxxxxxxxxxxxxxxxxxxxxxxxx(you can also store this in ENV)", + "WEBHOOK_URL": "xxxxxxxxxxxxxxxxxxxxxxx(you can also store this in ENV)" } \ No newline at end of file