Giter VIP home page Giter VIP logo

minecraft-realms-discord-bot's Introduction

Minecraft Realms Discord Bot

This is a Discord Bot that displays online users in your Minecraft Realm
image of bot image of response

The bot displays total online users in its bio, which updates every 60s.
The bot also lists online users and their usernames with the command $online in a chat visible to the bot.

This bot works in tandem with Minecraft Realms API Server running on the same machine

Setup

1. Registering and Inviting Your Bot

Follow the directions here and create your own discord app Save the Discord Token generated by your app.

This app uses default bot permissions and does not require administrator.

Invite the bot to your server.

2. Setting up Your Realms API Server

Visit the other repository: Minecraft Realms API Server and setup and the server via the instructions

3. Running a Virtual Environment

Run the following comamnds (Unix)

  1. python3 -m venv .venv to create a virtual environment
  2. source ./.venv/bin/activate to enter the virtual environment
  3. pip install -r requirements.txt to install the necessary dependencies

4. Starting the Bot

  1. Create a new file called .env
  2. Input your Discord Token, and the default port for Minecraft Realms API Server in the file as shown below:
DISCORD_TOKEN="your_discord_token_here"
API_LOCATION="http://127.0.0.1:5000"

Run python3 bot.py to start the bot

minecraft-realms-discord-bot's People

Contributors

bhnord avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.