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:¶
- Pro Override
- Topia Override
- Fork Override
- Logs Override
- ProButtons Override
- Pro Bonuses Override
- Applications Override
- ProRole Override
- Topia Gambling Commands Override
- Coins Every Message Override
- SMN Command Override (Set My Nick)
- GitLab Integration Override
- ProWelcome Override
- Pro GlobaLogs Override
- DevBlogs Override
- Setup Database Boot Mode Override
- Pro for Users Override
- Pro for Servers Override
- Sentry Integration Override
- Production Mode Override
- Tips Override
- ProButton Previews Override
- Topia Insights Override
- Topia VAT Override
- Pro No VAT Added Override
- Profile Suspensions Override
- Public Bot Override
- Pay To Play Fee Override
- Nuke Command Restrictions Override
- Super Topia Override
- Topia Adversary Override
- Scenic Loading Image System Override
- Banned Nicknames Override
- Non-Pro User Steal Limit Override
- Guardian System Override
- Topia Server Profile Override
- Custom Tips Override
- Pro Embed Themes Override
- Feedback System Override
- 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:¶
ProButtons OverridePro Override
GlobaLogs:¶
Logs OverrideLogs Channel ID
Pro GlobaLogs:¶
Logs OverridePro GlobaLogs Override
Pro Role:¶
Pro OverridePro Role IDPro Role Override
Topia System:¶
For the Topia System to work the following must be fulfilled:
Topia OverrideSetup Database Boot Mode Override(ONLY ON FIRST BOOT)
Topia Profile Suspensions:¶
Topia Suspensions OverrideSuspended Users
Nuke Command Restrictions:¶
Nuke Command Restrictions OverrideNo Nuke Command Servers
Topia Adversaries:¶
Topia Adversary OverrideTopia OverrideTopia Adversaries
Scenic Loading Image System:¶
Scenic Loading Image System OverrideScenic Loading Images
Non-Pro User Steal Limit:¶
Non-Pro User Steal Limit OverridePro for Users Override
Guardian System:¶
Guardian System OverrideGuardians
Topia Server Profiles:¶
Topia Server Profile OverrideTopia Override
Custom Tips:¶
Tips OverrideCustom Tips OverrideCustom Tips
Pro Embed Themes:¶
Pro OverridePro Embed Themes Override
Feedback System:¶
Feedback System OverrideLogs Override
Pro Bot Customization:¶
Pro Bot Server Profile Customization OverridePro 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 Overrideis 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 Overrideis disabled those perks will not be available to anyone.
Pro Override:¶
- If there is IDs (list-items) in either the
Pro UsersandPro Serverslists then the override will be set totrue. - 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 thePro for Users OverrideandPro for Servers Overridein yourconfig.yml. Please note if you enable all3overrides but there is no IDs in both lists the overrides will be set to disabled/off.