Skip to content

paulafredo/free-freefire-info-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Free Fire info Discord Bot

Status

An asynchronous Discord bot that provides a REST API to retrieve detailed information about a Free Fire account using its UID.
It returns profile data such as level, rank, guild info, credit score, social preferences, and more. The bot includes a built-in Flask server for uptime support on Render/Railway.

🚀 Features

  • Integrated API to fetch Free Fire account data via UID
  • Detailed data: level, rank, guild, credit score, full profile
  • Secure credentials using .env.

Requirements

  • Python 3.8+
  • A Discord bot token
  • A .env file containing:
    TOKEN=your_bot_token
    PORT = port where the bot will turn

Installation

  1. Clone this repository:

    git clone https://github.com/paulafredo/free-freefire-info-bot
    cd your-repo
  2. Create and activate a virtual environment:

    python -m venv .venv
    source .venv/bin/activate  # On Windows use: .venv\Scripts\activate
    
  3. Install dependencies:

    pip install -r requirements.txt
  4. Create a .env file in the root directory and add your credentials:

    TOKEN=your_bot_token
    PORT = port where the bot will turn
  5. Run the bot:

    python app.py

📸 Demo

image image

Usage

  • Use !info <user_id> in a Discord server where the bot is present.
  • The bot will fetch information from free-fire-info-api and respond with an embedded message.

🛠️ Create a Discord Bot

  1. Go to the Discord Developer Portal.
  2. Click "New Application", and give your bot a name.
  3. In the left sidebar, go to the "Bot" section and click "Add Bot", then confirm with "Yes, do it!".
  4. Under the Token section, click "Reset Token" or "Copy" to get your TOKEN.
  5. Go to "General Information" and copy the APPLICATION_ID.
  6. Paste both values into your .env file:
    TOKEN=your_bot_token

🔗 Invite the Bot to a Discord Server

  1. Go to OAuth2 > URL Generator in the Developer Portal.
  2. Under Scopes, check:
    • bot
    • applications.commands
  3. Under Bot Permissions, check at least:
    • Send Messages
    • Embed Links
  4. Copy the generated URL and open it in your browser to invite the bot to your server.

📚 Bot Commands

!info <user_id>

Check whether a Free Fire account is banned or not.

  • 📥 Input: a user ID (UID)

Technologies Used

  • Python
  • Discord.py
  • Flask
  • dotenv

License

This project is licensed under the MIT License. Feel free to use and modify it.

Author

Paul Alfredo

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages