Configuration Guide
This document explains how to edit your config.lua file to set up your Discord bot token and server-specific settings properly.
๐ File: config.lua
config.luaSample Config:
config = {}
config.token = "" -- Your Discord bot token goes here
config.serverId = "800444740729307177"
config.commandName = "vehicleconfig" -- Command to open or trigger vehicle config features
config.adminRefreshRoles = "refresh-roles" -- Admin-only command to refresh someone's roles
config.allowAdminBypass = true -- If true, users with admin roles can bypass restrictions
config.adminRoles = {
"800444938793123871" -- Role IDs that are allowed to use admin commands
}๐งพ How to Edit
1. ๐ Insert Your Bot Token
2. ๐ Set the Server ID
3. ๐ Change Command Names (Optional)
4. ๐ฎโโ๏ธ Enable or Disable Admin Bypass
5. ๐๏ธ Configure Admin Roles
โ
Example Final Config
Last updated