8000 GitHub - gonner22/Telestai-Discord-Bot: Telestai-Discord-Bot: Enhancing Telestai community interactions on Discord with Python-powered features
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Telestai-Discord-Bot: Enhancing Telestai community interactions on Discord with Python-powered features

Notifications You must be signed in to change notification settings

gonner22/Telestai-Discord-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Discord Bot for Telestai (TLS)

Welcome to the Discord Bot designed to provide real-time updates and statistics for Telestai (TLS) cryptocurrency. This bot automatically creates and updates voice channels in your Discord server, displaying essential information such as difficulty, hashrate, block count, supply, price, and market cap.

Features

  • Real-time Updates: Stay informed with up-to-date statistics from the Telestai blockchain.
  • Automatic Channel Creation: The bot dynamically generates voice channels to display key metrics.
  • Privacy Management: Channels are automatically set to private, restricting access to maintain data integrity.

Installation and Configuration

Follow these steps to install, configure, and run the bot on your Discord server:

Step 1: Prerequisites

  • Python installed on your machine.
  • Discord account with the necessary permissions to add a bot to your server.

Step 2: Clone the Repository

git clone https://github.com/gonner22/Telestai-Discord-Bot.git
cd Telestai-Discord-Bot

Step 3: Create and Activate a Virtual Environment

# On Windows
python -m venv venv
venv\Scripts\activate

# On macOS/Linux
python3 -m venv venv
source venv/bin/activate

Step 4: Install Dependencies

pip install discord requests python-dotenv aiohttp

Step 5: Configure the Bot

  1. Copy the .env.template file to .env.
  2. Add your Discord bot token to the .env file:
DISCORD_BOT_TOKEN=YOUR_BOT_TOKEN_HERE
ETHERSCAN_API_TOKEN=YOUR_ETHERSCAN_TOKEN_HERE
TWITTER_API_KEY=YOUR_TWITTER_API_KEY
TWITTER_API_SECRET_KEY=YOUR_TWITTER_API_SECRET_KEY
TWITTER_BEARER_TOKEN=YOUR_TWITTER_BEARER_TOKEN
TWITTER_USERNAME=YOUR_TWITTER_USERNAME
  1. Set Permissions for .env
chmod 600 .env

This step ensures that only the owner of the file has read and write permissions, providing an extra layer of security for sensitive information.

Step 6: Run the Bot

python bot.py

Step 7: Invite the Bot to Your Server

  1. Go to the Discord Developer Portal.
  2. Create a new application and add a bot to it.
  3. Copy the bot token.
  4. On OAuth2 --> URL Generator --> select bot and set administrator permission.
  5. Use the link to invite the bot to your server

Step 8: Enjoy!

Your Telestai Discord bot is now set up and running on your server. Channels will be automatically created under the category "Server Stats" and updated with the latest data of the Telestai blockchain.

Feel free to customize the bot to suit your server's needs, and don't hesitate to reach out for any assistance or feature requests.

Telestai-Discord-Bot

About

Telestai-Discord-Bot: Enhancing Telestai community interactions on Discord with Python-powered features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0