Skip to content

Overrides for Brave Bot @ Development Guide:

Brave Bot's configuration file (config.yml) has Overrides. This allows you to control what features work and don't work. Like feature flags.

Available Overrides:

  1. Pro Override
  2. Topia Override
  3. Fork Override
  4. Logs Override
  5. ProButtons Override
  6. Pro Bonuses Override
  7. Applications Override
  8. ProRole Override
  9. Topia Gambling Commands Override
  10. Coins Every Message Override
  11. SMN Command Override (Set My Nick)
  12. GitLab Integration Override
  13. ProWelcome Override
  14. Pro GlobaLogs Override
  15. DevBlogs Override
  16. Setup Database Boot Mode Override
  17. Pro for Users Override
  18. Pro for Servers Override
  19. Sentry Integration Override
  20. Production Mode Override
  21. Tips Override
  22. ProButton Previews Override
  23. Topia Insights Override
  24. Topia VAT Override
  25. Pro No VAT Added Override
  26. Profile Suspensions Override
  27. Public Bot Override
  28. Pay To Play Fee Override
  29. Nuke Command Restrictions Override
  30. Super Topia Override
  31. Topia Adversary Override
  32. Scenic Loading Image System Override
  33. Banned Nicknames Override
  34. Non-Pro User Steal Limit Override
  35. Guardian System Override
  36. Topia Server Profile Override
  37. Custom Tips Override
  38. Pro Embed Themes Override
  39. Feedback System Override
  40. Pro Bot Server Profile Customization Override

Feature Requirements:

When it mentions an override it must be enabled (set to true). When it mentions a field it must be filled (lists must have at least one valid item inside).

A feature requires it's own override to be enabled (set to true) and all dependent override checks to pass (if there is any dependent overrides).

ProButtons:

  1. ProButtons Override
  2. Pro Override

GlobaLogs:

  1. Logs Override
  2. Logs Channel ID

Pro GlobaLogs:

  1. Logs Override
  2. Pro GlobaLogs Override

Pro Role:

  1. Pro Override
  2. Pro Role ID
  3. Pro Role Override

Topia System:

For the Topia System to work the following must be fulfilled:

  1. Topia Override
  2. Setup Database Boot Mode Override (ONLY ON FIRST BOOT)

Topia Profile Suspensions:

  1. Topia Suspensions Override
  2. Suspended Users

Nuke Command Restrictions:

  1. Nuke Command Restrictions Override
  2. No Nuke Command Servers

Topia Adversaries:

  1. Topia Adversary Override
  2. Topia Override
  3. Topia Adversaries

Scenic Loading Image System:

  1. Scenic Loading Image System Override
  2. Scenic Loading Images

Non-Pro User Steal Limit:

  1. Non-Pro User Steal Limit Override
  2. Pro for Users Override

Guardian System:

  1. Guardian System Override
  2. Guardians

Topia Server Profiles:

  1. Topia Server Profile Override
  2. Topia Override

Custom Tips:

  1. Tips Override
  2. Custom Tips Override
  3. Custom Tips

Pro Embed Themes:

  1. Pro Override
  2. Pro Embed Themes Override

Feedback System:

  1. Feedback System Override
  2. Logs Override

Pro Bot Customization:

  1. Pro Bot Server Profile Customization Override
  2. Pro for Servers Override

Override Notes:

Public Bot Override:

If the Public Bot Override is enabled (set to true) the Bot's Invite link will be available for users.

Production Mode Override:

If the Production Mode Override is disabled then the code will load Testing_Token instead of Token.

Forked Mode Override:

If the Forked Mode Override is enabled (set true) /help will display a footer telling the user that the bot they are using it is a fork of Brave Bot.

Topia Override:

  • If the Topia Override is disabled, a large selection of Brave Bot's Commands will be useless and will not work (they will simply return an ephemeral error message).
  • Many of Brave Bot's Topia Commands also have Pro Perk so if the Pro Override is disabled those perks will not be available to anyone.

Pro Override:

  • If there is IDs (list-items) in either the Pro Users and Pro Servers lists then the override will be set to true.
  • If there is no IDs in one list but the other list has IDs. The override will be set to true.
  • If there is no IDs in both lists then the override will be set to false.
  • Even if there is IDs in the both or one list, you can still disable the Pro system with the Pro Override. You can also manually disable the Pro for Users Override and Pro for Servers Override in your config.yml. Please note if you enable all 3 overrides but there is no IDs in both lists the overrides will be set to disabled/off.