Configuration

The config file is the only thing you can modify, this file includes everything like the logs, the price/time values and the list of jobs

Discord

circle-info

You can choose whether or not you want logs

Log = {
        DiscordLog = true, -- Discord logs ?
        Webhook = "", -- discord url
        BotName = "Weazel Compta", -- Bot name
        LogTitle = "Annonce", -- Title
        Color = 16711680, -- hex color
    },
Exemple

General

You can choose 2 types for ads:

  1. "Classic" represents pop-up

  2. “Phone” represents a phone notification

Cover

"Classic"

Cover

"Phone"

triangle-exclamation
circle-info

Concerning "SocietyAccount" it is the job which earns money for each ad, to give the example the weazel news will be the company which will earn the money therefore "society_weazel"

Timer

circle-info

These are the options available when opening the menu, "value" represents the time in milliseconds "label" the description "price" the price withdrawn from the bank account

Society

For any company present on the server you must put it in the config

circle-exclamation
  1. "name" is the name displayed

  2. "logo" is the logo in .png format (src/img/jobname.png) and named "jobname" in lowercase

  3. "url" is required if you use the phone as a means of notification

  4. "icon" it's an icon available on fontawesome (free)

  5. "color" is the color of the icon

Locales

triangle-exclamation

Last updated