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.
- Integrated API to fetch Free Fire account data via UID
- Detailed data: level, rank, guild, credit score, full profile
- Secure credentials using
.env.
- Python 3.8+
- A Discord bot token
- A
.envfile containing:TOKEN=your_bot_token PORT = port where the bot will turn
-
Clone this repository:
git clone https://github.com/paulafredo/free-freefire-info-bot cd your-repo -
Create and activate a virtual environment:
python -m venv .venv source .venv/bin/activate # On Windows use: .venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Create a
.envfile in the root directory and add your credentials:TOKEN=your_bot_token PORT = port where the bot will turn
-
Run the bot:
python app.py
- 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.
- Go to the Discord Developer Portal.
- Click "New Application", and give your bot a name.
- In the left sidebar, go to the "Bot" section and click "Add Bot", then confirm with "Yes, do it!".
- Under the Token section, click "Reset Token" or "Copy" to get your
TOKEN. - Go to "General Information" and copy the
APPLICATION_ID. - Paste both values into your
.envfile:TOKEN=your_bot_token
- Go to OAuth2 > URL Generator in the Developer Portal.
- Under Scopes, check:
botapplications.commands
- Under Bot Permissions, check at least:
Send MessagesEmbed Links
- Copy the generated URL and open it in your browser to invite the bot to your server.
Check whether a Free Fire account is banned or not.
- 📥 Input: a user ID (UID)
- Python
- Discord.py
- Flask
- dotenv
This project is licensed under the MIT License. Feel free to use and modify it.

