mysql-bot

Discord bot with SQL feature can access the FiveM database esx or qb framework and more.

AGPL-3.0 License

Stars
1
Committers
1

Instructions

Open Discord Developer Portal

  • Create New Application or Select Existing Application

  • Run npm install to install all dependencies

  • Open config.json update the values

Starting the bot

Run node index.js to start the bot

Note

  • if any of the command is missing then use node deploy-commands.js in your terminal

Framework

  • ESX
  • QB (you can change the query)

Features

  • Bot Echo Command with direct message "/say"

  • Discord bot avatar change to animated logo "avataranim"

  • Get player informations with identifier "/getuser"

  • Check phone number exist in database (GKSPHONE) "/checkphonenumber"

  • Get the list of vehicle owned by a player with identifier "/ownedvehicles"

  • Change a player identifier in database "/setcharid"

  • Change player name with identifier, Firstname & Lastname "setname"

  • Change a player phone number with default number , (GKSPHONE) "/setphoneno"

  • You can view the full tables in your database "/showdb"

  • TODO

  • Will Update soon.

Authors

License

This project is licensed under the GNU AGPLv3 License - see the LICENSE.md file for details , for plain english you can check out tldrlegal.

If you fork/download the code and run your own bot instance WITHOUT changing the code then you don't have to worry regarding the license as all is already implemented in the bot functionality (commands that link to this readme, state authors etc..)

But if you fork/download/host this bot and you CHANGED any of the code you must hold to this:

  • Include copyright (see Authors)
    • You cannot claim this code as yours.
  • Include the same license (see LICENSE.md)
  • State changes
    • any changes to the source code must be disclosed (public).
  • Disclose source
    • you cannot take the code and make it private.
  • Include install instructions
    • You can link to this readme or to your own instructions.

Only and only if you adhere to all the above points you can:

  • Use the bot for commercial use
  • Modify the source
  • Distribute the bot
  • Place Warranty
Related Projects