Skip to content

Use this bot to keep your discord up to date on the dlt.green node-pool status

License

Notifications You must be signed in to change notification settings

jeizinep/node-status-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Welcome to dlt.green node-status-bot 👋

Version License: GNU General Public License v3.0 Twitter: Snowli111

Use this bot to keep your discord up to date on the dlt.green node-pool status

Getting started

First you need to create a new Discord bot on the official website Create application

Go to bot

Choose bot

Add bot Add bot

Go to URL Generator Url generator

Create bot url bot url

Open generated link and invite bot to your discord

invite bot

Go back to bot

Choose bot

Copy bot token

Bot token

Linux

You need to install python3 and pip if it isn't installed already

sudo apt-get update
sudo apt-get install python
sudo apt install python3-pip

now download the newest release and unzip the code

then chose the method of getting the pool state (api is recommended)

cd /bot_api

then you can install the python libraries

cd ~/node-status-bot
sudo pip install requirements.txt

modify the config to your liking ("token" is your bots api token, "channel_id" is your desired channel id, "api" is the api url from which you get your pool state recommended is dlt.greens pool mana)

nano config.json

now you are ready to start the skript

python3 bot.py

Windows

Download the latest python version form the windows store or the python website (Website is recommended)

now download the newest release and unzip the code

then chose the method of getting the pool state (api is recommended)

cd bot_api

install the requirements

pip install requirements.txt

open the config.json with your text editor of choice and edit the config.json to your liking. ("token" is your bots api token, "channel_id" is your desired channel id, "api" is the api url from which you get your pool state recommended is dlt.greens pool mana)

now you are ready to start the skript

python3 bot.py

Author

👤 Snowli

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2022 Snowli.
This project is GNU General Public License v3.0 licensed.

About

Use this bot to keep your discord up to date on the dlt.green node-pool status

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages