1
Fork 0
mirror of https://github.com/RGBCube/minearchy-bot synced 2025-07-27 08:57:46 +00:00
This commit is contained in:
RGBCube 2022-06-06 09:00:01 +00:00
parent d2f19f0e8a
commit 0f40fc65d0
2 changed files with 14 additions and 5 deletions

View file

@ -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.

View file

@ -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)"
}