A Discord bot to check if a Free Fire account is banned, using a user ID. Also includes a Flask-based status server.
- Features
- Requirements
- Installation
- Usage
- Create a Discord Bot
- Invite the Bot
- Bot Commands
- Video Tutorial
- Technologies Used
- License
- Author
- Check if a Free Fire account is banned using the
!ID <user_id>command. - Returns ban status and ban duration (if available) in an embedded Discord message.
- Flask web server on
http://localhost:10000to indicate bot status. - Secure credentials using
.env.
- Python 3.8+
- A Discord bot token
- A
.envfile containing:TOKEN=your_bot_token
-
Clone this repository:
git clone https://github.com/paulafredo/check-ban-and-info-discord 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 -
Run the bot:
python main.py
🎥 The Git in this demo was provided by NinjaHex –
- Use
!ID <user_id>in a Discord server where the bot is present. - The bot will fetch ban information from api-check-ban-freefire and respond with an embedded message.
- The bot's status can be checked via the Flask server running at
http://localhost:10000.
- 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:APPLICATION_ID=your_application_id 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)
- 📤 Output: an embedded message with the account status (banned or not)
- ✅ Example:
Change the display language of the bot for the current user.
-
🌐 Available languages:
-
en– English (default) -
fr– French -
✅ Examples:
!lang en!lang fr
ℹ️ By default, the language is set to English (
en) if no other language is selected.
Watch this step-by-step tutorial to learn how to install and run the bot:
Click the link below to invite the CheckBan bot to your Discord server:
- Python
- Discord.py
- Flask
- dotenv
This project is licensed under the MIT License. Feel free to use and modify it.

