Code Studio
Tebex DiscordYoutubeGitHub
  • 🌟Welcome to Code Studio
  • Overview
    • 💡What we do
  • 📜Our Scripts
    • Ultimate License System
      • 🛠️Setup
    • Bodycam & Dashcam
      • 🛠️Setup
    • Weather Management
      • 🛠️Setup
    • Car Radio - Car Play Pro
      • 🛠️Setup
    • Modern HUD
      • 🛠️Setup
    • Modern Shops
      • 🛠️Setup
    • Advanced Radio
      • 🛠️Setup
    • Modern ID Card
      • 🛠️Setup
    • Billing Invoice System
      • 🛠️Setup
    • Radial Menu
      • 🛠️Setup
    • Death Screen
      • 🛠️Setup
    • Boss & Gang Menu
      • 🛠️Setup
    • Advanced Notification
      • 🛠️Setup
    • Fingerprint Scanner
      • 🛠️Setup
    • Drunk System + Alcohol Tester
      • 🛠️Setup
    • Advanced Job + ID Card
      • 🛠️Setup
    • Drug Selling + Level Based
      • 🛠️Setup
    • Multi Job System
      • 🛠️Setup
    • Discord2FiveM [V2]
      • 🛠️Setup
    • Modern Radio
      • 🛠️Setup
    • Grappling Gun
      • ♦️Standalone
  • ⚠️FiveM Escrow Protection FAQ
    • Home
    • Error parsing script ... <\1>
    • Failed to verify protected resource
    • You lack the required entitlement
    • What to do if nothing is fixing the errors
Powered by GitBook
On this page
  • 1. Creating Discord Bot
  • 2. Setting Script Config
  1. Our Scripts
  2. Discord2FiveM [V2]

Setup

This is a detailed setup guide for Discord2FiveM. If you have any questions before making a purchase, you can contact us on Discord

PreviousDiscord2FiveM [V2]NextModern Radio

Last updated 1 year ago

1. Creating Discord Bot

  1. Go to

  2. Create New Application

  3. Select "Bot" from the left side menu and then choose the option to add a new bot

    Make Sure to Enable Message Content Intent

  4. Copy Bot Token by clicking on Copy and Paste that in Config.BotToken

  5. To invite the bot into your server, go to OAuth2 and select URL Generator. Then, choose "Bot" and "Administrator" from the menu, copy the bot invite link, paste it into your browser, and invite the bot to your Discord server where you want the command bot script to work

  6. Make sure you give the bot admin permissions so it can respond to your commands

2. Setting Script Config

  1. To set up your command channel, select it from your Discord server and generate a webhook link. Then, copy the link and paste it into the Config.WebHook section.

  2. If you haven't already enabled Developer Mode in your Discord settings, do so now. Then, copy the ID of the channel where you set up the webhook earlier, and paste it into the Config.ChannelID section

  3. Now To get your Guild ID, right-click on your Discord server and select 'Copy ID.' Then, paste the ID into the Config.GuildId section

  4. Edit Config.ReplyUserName to change Bot Username

  5. Add Bot Avatar URL in Config.AvatarURL

  6. Bot Command Prefix can be edited in Config.Prefix

  7. Add your commands and role into Config.RestrictCommand to restrict commands to specific roles

📜
🛠️
Discord Developer Portal