Theme Config
Premium
An Object which contains all the premium information.
theme: SoftUI({
premium: {
enabled: Boolean,
card: {
title: String,
description: String,
bgImage: String,
button: {
text: String,
url: String,
},
},
},
});
Example Usage
theme: SoftUI({
premium: {
enabled: true,
card: {
title: "Want more from Assistants?",
description: "Check out premium features below!",
bgImage:
"https://assistantscenter.com/wp-content/uploads/2021/11/cropped-cropped-logov6.png",
button: {
text: "Become Premium",
url: "https://patreon.com/sharkybot",
},
},
},
});
Props
enabled
boolean
requiredIndicate if the premium card should be enabled
card
Object
title
string
requiredThe title of the premium card
description
string
requiredThe description of the premium card
bgImage
string
requiredThe background image of the premium card
button
Object
requiredtext
string
requiredThe text of the button
url
string
requiredThe link of the button