๐Ÿš“ FiveM SQL Discord Bot

A custom-built Discord bot designed to interact with your FiveM server database, execute utility commands, and manage in-game data through Discord.

โœจ Features

  • ๐Ÿ”„ Real-time presence updates.
  • ๐Ÿ’ฌ Custom /say, /ping, and /server commands.
  • ๐Ÿ’ธ Player money transactions using /pay.
  • ๐Ÿ“œ View and manage database entries via /showdb and /getuser.
  • ๐Ÿ–ผ๏ธ Avatar animation and nickname setting.
  • ๐Ÿง  Interaction-based command handling.

โš™๏ธ Setup

  1. Clone the repository:

    git clone https://github.com/yourusername/fivem-sql-discord-bot.git
    
    cd fivem-sql-discord-bot
    
  2. Install Dependencies:

   npm install
  1. Configure your bot:
  • Edit config.json with your bot token and database credentials.
  1. Deploy commands to Discord:
   node deploy-commands.js
  1. Run the bot:
   node index.js

๐Ÿงพ Requirements

  • Node.js v16+
  • A Discord bot token
  • A MySQL-compatible database connected to your FiveM server

๐Ÿ“Œ Notes

  • Make sure the bot has appropriate permissions in your Discord server.
  • You may need to whitelist bot IP for database access if it's hosted remotely.

Made for FiveM roleplay servers to easily interact with in-game data through Discord!


Built With

Share this project:

Updates