Skip to content

Configuration

Conmmander edited this page Jun 24, 2020 · 2 revisions

This is written to help users understand the config.json file.

The default location of this file is in ./settings/config.json

"prefix":

A string value that will allow you to interface with your bot. Should take a form of "experience". Can be as short or as long as you want.

"owner_id":

A value that denotes you as the bot owner. Can be changed if you'd like. To fetch your ID, simply send a message and right click your username. Then select "copy ID", and you'll be able to paste your ID. This requires that you have discord development mode turned on.

"bot_token":

This is the discord token that allows your discord bot to log in. You can find the token for your application here: https://discord.com/developers/applications

"rblx_cookie":

If you wish for your bot to perform promotions, you must provide a cookie. A cookie can be obtained in a variety of ways, but if you are using google chrome, here is a method for obtaining a cookie:

  1. Open any Roblox page and login
  2. Press Control + Shift + i on your keyboard
  3. Click Application
  4. Find .ROBLOSECURITY. Copy it's contents, which will start with _|WARNING:-DO
  5. Put this full token, including the warning into the string set for "rblx_cookie":

"firebase_url":

This can be obtained from your firebase. See details on how to obtain it here: https://github.com/nishi7409/Auxiliary/wiki

"officer_role":

Users in the discord with this role will be able to run basic commands on the bot, such as giving experience. They cannot run blacklist commands.

"high_command_role":

Users with this role will be able to set experience, as well as manipulate blacklisted users.

"experience_name":

What you will call your experience.

"max_experiencePoints":

This is how much experience the officer_role can give to people. If they try to give more than this alloted amount, it will not work. Prevents abuse of the bot.

"demoteUsers": (DEV ACTIVE)

If set to true, it will demote users if they lose experience. If set to false, it will maintain a users current rank, even if they at a point do not posess enough experience to be there. Recommended to keep at false.