Theme Config
Premium
Soft UI
Theme Config
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
Indicate if the premium card should be enabled
On this page