Skip to content

Learnmore-smart/Discord_fish

Repository files navigation

Discord Virtual Fisher Auto-Bot

An automated Python script for sending /fish commands in Discord to play Virtual Fisher, with an anti-bot verification handler. alt text

Features

Basic feature:

  • Auto fish
  • Auto sell
  • Auto boost
  • Auto verification

Advance feature:

  • Auto AI verification (using Gemini API - 100% free)
  • Auto check profile & state management: Seamlessly checks profile and shops in the background every 30 minutes without pausing fishing.
  • Auto buy best available rods, boats, and upgrades: Automatically exhausts available funds purchasing affordable items one by one sequentially.
  • Auto bait stocking (buys 50 of the best unlocked bait when below 10)

Configuration (Advanced)

The bot dynamicly executes commands using their slash command IDs. Default Virtual Fisher command IDs are built-in, but if Virtual Fisher changes their IDs, you can define them manually in your .env file (e.g. CMD_SHOP_ID=..., CMD_PROFILE_ID=...).

Setup Guide

1. Install Prerequisites (Git, VS Code, and Python)

  1. Download and install Git from git-scm.com. This allows you to easily download the project and keep it updated.
  2. Download and install Visual Studio Code (VS Code) from code.visualstudio.com. You will use this to edit the configuration files and run the bot more easily.
  3. Download and install Python from python.org (version 3.7 or higher). Important: During the Python installation on Windows, make sure you check the box that says "Add python.exe to PATH" at the bottom of the installer before continuing.

2. Clone the Project

By cloning the project instead of downloading the ZIP, you can easily receive updates whenever this script gets improved!

  1. Open VS Code.
  2. Go to Terminal > New Terminal in the top menu.
  3. In the terminal, run the following command to download the project:
git clone https://github.com/YOUR_GITHUB_USERNAME/Discord_fish.git

(Make sure you replace the URL with the actual GitHub link to this repository) 4. Go to File > Open Folder... and select the newly created Discord_fish folder.

3. Quick Setup (Windows only)

For the easiest setup, simply double-click the setup.bat file in the folder!

  • It will automatically create an isolated environment and install the required files.
  • Note: For Mac/Linux, run python3 -m venv .venv, source .venv/bin/activate, and pip install -r requirements.txt.

4. Configuration

  1. The setup.bat will automatically create a .env file for you (or copy .env.example if you are doing it manually). Open the .env file in VS Code or Notepad and fill in your details:
    • USER_TOKEN: Your personal Discord account token (DO NOT share this).
    • CHANNEL_ID: The ID of the Discord channel where you want to fish.
    • WAIT_TIME: Time to wait between /fish commands in seconds. (Recommended 2.2 or higher).
    • GEMINI_API_KEY: (OPTIONAL) Google AI Studio API for auto-solving image Captchas. This API is 100% FREE since we are using their free tier models! If not provided, the bot will still auto-solve standard text Captchas without issues, but will safely pause when it spots an image Captcha so you can enter it manually. This prevents accidental bans! alt text alt text alt text alt text alt text alt text

How to find your User Token: Important Note: Your personal token is different depending on whether you are using Discord in the browser or the Discord Desktop App.

If you are using the Discord Desktop App, Discord has disabled Developer Tools by default. To enable it, completely quit Discord first, then find your settings.json file:

  • Windows: Press Win+R to open the Run prompt, type %appdata%/discord/ and press enter. Open the settings.json file in Notepad or VS Code.
  • Mac: Navigate to ~/Library/Application Support/discord/ and open settings.json in a text editor.
  • Linux: Navigate to ~/.config/discord/ (or ~/.discord) and open settings.json in a text editor.

Above the } at the bottom of the file, add "DANGEROUS_ENABLE_DEVTOOLS_ONLY_ENABLE_IF_YOU_KNOW_WHAT_YOURE_DOING": true, so it looks something like this:

{
  "DANGEROUS_ENABLE_DEVTOOLS_ONLY_ENABLE_IF_YOU_KNOW_WHAT_YOURE_DOING": true,
  "IS_MAXIMIZED": true,
  ...
}

Save the file, reopen the Discord app, and press Ctrl+Shift+I (or Cmd+Option+I on Mac) while in Discord to open Developer Tools.

If you are using Discord in your web browser:

  1. Open Discord in your web browser and press F12 or Ctrl+Shift+I (or Cmd+Option+I on Mac) to open Developer Tools.

Next steps for BOTH app and browser: 2. Go to the Network tab in the Developer Tools. 3. Send a random message in any channel. 4. Click on the messages network request that appears in the list. 5. Scroll down to Request Headers and find Authorization. Copy that value. alt text alt text

*DO NOT LEAK YOUR USER TOKEN, OR ELSE PEOPLE WILL BE ABLE TO ACCESS YOUR ACCOUNT FROM ANYWHERE!!!

How to find a Channel ID:

  1. Enable Developer Mode in Discord (User Settings > Advanced).
  2. Right-click the channel name where you want to fish and click Copy Channel ID. How to get channel ID alt text alt text

5. Run the Bot

To run the bot, you can now simply double-click start_bot.bat!

Alternatively, in VS Code:

  1. Make sure you have the user_auto_fisher.py file open and selected.
  2. Click the Play/Run button in the top right corner of VS Code (see image below) or run this command in the terminal:
python user_auto_fisher.py

alt text alt text

6. Updating the Bot

If the author puts out a new update, you don't need to do the whole process again! Simply:

  1. Open the project in VS Code.

  2. Click on the Source Control icon on the left sidebar (it looks like a branch/graph).

  3. Click the Sync Changes (or Pull) button. alt text

    (Alternatively, you can open a terminal and run git pull) The bot will automatically download any new improvements while keeping your .env settings safe!

Disclaimer

Automating user accounts (self-botting) is strictly against Discord's Terms of Service and might lead to your account being banned. Use at your own risk. The creator is not responsible for any banned accounts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors