blargbot has several configuration keys that you can use to customize your experience. You set these with the following command:
b!settings set <key> <value>
All settings keys are case insensitive.
Additionally, variables can be of three different types.
Variable Types
Variables can be strings
, ints
, and bools
.
strings
A string is just a set of letters.
ints
An int is simply an integer: a number without a decimal.
bools
A bool is just "true" or "false". You can also use 1 for true, and 0 for false.
Keys
-
Make Chatlogs bool
Key: MAKELOGS
Whether to record chat logs or not.
-
Is CAH NSFW bool
Key: CAHNSFW
Whether 'cah' can only be done in nsfw channels or not.
-
Delete Notifications bool
Key: DELETENOTIF
If enabled, notifies you if a user deleted their command.
-
Greeting Message string
Key: GREETING
What to say to new users when they join. You can also use the
greet
command -
Farewell Message string
Key: FAREWELL
What to say when a user leaves. You can also use the
farewell
command -
Modlog Channel string
Key: MODLOG
The id of the modlog channel. You can also use the
modlog
command -
Muted Role string
Key: MUTEDROLE
The id of the muted role.
-
Tableflips bool
Key: TABLEFLIP
Whether the bot should respond to tableflips/unflips.
-
Anti-Mention int
Key: ANTIMENTION
The number of unique mentions required to warrant a ban (for anti-mention spam). Set to '0' to disable. Recommended: 25
-
DM Help bool
Key: DMHELP
Whether or not to dm help messages or output them in channels
-
Permission Override bool
Key: PERMOVERRIDE
Whether or not specific permissions override role requirement
-
Staff Permissions int
Key: STAFFPERMS
The numeric value of permissions that designate a staff member. If a user has any of the permissions and permoverride is enabled, allows them to execute any command regardless of role. See here for a permission calculator.
-
Kick Override int
Key: KICKOVERRIDE
Same as staffperms, but allows users to use the kick command regardless of permissions
-
Ban Override int
Key: BANOVERRIDE
Same as staffperms, but allows users to use the ban/hackban/unban commands regardless of permissions
-
Ban At int
Key: BANAT
The number of warnings before a ban. Set to 0 or below to disable.
-
Kick At int
Key: KICKAT
The number of warnings before a kick. Set to 0 or below to disable.
-
Admin Role Name string
Key: ADMINROLE
The name of the Admin role.
-
No Cleverbot bool
Key: NOCLEVERBOT
Disables cleverbot functionality
-
Disable Everyone Pings bool
Key: DISABLEEVERYONE
Disables everyone pings in custom commands.
-
Disable No Perms bool
Key: DISABLENOPERMS
Disables the 'You need the role to use this command' message.
-
Enable Social Commands bool
Key: SOCIAL
Enables social commands.