StarLabs
TelegramChatGitHub
  • 👋Welcome
  • Software
    • CampNetwork
      • RU
      • ENG
    • Somnia
      • RU
      • ENG
    • MegaETH
      • RU
      • ENG
    • 0G
      • RU
      • ENG
  • Monad
    • RU
    • ENG
  • Discord
    • RU
    • ENG
  • Twitter
    • RU
    • ENG
  • 👀Other
    • ⚠️Common errors + fixes
Powered by GitBook
On this page
  • ⚙️ Installation Requirements:
  • 📁 Setup (data folder)
  • 📝 Config.yaml
  1. Discord

ENG

https://github.com/0xStarLabs/StarLabs-Discord

⚙️ Installation Requirements:

Python version 3.11.6 or higher

Download:

1 | Clone the repository

git clone https://github.com/0xStarLabs/StarLabs-Discord.git
cd StarLabs-Discord

2 | Install dependencies

pip install -r requirements.txt

3 | Launch (after configuration)

py main.py

📁 Setup (data folder)

This folder contains all user data required for operation.

accounts.xlsx - spreadsheet with accounts, proxies, and account data. Each row = 1 account. Cells are labeled intuitively. \

You only need to fill in the TOKEN and PROXY fields. The bot can also work without proxies.

Proxy format: USER:PASS@IP:PORT ONLY HTTP proxies are supported.

The MESSAGES_TXT field contains the name of the txt file with messages for each account. All txt files are located in the /messages folder. For example: Account 1 will use messages_1.txt. Create this txt file in the messages folder and insert messages line by line. Their operation mode is configured in the config.

📝 Config.yaml

This section details each function in the config.yaml file. Most variables are self-explanatory from their names and comments above each one, so I'll describe only the main ones:

DISCORD_TOKEN_FOR_PARSIN

DISCORD_TOKEN_FOR_PARSING: ""
Insert 1 working Discord token here that will be used for data retrieval. 
Used in Reaction and Press Button functions.
Makes 1 request to get data, nothing more. 
Must be on the server where you want to press the button or add a reaction.
AI_CHATTER
In GUILD_ID and CHANNEL_ID, insert the server and chat data 
where you want to send ChatGPT messages.

ANSWER_PERCENTAGE: 0 to 100. Example: 
if someone asks your account something or replies to it. 
If value is 0, the bot will ignore and write messages to chat. 
If value is 100, the bot will 100% respond to all such replies.

REPLY_PERCENTAGE: 0 to 100. 
If value is 0, bot will simply write messages to chat. 
If value is 100, bot will reply to other messages in chat for every message.
CHAT_GPT API_KEYS: ["key1", "key2"] - list of ChatGPT API keys. 
You can insert 1 or several; the bot will randomly choose 1 for each request. 
Find them at https://platform.openai.com/settings/organization/api-keys 
Balance required on the key.

MODEL: "gpt-4o" - specify which ChatGPT model the bot will use. 
List of all models available at https://platform.openai.com/docs/pricing.

PROXY_FOR_CHAT_GPT: "user:pass@ip:port". 
If ChatGPT is blocked in your country, you can insert a proxy here and requests will work. 
Only affects GPT requests, nothing else.
PreviousRUNextTwitter

Last updated 3 months ago