preset_name (text): required
The name of the preset you want to modify.
role (role): required
The role you want to add to the preset.
claim_time (time): required
The claim time assigned to this role.
entries (number): defaults to 0
The number of extra entries this role grants.
claim_time_stack (bool): defaults to false
Whether claim time stacks with other roles.
entries_stack (bool): defaults to false
Whether entries stack with other roles.
Removing a role from a preset
Remove a role from an existing preset.
/preset remove-role <preset_name> <role>
preset_name (text): required
The name of the preset you want to modify.
role (role): required
The role you want to remove from the preset.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"baobun docs","description":"documentation for baobun","colors":{"primary":"#e57a9e","light":"#f7c0d0","dark":"#d44d76"},"logo":{"light":"https://www.baobun.dev/bot.png","dark":"https://www.baobun.dev/bot.png"},"favicon":"https://mintcdn.com/bao-bot/LwGazmrDaU6mTWye/favicon.ico?fit=max\u0026auto=format\u0026n=LwGazmrDaU6mTWye\u0026q=85\u0026s=fddb8f17ff098495f29b6db5b4dcbf6f","navbar":{"links":[{"href":"https://discord.gg/AXRShswtZ4","label":"Support Server"}]},"footer":{"socials":{"discord":"https://discord.gg/AXRShswtZ4","github":"https://github.com/bao-bun"}},"seo":{"metatags":{"theme-color":"#e3c2cd","og:site_name":"https://www.baobun.dev","canonical":"https://docs.baobun.dev"},"indexing":"all"},"styling":{"eyebrows":"breadcrumbs","latex":false},"integrations":{"ga4":{"measurementId":"G-ECT0R7C9NE"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bao-bot","hasAudioNarration":false,"actualSubdomain":"bao-bot","customDomains":["docs.baobun.dev"],"gitSource":{"type":"github","owner":"bao-bun","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae925cb93c0d64dfeafae7f:success","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"Modules","count":12},{"language":"default","tag":"Giveaway","count":4},{"language":"default","tag":"Resources","count":2},{"language":"default","tag":"Tutorials","count":2},{"language":"default","tag":"Overview","count":1},{"language":"default","tag":"Settings","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"img{border-radius:12px}img.w-auto.h-7.relative.object-contain{border-radius:100%;height:2.5rem}"}]}
{"page":{"pagePath":"modules/giveaway/preset","slug":"/modules/giveaway/preset","pageMetadata":{"title":"Preset","icon":"clock","description":"Create and manage presets for roles, claim times, and entries.","href":"/modules/giveaway/preset","hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create and manage presets for roles, claim times, and entries.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`\u003c>`}),` means an argument is required, `,_jsx(_components.code,{children:`[]`}),` means it’s optional`]})}),`\n`,_jsx(Heading,{level:`3`,id:`viewing-presets`,children:`Viewing presets`}),`\n`,_jsx(_components.p,{children:`View an existing preset.`}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`Syntax`,numberOfLines:`1`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`preset`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` view`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`preset_name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`preset_name`}),` (text): required `,_jsx(`br`,{}),`\nThe name of the preset you want to view.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`creating-a-preset`,children:`Creating a preset`}),`\n`,_jsx(_components.p,{children:`Create a new preset.`}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`Syntax`,numberOfLines:`1`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`preset`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` create`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`preset_name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`preset_name`}),` (text): required `,_jsx(`br`,{}),`\nThe name you want to give the new preset.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`removing-a-preset`,children:`Removing a preset`}),`\n`,_jsx(_components.p,{children:`Remove an existing preset.`}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`Syntax`,numberOfLines:`1`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`preset`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` remove`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`preset_name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`preset_name`}),` (text): required `,_jsx(`br`,{}),`\nThe name of the preset you want to delete.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`adding-a-role-to-a-preset`,children:`Adding a role to a preset`}),`\n`,_jsx(_components.p,{children:`Add a role configuration to an existing preset.`}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`Syntax`,numberOfLines:`1`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`preset`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` add`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`role`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`preset_name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`role`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`claim_time`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [entries] [claim_time_stack] [entries_stack]`})]}),`\n`]})})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`preset_name`}),` (text): required `,_jsx(`br`,{}),`\nThe name of the preset you want to modify.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),` (role): required `,_jsx(`br`,{}),`\nThe role you want to add to the preset.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`claim_time`}),` (time): required `,_jsx(`br`,{}),`\nThe claim time assigned to this role.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`entries`}),` (number): defaults to `,_jsx(_components.strong,{children:`0`}),` `,_jsx(`br`,{}),`\nThe number of extra entries this role grants.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`claim_time_stack`}),` (bool): defaults to `,_jsx(_components.strong,{children:`false`}),` `,_jsx(`br`,{}),`\nWhether claim time stacks with other roles.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`entries_stack`}),` (bool): defaults to `,_jsx(_components.strong,{children:`false`}),` `,_jsx(`br`,{}),`\nWhether entries stack with other roles.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`removing-a-role-from-a-preset`,children:`Removing a role from a preset`}),`\n`,_jsx(_components.p,{children:`Remove a role from an existing preset.`}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`Syntax`,numberOfLines:`1`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`preset`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` remove`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`role`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`preset_name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`role`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`preset_name`}),` (text): required `,_jsx(`br`,{}),`\nThe name of the preset you want to modify.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`role`}),` (role): required `,_jsx(`br`,{}),`\nThe role you want to remove from the preset.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Preset","icon":"clock","description":"Create and manage presets for roles, claim times, and entries.","href":"/modules/giveaway/preset","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Viewing presets","slug":"viewing-presets","depth":3,"children":[]},{"title":"Creating a preset","slug":"creating-a-preset","depth":3,"children":[]},{"title":"Removing a preset","slug":"removing-a-preset","depth":3,"children":[]},{"title":"Adding a role to a preset","slug":"adding-a-role-to-a-preset","depth":3,"children":[]},{"title":"Removing a role from a preset","slug":"removing-a-role-from-a-preset","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"bao-bot","siteName":"baobun docs","title":"Preset - baobun docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-27T20:34:33.193Z","originalFileLocation":"modules/giveaway/preset.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create and manage presets for roles, claim times, and entries.\">\u003cmeta data-mint-head name=\"application-name\" content=\"baobun docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bao-bot/_ePj7_xcVYkhVaFj/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/bao-bot/_ePj7_xcVYkhVaFj/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bao-bot/_ePj7_xcVYkhVaFj/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bao-bot/_ePj7_xcVYkhVaFj/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bao-bot/_ePj7_xcVYkhVaFj/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bao-bot/_ePj7_xcVYkhVaFj/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bao-bot/_ePj7_xcVYkhVaFj/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bao-bot/_ePj7_xcVYkhVaFj/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bao-bot/_ePj7_xcVYkhVaFj/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Preset - baobun docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create and manage presets for roles, claim times, and entries.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"https://www.baobun.dev\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.baobun.dev/modules/giveaway/preset\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bao-bot.mintlify.site/_mintlify/api/og/v2?division=Giveaway\u0026amp;title=Preset\u0026amp;description=Create+and+manage+presets+for+roles%2C+claim+times%2C+and+entries.\u0026amp;theme=fa2a6f2d4eb80e9ee90a34d2\u0026amp;signature=961798854954ab01323a34f31e714b167bafc5547256ab919174b884b2db105b\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Preset - baobun docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create and manage presets for roles, claim times, and entries.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bao-bot.mintlify.site/_mintlify/api/og/v2?division=Giveaway\u0026amp;title=Preset\u0026amp;description=Create+and+manage+presets+for+roles%2C+claim+times%2C+and+entries.\u0026amp;theme=fa2a6f2d4eb80e9ee90a34d2\u0026amp;signature=961798854954ab01323a34f31e714b167bafc5547256ab919174b884b2db105b\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/bao-bot/_ePj7_xcVYkhVaFj/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"baobun docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#e57a9e\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#e3c2cd\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.baobun.dev/modules/giveaway/preset\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/modules/giveaway/preset.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.baobun.dev/#organization\",\"name\":\"baobun docs\",\"url\":\"https://docs.baobun.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://www.baobun.dev/bot.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.baobun.dev#website\",\"name\":\"baobun docs\",\"url\":\"https://docs.baobun.dev\",\"publisher\":{\"@id\":\"https://docs.baobun.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.baobun.dev/modules/giveaway/preset#webpage\",\"url\":\"https://docs.baobun.dev/modules/giveaway/preset\",\"name\":\"Preset\",\"description\":\"Create and manage presets for roles, claim times, and entries.\",\"dateModified\":\"2026-01-27T20:34:33.193Z\",\"isPartOf\":{\"@id\":\"https://docs.baobun.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.baobun.dev/modules/giveaway/preset#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.baobun.dev/modules/giveaway/preset#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Modules\",\"item\":\"https://docs.baobun.dev/modules/giveaway/management\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Giveaway\",\"item\":\"https://docs.baobun.dev/modules/giveaway/management\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Preset\",\"item\":\"https://docs.baobun.dev/modules/giveaway/preset\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.baobun.dev/modules/giveaway/preset#article\",\"headline\":\"Preset\",\"name\":\"Preset\",\"description\":\"Create and manage presets for roles, claim times, and entries.\",\"url\":\"https://docs.baobun.dev/modules/giveaway/preset\",\"mainEntityOfPage\":{\"@id\":\"https://docs.baobun.dev/modules/giveaway/preset#webpage\"},\"dateModified\":\"2026-01-27T20:34:33.193Z\",\"publisher\":{\"@id\":\"https://docs.baobun.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.baobun.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"baobun docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"baobun docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/modules/giveaway/preset.md","siteName":"baobun docs","nav":{"global":null,"groups":[{"group":"Overview","pages":[{"title":"Introduction","icon":"book","href":"/overview/introduction"}]},{"group":"Modules","pages":[{"group":"Giveaway","icon":"party-horn","pages":[{"title":"Management","icon":"gift","href":"/modules/giveaway/management"},{"title":"Configuration","icon":"gear","description":"This page shows you how to configure your giveaways.","href":"/modules/giveaway/configuration"},{"title":"Preset","icon":"clock","href":"/modules/giveaway/preset"},{"title":"Template","icon":"file-lines","description":"Manage and reuse giveaway templates.","href":"/modules/giveaway/template"}]},{"title":"Customize","icon":"palette","href":"/modules/customize"},{"title":"Welcomer","icon":"at","href":"/modules/welcomer"},{"title":"Response","icon":"comment","href":"/modules/response"},{"title":"Reminders","icon":"bell","href":"/modules/reminder"},{"title":"Channel","icon":"th-list","href":"/modules/channel"},{"title":"Info","icon":"info-circle","href":"/modules/info"},{"title":"Emoji","icon":"laugh","href":"/modules/emoji"},{"title":"Purge","icon":"eraser","href":"/modules/purge"}]},{"group":"Tutorials","pages":[{"title":"Response","icon":"comment","href":"/tutorials/response"},{"title":"Welcomer","icon":"at","href":"/tutorials/welcomer"}]},{"group":"Resources","pages":[{"title":"Syntax","icon":"code","href":"/resources/syntax"},{"title":"Variables","icon":"square-root-variable","href":"/resources/variables"}]},{"group":"Settings","pages":[{"title":"Developer Mode","icon":"toggle-on","href":"/settings/dev_mode"}]}]},"basePath":"","title":"Preset - baobun docs","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":[],"chunks":[]}