diff --git a/404.html b/404.html index 9d8131d48..6f23a2737 100644 --- a/404.html +++ b/404.html @@ -11,7 +11,7 @@ - +
diff --git a/assets/js/083c37a9.2616149c.js b/assets/js/083c37a9.2616149c.js new file mode 100644 index 000000000..8ac6eee05 --- /dev/null +++ b/assets/js/083c37a9.2616149c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[2845],{2653:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>c,contentTitle:()=>i,default:()=>x,frontMatter:()=>l,metadata:()=>d,toc:()=>h});var t=s(4848),r=s(8453);const l={id:"Presence",title:"Namespace: Presence",sidebar_label:"Presence",sidebar_position:0,custom_edit_url:null},i=void 0,d={id:"api/namespaces/Presence",title:"Namespace: Presence",description:"Interfaces",source:"@site/docs/api/namespaces/Presence.md",sourceDirName:"api/namespaces",slug:"/api/namespaces/Presence",permalink:"/docs/api/namespaces/Presence",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"Presence",title:"Namespace: Presence",sidebar_label:"Presence",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"CommandError",permalink:"/docs/api/namespaces/CommandError"},next:{title:"Sern",permalink:"/docs/api/namespaces/Sern"}},c={},h=[{value:"Interfaces",id:"interfaces",level:2},{value:"Type Aliases",id:"type-aliases",level:2},{value:"Config",id:"config",level:3},{value:"Type parameters",id:"type-parameters",level:4},{value:"Type declaration",id:"type-declaration",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"Functions",id:"functions",level:2},{value:"module",id:"module",level:3},{value:"Type parameters",id:"type-parameters-1",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"of",id:"of",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Defined in",id:"defined-in-2",level:4}];function a(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h2,{id:"interfaces",children:"Interfaces"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.a,{href:"/docs/api/interfaces/Presence.Result",children:"Result"})}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"type-aliases",children:"Type Aliases"}),"\n",(0,t.jsx)(n.h3,{id:"config",children:"Config"}),"\n",(0,t.jsxs)(n.p,{children:["\u01ac ",(0,t.jsx)(n.strong,{children:"Config"}),"<",(0,t.jsx)(n.code,{children:"T"}),">: ",(0,t.jsx)(n.code,{children:"Object"})]}),"\n",(0,t.jsx)(n.h4,{id:"type-parameters",children:"Type parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(n.tbody,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"T"})}),(0,t.jsxs)(n.td,{style:{textAlign:"left"},children:["extends keyof ",(0,t.jsx)(n.code,{children:"Dependencies"}),"[]"]})]})})]}),"\n",(0,t.jsx)(n.h4,{id:"type-declaration",children:"Type declaration"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsxs)(n.tbody,{children:[(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"execute"})}),(0,t.jsxs)(n.td,{style:{textAlign:"left"},children:["(...",(0,t.jsx)(n.code,{children:"v"}),": ",(0,t.jsx)(n.code,{children:"IntoDependencies"}),"<",(0,t.jsx)(n.code,{children:"T"}),">) => ",(0,t.jsx)(n.a,{href:"/docs/api/interfaces/Presence.Result",children:(0,t.jsx)(n.code,{children:"Result"})})]})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"inject?"})}),(0,t.jsx)(n.td,{style:{textAlign:"left"},children:"[...T]"})]})]})]}),"\n",(0,t.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/presences.ts#L17",children:"src/core/presences.ts:17"})}),"\n",(0,t.jsx)(n.h2,{id:"functions",children:"Functions"}),"\n",(0,t.jsx)(n.h3,{id:"module",children:"module"}),"\n",(0,t.jsxs)(n.p,{children:["\u25b8 ",(0,t.jsx)(n.strong,{children:"module"}),"<",(0,t.jsx)(n.code,{children:"T"}),">(",(0,t.jsx)(n.code,{children:"conf"}),"): ",(0,t.jsx)(n.a,{href:"/docs/api/namespaces/Presence#config",children:(0,t.jsx)(n.code,{children:"Config"})}),"<",(0,t.jsx)(n.code,{children:"T"}),">"]}),"\n",(0,t.jsxs)(n.p,{children:["A small wrapper to provide type inference.\nCreate a Presence module which ",(0,t.jsx)(n.strong,{children:"MUST"})," be put in a file called presence.(language-extension)\nadjacent to the file where ",(0,t.jsx)(n.strong,{children:"Sern.init"})," is CALLED."]}),"\n",(0,t.jsx)(n.h4,{id:"type-parameters-1",children:"Type parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(n.tbody,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"T"})}),(0,t.jsxs)(n.td,{style:{textAlign:"left"},children:["extends keyof ",(0,t.jsx)(n.code,{children:"Dependencies"}),"[]"]})]})})]}),"\n",(0,t.jsx)(n.h4,{id:"parameters",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(n.tbody,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"conf"})}),(0,t.jsxs)(n.td,{style:{textAlign:"left"},children:[(0,t.jsx)(n.a,{href:"/docs/api/namespaces/Presence#config",children:(0,t.jsx)(n.code,{children:"Config"})}),"<",(0,t.jsx)(n.code,{children:"T"}),">"]})]})})]}),"\n",(0,t.jsx)(n.h4,{id:"returns",children:"Returns"}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.a,{href:"/docs/api/namespaces/Presence#config",children:(0,t.jsx)(n.code,{children:"Config"})}),"<",(0,t.jsx)(n.code,{children:"T"}),">"]}),"\n",(0,t.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/presences.ts#L28",children:"src/core/presences.ts:28"})}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h3,{id:"of",children:"of"}),"\n",(0,t.jsxs)(n.p,{children:["\u25b8 ",(0,t.jsx)(n.strong,{children:"of"}),"(",(0,t.jsx)(n.code,{children:"root"}),"): ",(0,t.jsx)(n.code,{children:"Object"})]}),"\n",(0,t.jsx)(n.p,{children:"Create a Presence body which can be either:"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:"once, the presence is activated only once."}),"\n",(0,t.jsx)(n.li,{children:"repeated, per cycle or event, the presence can be changed."}),"\n"]}),"\n",(0,t.jsx)(n.h4,{id:"parameters-1",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(n.tbody,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"root"})}),(0,t.jsxs)(n.td,{style:{textAlign:"left"},children:[(0,t.jsx)(n.code,{children:"Omit"}),"<",(0,t.jsx)(n.a,{href:"/docs/api/interfaces/Presence.Result",children:(0,t.jsx)(n.code,{children:"Result"})}),", ",(0,t.jsx)(n.code,{children:'"repeat"'})," | ",(0,t.jsx)(n.code,{children:'"onRepeat"'}),">"]})]})})]}),"\n",(0,t.jsx)(n.h4,{id:"returns-1",children:"Returns"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"Object"})}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Type"}),(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,t.jsxs)(n.tbody,{children:[(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"once"})}),(0,t.jsxs)(n.td,{style:{textAlign:"left"},children:["() => ",(0,t.jsx)(n.code,{children:"Omit"}),"<",(0,t.jsx)(n.a,{href:"/docs/api/interfaces/Presence.Result",children:(0,t.jsx)(n.code,{children:"Result"})}),", ",(0,t.jsx)(n.code,{children:'"repeat"'})," | ",(0,t.jsx)(n.code,{children:'"onRepeat"'}),">"]}),(0,t.jsx)(n.td,{style:{textAlign:"left"},children:"-"})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"repeated"})}),(0,t.jsxs)(n.td,{style:{textAlign:"left"},children:["(",(0,t.jsx)(n.code,{children:"onRepeat"}),": ",(0,t.jsx)(n.code,{children:"PresenceReduce"}),", ",(0,t.jsx)(n.code,{children:"repeat"}),": ",(0,t.jsx)(n.code,{children:"number"})," | [",(0,t.jsx)(n.a,{href:"/docs/api/interfaces/Emitter",children:(0,t.jsx)(n.code,{children:"Emitter"})}),", ",(0,t.jsx)(n.code,{children:"string"}),"]) => { ",(0,t.jsx)(n.code,{children:"activities?"}),": ",(0,t.jsx)(n.code,{children:"ActivitiesOptions"}),"[] ; ",(0,t.jsx)(n.code,{children:"afk?"}),": ",(0,t.jsx)(n.code,{children:"boolean"})," ; ",(0,t.jsx)(n.code,{children:"onRepeat"}),": ",(0,t.jsx)(n.code,{children:"PresenceReduce"})," ; ",(0,t.jsx)(n.code,{children:"repeat"}),": ",(0,t.jsx)(n.code,{children:"number"})," | [",(0,t.jsx)(n.a,{href:"/docs/api/interfaces/Emitter",children:(0,t.jsx)(n.code,{children:"Emitter"})}),", ",(0,t.jsx)(n.code,{children:"string"}),"] ; ",(0,t.jsx)(n.code,{children:"shardId?"}),": ",(0,t.jsx)(n.code,{children:"number"}),"[] ; ",(0,t.jsx)(n.code,{children:"status?"}),": ",(0,t.jsx)(n.code,{children:"Status"})," }"]}),(0,t.jsx)(n.td,{style:{textAlign:"left"},children:"-"})]})]})]}),"\n",(0,t.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/presences.ts#L37",children:"src/core/presences.ts:37"})})]})}function x(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},8453:(e,n,s)=>{s.d(n,{R:()=>i,x:()=>d});var t=s(6540);const r={},l=t.createContext(r);function i(e){const n=t.useContext(l);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),t.createElement(l.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/083c37a9.86bfbeff.js b/assets/js/083c37a9.86bfbeff.js deleted file mode 100644 index 4768ea9b8..000000000 --- a/assets/js/083c37a9.86bfbeff.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[2845],{2653:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>c,contentTitle:()=>i,default:()=>o,frontMatter:()=>l,metadata:()=>d,toc:()=>h});var t=s(4848),r=s(8453);const l={id:"Presence",title:"Namespace: Presence",sidebar_label:"Presence",sidebar_position:0,custom_edit_url:null},i=void 0,d={id:"api/namespaces/Presence",title:"Namespace: Presence",description:"Interfaces",source:"@site/docs/api/namespaces/Presence.md",sourceDirName:"api/namespaces",slug:"/api/namespaces/Presence",permalink:"/docs/api/namespaces/Presence",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"Presence",title:"Namespace: Presence",sidebar_label:"Presence",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"CommandError",permalink:"/docs/api/namespaces/CommandError"},next:{title:"Sern",permalink:"/docs/api/namespaces/Sern"}},c={},h=[{value:"Interfaces",id:"interfaces",level:2},{value:"Type Aliases",id:"type-aliases",level:2},{value:"Config",id:"config",level:3},{value:"Type parameters",id:"type-parameters",level:4},{value:"Type declaration",id:"type-declaration",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"Functions",id:"functions",level:2},{value:"module",id:"module",level:3},{value:"Type parameters",id:"type-parameters-1",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"of",id:"of",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Defined in",id:"defined-in-2",level:4}];function a(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h2,{id:"interfaces",children:"Interfaces"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.a,{href:"/docs/api/interfaces/Presence.Result",children:"Result"})}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"type-aliases",children:"Type Aliases"}),"\n",(0,t.jsx)(n.h3,{id:"config",children:"Config"}),"\n",(0,t.jsxs)(n.p,{children:["\u01ac ",(0,t.jsx)(n.strong,{children:"Config"}),"<",(0,t.jsx)(n.code,{children:"T"}),">: ",(0,t.jsx)(n.code,{children:"Object"})]}),"\n",(0,t.jsx)(n.h4,{id:"type-parameters",children:"Type parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(n.tbody,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"T"})}),(0,t.jsxs)(n.td,{style:{textAlign:"left"},children:["extends keyof ",(0,t.jsx)(n.code,{children:"Dependencies"}),"[]"]})]})})]}),"\n",(0,t.jsx)(n.h4,{id:"type-declaration",children:"Type declaration"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsxs)(n.tbody,{children:[(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"execute"})}),(0,t.jsxs)(n.td,{style:{textAlign:"left"},children:["(...",(0,t.jsx)(n.code,{children:"v"}),": ",(0,t.jsx)(n.code,{children:"IntoDependencies"}),"<",(0,t.jsx)(n.code,{children:"T"}),">) => ",(0,t.jsx)(n.a,{href:"/docs/api/interfaces/Presence.Result",children:(0,t.jsx)(n.code,{children:"Result"})})]})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"inject?"})}),(0,t.jsx)(n.td,{style:{textAlign:"left"},children:"[...T]"})]})]})]}),"\n",(0,t.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/presences.ts#L17",children:"src/core/presences.ts:17"})}),"\n",(0,t.jsx)(n.h2,{id:"functions",children:"Functions"}),"\n",(0,t.jsx)(n.h3,{id:"module",children:"module"}),"\n",(0,t.jsxs)(n.p,{children:["\u25b8 ",(0,t.jsx)(n.strong,{children:"module"}),"<",(0,t.jsx)(n.code,{children:"T"}),">(",(0,t.jsx)(n.code,{children:"conf"}),"): ",(0,t.jsx)(n.a,{href:"/docs/api/namespaces/Presence#config",children:(0,t.jsx)(n.code,{children:"Config"})}),"<",(0,t.jsx)(n.code,{children:"T"}),">"]}),"\n",(0,t.jsxs)(n.p,{children:["A small wrapper to provide type inference.\nCreate a Presence module which ",(0,t.jsx)(n.strong,{children:"MUST"})," be put in a file called presence.(language-extension)\nadjacent to the file where ",(0,t.jsx)(n.strong,{children:"Sern.init"})," is CALLED."]}),"\n",(0,t.jsx)(n.h4,{id:"type-parameters-1",children:"Type parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(n.tbody,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"T"})}),(0,t.jsxs)(n.td,{style:{textAlign:"left"},children:["extends keyof ",(0,t.jsx)(n.code,{children:"Dependencies"}),"[]"]})]})})]}),"\n",(0,t.jsx)(n.h4,{id:"parameters",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(n.tbody,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"conf"})}),(0,t.jsxs)(n.td,{style:{textAlign:"left"},children:[(0,t.jsx)(n.a,{href:"/docs/api/namespaces/Presence#config",children:(0,t.jsx)(n.code,{children:"Config"})}),"<",(0,t.jsx)(n.code,{children:"T"}),">"]})]})})]}),"\n",(0,t.jsx)(n.h4,{id:"returns",children:"Returns"}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.a,{href:"/docs/api/namespaces/Presence#config",children:(0,t.jsx)(n.code,{children:"Config"})}),"<",(0,t.jsx)(n.code,{children:"T"}),">"]}),"\n",(0,t.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/presences.ts#L28",children:"src/core/presences.ts:28"})}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h3,{id:"of",children:"of"}),"\n",(0,t.jsxs)(n.p,{children:["\u25b8 ",(0,t.jsx)(n.strong,{children:"of"}),"(",(0,t.jsx)(n.code,{children:"root"}),"): ",(0,t.jsx)(n.code,{children:"Object"})]}),"\n",(0,t.jsx)(n.p,{children:"Create a Presence body which can be either:"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:"once, the presence is activated only once."}),"\n",(0,t.jsx)(n.li,{children:"repeated, per cycle or event, the presence can be changed."}),"\n"]}),"\n",(0,t.jsx)(n.h4,{id:"parameters-1",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(n.tbody,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"root"})}),(0,t.jsxs)(n.td,{style:{textAlign:"left"},children:[(0,t.jsx)(n.code,{children:"Omit"}),"<",(0,t.jsx)(n.a,{href:"/docs/api/interfaces/Presence.Result",children:(0,t.jsx)(n.code,{children:"Result"})}),", ",(0,t.jsx)(n.code,{children:'"repeat"'})," | ",(0,t.jsx)(n.code,{children:'"onRepeat"'}),">"]})]})})]}),"\n",(0,t.jsx)(n.h4,{id:"returns-1",children:"Returns"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"Object"})}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsxs)(n.tbody,{children:[(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"once"})}),(0,t.jsxs)(n.td,{style:{textAlign:"left"},children:["() => ",(0,t.jsx)(n.code,{children:"Omit"}),"<",(0,t.jsx)(n.a,{href:"/docs/api/interfaces/Presence.Result",children:(0,t.jsx)(n.code,{children:"Result"})}),", ",(0,t.jsx)(n.code,{children:'"repeat"'})," | ",(0,t.jsx)(n.code,{children:'"onRepeat"'}),">"]})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"repeated"})}),(0,t.jsxs)(n.td,{style:{textAlign:"left"},children:["(",(0,t.jsx)(n.code,{children:"onRepeat"}),": ",(0,t.jsx)(n.code,{children:"PresenceReduce"}),", ",(0,t.jsx)(n.code,{children:"repeat"}),": ",(0,t.jsx)(n.code,{children:"number"})," | [",(0,t.jsx)(n.a,{href:"/docs/api/interfaces/Emitter",children:(0,t.jsx)(n.code,{children:"Emitter"})}),", ",(0,t.jsx)(n.code,{children:"string"}),"]) => { ",(0,t.jsx)(n.code,{children:"activities?"}),": ",(0,t.jsx)(n.code,{children:"ActivitiesOptions"}),"[] ; ",(0,t.jsx)(n.code,{children:"afk?"}),": ",(0,t.jsx)(n.code,{children:"boolean"})," ; ",(0,t.jsx)(n.code,{children:"onRepeat"}),": ",(0,t.jsx)(n.code,{children:"PresenceReduce"})," ; ",(0,t.jsx)(n.code,{children:"repeat"}),": ",(0,t.jsx)(n.code,{children:"number"})," | [",(0,t.jsx)(n.a,{href:"/docs/api/interfaces/Emitter",children:(0,t.jsx)(n.code,{children:"Emitter"})}),", ",(0,t.jsx)(n.code,{children:"string"}),"] ; ",(0,t.jsx)(n.code,{children:"shardId?"}),": ",(0,t.jsx)(n.code,{children:"number"}),"[] ; ",(0,t.jsx)(n.code,{children:"status?"}),": ",(0,t.jsx)(n.code,{children:"Status"})," }"]})]})]})]}),"\n",(0,t.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/presences.ts#L37",children:"src/core/presences.ts:37"})})]})}function o(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},8453:(e,n,s)=>{s.d(n,{R:()=>i,x:()=>d});var t=s(6540);const r={},l=t.createContext(r);function i(e){const n=t.useContext(l);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),t.createElement(l.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1b0c702f.54a9c869.js b/assets/js/1b0c702f.54a9c869.js new file mode 100644 index 000000000..13ce876a6 --- /dev/null +++ b/assets/js/1b0c702f.54a9c869.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[9488],{6446:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>c,contentTitle:()=>d,default:()=>h,frontMatter:()=>l,metadata:()=>t,toc:()=>a});var i=r(4848),s=r(8453);const l={id:"DefaultLogging",title:"Class: DefaultLogging",sidebar_label:"DefaultLogging",sidebar_position:0,custom_edit_url:null},d=void 0,t={id:"api/classes/DefaultLogging",title:"Class: DefaultLogging",description:"Since",source:"@site/docs/api/classes/DefaultLogging.md",sourceDirName:"api/classes",slug:"/api/classes/DefaultLogging",permalink:"/docs/api/classes/DefaultLogging",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"DefaultLogging",title:"Class: DefaultLogging",sidebar_label:"DefaultLogging",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"DefaultErrorHandling",permalink:"/docs/api/classes/DefaultErrorHandling"},next:{title:"DefaultModuleManager",permalink:"/docs/api/classes/DefaultModuleManager"}},c={},a=[{value:"Implements",id:"implements",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Returns",id:"returns",level:4},{value:"Methods",id:"methods",level:2},{value:"date",id:"date",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"debug",id:"debug",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Implementation of",id:"implementation-of",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"error",id:"error",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Implementation of",id:"implementation-of-1",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"info",id:"info",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Implementation of",id:"implementation-of-2",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"warning",id:"warning",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Implementation of",id:"implementation-of-3",level:4},{value:"Defined in",id:"defined-in-4",level:4}];function o(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.p,{children:(0,i.jsx)(n.strong,{children:(0,i.jsx)(n.code,{children:"Since"})})}),"\n",(0,i.jsx)(n.p,{children:"2.0.0\nVersion 4.0.0 will internalize this api. Please refrain from using ModuleStore!"}),"\n",(0,i.jsx)(n.h2,{id:"implements",children:"Implements"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"/docs/api/interfaces/Logging",children:(0,i.jsx)(n.code,{children:"Logging"})})}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(n.h3,{id:"constructor",children:"constructor"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"new DefaultLogging"}),"(): ",(0,i.jsx)(n.a,{href:"/docs/api/classes/DefaultLogging",children:(0,i.jsx)(n.code,{children:"DefaultLogging"})})]}),"\n",(0,i.jsx)(n.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"/docs/api/classes/DefaultLogging",children:(0,i.jsx)(n.code,{children:"DefaultLogging"})})}),"\n",(0,i.jsx)(n.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(n.h3,{id:"date",children:"date"}),"\n",(0,i.jsxs)(n.p,{children:["\u25b8 ",(0,i.jsx)(n.strong,{children:"date"}),"(): ",(0,i.jsx)(n.code,{children:"Date"})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"Date"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/services/logger.ts#L9",children:"src/core/structures/services/logger.ts:9"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"debug",children:"debug"}),"\n",(0,i.jsxs)(n.p,{children:["\u25b8 ",(0,i.jsx)(n.strong,{children:"debug"}),"(",(0,i.jsx)(n.code,{children:"payload"}),"): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(n.tbody,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{style:{textAlign:"left"},children:(0,i.jsx)(n.code,{children:"payload"})}),(0,i.jsx)(n.td,{style:{textAlign:"left"},children:(0,i.jsx)(n.a,{href:"/docs/api/modules#logpayload",children:(0,i.jsx)(n.code,{children:"LogPayload"})})})]})})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/api/interfaces/Logging",children:"Logging"}),".",(0,i.jsx)(n.a,{href:"/docs/api/interfaces/Logging#debug",children:"debug"})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/services/logger.ts#L10",children:"src/core/structures/services/logger.ts:10"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"error",children:"error"}),"\n",(0,i.jsxs)(n.p,{children:["\u25b8 ",(0,i.jsx)(n.strong,{children:"error"}),"(",(0,i.jsx)(n.code,{children:"payload"}),"): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-1",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(n.tbody,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{style:{textAlign:"left"},children:(0,i.jsx)(n.code,{children:"payload"})}),(0,i.jsx)(n.td,{style:{textAlign:"left"},children:(0,i.jsx)(n.a,{href:"/docs/api/modules#logpayload",children:(0,i.jsx)(n.code,{children:"LogPayload"})})})]})})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-3",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-1",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/api/interfaces/Logging",children:"Logging"}),".",(0,i.jsx)(n.a,{href:"/docs/api/interfaces/Logging#error",children:"error"})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/services/logger.ts#L14",children:"src/core/structures/services/logger.ts:14"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"info",children:"info"}),"\n",(0,i.jsxs)(n.p,{children:["\u25b8 ",(0,i.jsx)(n.strong,{children:"info"}),"(",(0,i.jsx)(n.code,{children:"payload"}),"): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-2",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(n.tbody,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{style:{textAlign:"left"},children:(0,i.jsx)(n.code,{children:"payload"})}),(0,i.jsx)(n.td,{style:{textAlign:"left"},children:(0,i.jsx)(n.a,{href:"/docs/api/modules#logpayload",children:(0,i.jsx)(n.code,{children:"LogPayload"})})})]})})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-4",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-2",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/api/interfaces/Logging",children:"Logging"}),".",(0,i.jsx)(n.a,{href:"/docs/api/interfaces/Logging#info",children:"info"})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/services/logger.ts#L18",children:"src/core/structures/services/logger.ts:18"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"warning",children:"warning"}),"\n",(0,i.jsxs)(n.p,{children:["\u25b8 ",(0,i.jsx)(n.strong,{children:"warning"}),"(",(0,i.jsx)(n.code,{children:"payload"}),"): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-3",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(n.tbody,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{style:{textAlign:"left"},children:(0,i.jsx)(n.code,{children:"payload"})}),(0,i.jsx)(n.td,{style:{textAlign:"left"},children:(0,i.jsx)(n.a,{href:"/docs/api/modules#logpayload",children:(0,i.jsx)(n.code,{children:"LogPayload"})})})]})})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-5",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-3",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/api/interfaces/Logging",children:"Logging"}),".",(0,i.jsx)(n.a,{href:"/docs/api/interfaces/Logging#warning",children:"warning"})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/services/logger.ts#L22",children:"src/core/structures/services/logger.ts:22"})})]})}function h(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},8453:(e,n,r)=>{r.d(n,{R:()=>d,x:()=>t});var i=r(6540);const s={},l=i.createContext(s);function d(e){const n=i.useContext(l);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function t(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:d(e.components),i.createElement(l.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1b0c702f.9d246b30.js b/assets/js/1b0c702f.9d246b30.js deleted file mode 100644 index f1daa356a..000000000 --- a/assets/js/1b0c702f.9d246b30.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[9488],{6446:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>c,contentTitle:()=>d,default:()=>h,frontMatter:()=>l,metadata:()=>t,toc:()=>o});var i=r(4848),s=r(8453);const l={id:"DefaultLogging",title:"Class: DefaultLogging",sidebar_label:"DefaultLogging",sidebar_position:0,custom_edit_url:null},d=void 0,t={id:"api/classes/DefaultLogging",title:"Class: DefaultLogging",description:"Since",source:"@site/docs/api/classes/DefaultLogging.md",sourceDirName:"api/classes",slug:"/api/classes/DefaultLogging",permalink:"/docs/api/classes/DefaultLogging",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"DefaultLogging",title:"Class: DefaultLogging",sidebar_label:"DefaultLogging",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"DefaultErrorHandling",permalink:"/docs/api/classes/DefaultErrorHandling"},next:{title:"DefaultModuleManager",permalink:"/docs/api/classes/DefaultModuleManager"}},c={},o=[{value:"Implements",id:"implements",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Returns",id:"returns",level:4},{value:"Methods",id:"methods",level:2},{value:"date",id:"date",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"debug",id:"debug",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Implementation of",id:"implementation-of",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"error",id:"error",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Implementation of",id:"implementation-of-1",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"info",id:"info",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Implementation of",id:"implementation-of-2",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"warning",id:"warning",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Implementation of",id:"implementation-of-3",level:4},{value:"Defined in",id:"defined-in-4",level:4}];function a(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.p,{children:(0,i.jsx)(n.strong,{children:(0,i.jsx)(n.code,{children:"Since"})})}),"\n",(0,i.jsx)(n.p,{children:"2.0.0\nVersion 4.0.0 will internalize this api. Please refrain from using ModuleStore!"}),"\n",(0,i.jsx)(n.h2,{id:"implements",children:"Implements"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"/docs/api/interfaces/Logging",children:(0,i.jsx)(n.code,{children:"Logging"})})}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(n.h3,{id:"constructor",children:"constructor"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"new DefaultLogging"}),"(): ",(0,i.jsx)(n.a,{href:"/docs/api/classes/DefaultLogging",children:(0,i.jsx)(n.code,{children:"DefaultLogging"})})]}),"\n",(0,i.jsx)(n.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"/docs/api/classes/DefaultLogging",children:(0,i.jsx)(n.code,{children:"DefaultLogging"})})}),"\n",(0,i.jsx)(n.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(n.h3,{id:"date",children:"date"}),"\n",(0,i.jsxs)(n.p,{children:["\u25b8 ",(0,i.jsx)(n.strong,{children:"date"}),"(): ",(0,i.jsx)(n.code,{children:"Date"})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"Date"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/logger.ts#L9",children:"src/core/structures/services/logger.ts:9"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"debug",children:"debug"}),"\n",(0,i.jsxs)(n.p,{children:["\u25b8 ",(0,i.jsx)(n.strong,{children:"debug"}),"(",(0,i.jsx)(n.code,{children:"payload"}),"): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(n.tbody,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{style:{textAlign:"left"},children:(0,i.jsx)(n.code,{children:"payload"})}),(0,i.jsx)(n.td,{style:{textAlign:"left"},children:(0,i.jsx)(n.a,{href:"/docs/api/modules#logpayload",children:(0,i.jsx)(n.code,{children:"LogPayload"})})})]})})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/api/interfaces/Logging",children:"Logging"}),".",(0,i.jsx)(n.a,{href:"/docs/api/interfaces/Logging#debug",children:"debug"})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/logger.ts#L10",children:"src/core/structures/services/logger.ts:10"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"error",children:"error"}),"\n",(0,i.jsxs)(n.p,{children:["\u25b8 ",(0,i.jsx)(n.strong,{children:"error"}),"(",(0,i.jsx)(n.code,{children:"payload"}),"): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-1",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(n.tbody,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{style:{textAlign:"left"},children:(0,i.jsx)(n.code,{children:"payload"})}),(0,i.jsx)(n.td,{style:{textAlign:"left"},children:(0,i.jsx)(n.a,{href:"/docs/api/modules#logpayload",children:(0,i.jsx)(n.code,{children:"LogPayload"})})})]})})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-3",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-1",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/api/interfaces/Logging",children:"Logging"}),".",(0,i.jsx)(n.a,{href:"/docs/api/interfaces/Logging#error",children:"error"})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/logger.ts#L14",children:"src/core/structures/services/logger.ts:14"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"info",children:"info"}),"\n",(0,i.jsxs)(n.p,{children:["\u25b8 ",(0,i.jsx)(n.strong,{children:"info"}),"(",(0,i.jsx)(n.code,{children:"payload"}),"): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-2",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(n.tbody,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{style:{textAlign:"left"},children:(0,i.jsx)(n.code,{children:"payload"})}),(0,i.jsx)(n.td,{style:{textAlign:"left"},children:(0,i.jsx)(n.a,{href:"/docs/api/modules#logpayload",children:(0,i.jsx)(n.code,{children:"LogPayload"})})})]})})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-4",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-2",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/api/interfaces/Logging",children:"Logging"}),".",(0,i.jsx)(n.a,{href:"/docs/api/interfaces/Logging#info",children:"info"})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/logger.ts#L18",children:"src/core/structures/services/logger.ts:18"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"warning",children:"warning"}),"\n",(0,i.jsxs)(n.p,{children:["\u25b8 ",(0,i.jsx)(n.strong,{children:"warning"}),"(",(0,i.jsx)(n.code,{children:"payload"}),"): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-3",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(n.tbody,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{style:{textAlign:"left"},children:(0,i.jsx)(n.code,{children:"payload"})}),(0,i.jsx)(n.td,{style:{textAlign:"left"},children:(0,i.jsx)(n.a,{href:"/docs/api/modules#logpayload",children:(0,i.jsx)(n.code,{children:"LogPayload"})})})]})})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-5",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-3",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/api/interfaces/Logging",children:"Logging"}),".",(0,i.jsx)(n.a,{href:"/docs/api/interfaces/Logging#warning",children:"warning"})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/logger.ts#L22",children:"src/core/structures/services/logger.ts:22"})})]})}function h(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},8453:(e,n,r)=>{r.d(n,{R:()=>d,x:()=>t});var i=r(6540);const s={},l=i.createContext(s);function d(e){const n=i.useContext(l);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function t(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:d(e.components),i.createElement(l.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1c127a4d.21346482.js b/assets/js/1c127a4d.41c1b2bf.js similarity index 58% rename from assets/js/1c127a4d.21346482.js rename to assets/js/1c127a4d.41c1b2bf.js index 5b89a1587..6ee62065a 100644 --- a/assets/js/1c127a4d.21346482.js +++ b/assets/js/1c127a4d.41c1b2bf.js @@ -1 +1 @@ -"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[1054],{1253:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>c,contentTitle:()=>s,default:()=>h,frontMatter:()=>l,metadata:()=>d,toc:()=>a});var t=r(4848),i=r(8453);const l={id:"ErrorHandling",title:"Interface: ErrorHandling",sidebar_label:"ErrorHandling",sidebar_position:0,custom_edit_url:null},s=void 0,d={id:"api/interfaces/ErrorHandling",title:"Interface: ErrorHandling",description:"Since",source:"@site/docs/api/interfaces/ErrorHandling.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/ErrorHandling",permalink:"/docs/api/interfaces/ErrorHandling",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ErrorHandling",title:"Interface: ErrorHandling",sidebar_label:"ErrorHandling",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"Emitter",permalink:"/docs/api/interfaces/Emitter"},next:{title:"EventModuleDefs",permalink:"/docs/api/interfaces/EventModuleDefs"}},c={},a=[{value:"Implemented by",id:"implemented-by",level:2},{value:"Methods",id:"methods",level:2},{value:"crash",id:"crash",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"updateAlive",id:"updatealive",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Defined in",id:"defined-in-1",level:4}];function o(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:"Since"})})}),"\n",(0,t.jsx)(n.p,{children:"2.0.0"}),"\n",(0,t.jsx)(n.h2,{id:"implemented-by",children:"Implemented by"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.a,{href:"/docs/api/classes/DefaultErrorHandling",children:(0,t.jsx)(n.code,{children:"DefaultErrorHandling"})})}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"methods",children:"Methods"}),"\n",(0,t.jsx)(n.h3,{id:"crash",children:"crash"}),"\n",(0,t.jsxs)(n.p,{children:["\u25b8 ",(0,t.jsx)(n.strong,{children:"crash"}),"(",(0,t.jsx)(n.code,{children:"err"}),"): ",(0,t.jsx)(n.code,{children:"never"})]}),"\n",(0,t.jsx)(n.h4,{id:"parameters",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(n.tbody,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"err"})}),(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"Error"})})]})})]}),"\n",(0,t.jsx)(n.h4,{id:"returns",children:"Returns"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"never"})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:"Deprecated"})})}),"\n",(0,t.jsx)(n.p,{children:"Version 4 will remove this method"}),"\n",(0,t.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/error-handling.ts#L9",children:"src/core/contracts/error-handling.ts:9"})}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h3,{id:"updatealive",children:"updateAlive"}),"\n",(0,t.jsxs)(n.p,{children:["\u25b8 ",(0,t.jsx)(n.strong,{children:"updateAlive"}),"(",(0,t.jsx)(n.code,{children:"error"}),"): ",(0,t.jsx)(n.code,{children:"void"})]}),"\n",(0,t.jsx)(n.p,{children:"A function that is called on every throw."}),"\n",(0,t.jsx)(n.h4,{id:"parameters-1",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(n.tbody,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"error"})}),(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"Error"})})]})})]}),"\n",(0,t.jsx)(n.h4,{id:"returns-1",children:"Returns"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"void"})}),"\n",(0,t.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/contracts/error-handling.ts#L14",children:"src/core/contracts/error-handling.ts:14"})})]})}function h(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(o,{...e})}):o(e)}},8453:(e,n,r)=>{r.d(n,{R:()=>s,x:()=>d});var t=r(6540);const i={},l=t.createContext(i);function s(e){const n=t.useContext(l);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:s(e.components),t.createElement(l.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[1054],{1253:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>c,contentTitle:()=>d,default:()=>h,frontMatter:()=>l,metadata:()=>s,toc:()=>a});var t=r(4848),i=r(8453);const l={id:"ErrorHandling",title:"Interface: ErrorHandling",sidebar_label:"ErrorHandling",sidebar_position:0,custom_edit_url:null},d=void 0,s={id:"api/interfaces/ErrorHandling",title:"Interface: ErrorHandling",description:"Since",source:"@site/docs/api/interfaces/ErrorHandling.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/ErrorHandling",permalink:"/docs/api/interfaces/ErrorHandling",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ErrorHandling",title:"Interface: ErrorHandling",sidebar_label:"ErrorHandling",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"Emitter",permalink:"/docs/api/interfaces/Emitter"},next:{title:"EventModuleDefs",permalink:"/docs/api/interfaces/EventModuleDefs"}},c={},a=[{value:"Implemented by",id:"implemented-by",level:2},{value:"Methods",id:"methods",level:2},{value:"crash",id:"crash",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"updateAlive",id:"updatealive",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Defined in",id:"defined-in-1",level:4}];function o(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:"Since"})})}),"\n",(0,t.jsx)(n.p,{children:"2.0.0"}),"\n",(0,t.jsx)(n.h2,{id:"implemented-by",children:"Implemented by"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.a,{href:"/docs/api/classes/DefaultErrorHandling",children:(0,t.jsx)(n.code,{children:"DefaultErrorHandling"})})}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"methods",children:"Methods"}),"\n",(0,t.jsx)(n.h3,{id:"crash",children:"crash"}),"\n",(0,t.jsxs)(n.p,{children:["\u25b8 ",(0,t.jsx)(n.strong,{children:"crash"}),"(",(0,t.jsx)(n.code,{children:"err"}),"): ",(0,t.jsx)(n.code,{children:"never"})]}),"\n",(0,t.jsx)(n.h4,{id:"parameters",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(n.tbody,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"err"})}),(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"Error"})})]})})]}),"\n",(0,t.jsx)(n.h4,{id:"returns",children:"Returns"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"never"})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:"Deprecated"})})}),"\n",(0,t.jsx)(n.p,{children:"Version 4 will remove this method"}),"\n",(0,t.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/contracts/error-handling.ts#L9",children:"src/core/contracts/error-handling.ts:9"})}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h3,{id:"updatealive",children:"updateAlive"}),"\n",(0,t.jsxs)(n.p,{children:["\u25b8 ",(0,t.jsx)(n.strong,{children:"updateAlive"}),"(",(0,t.jsx)(n.code,{children:"error"}),"): ",(0,t.jsx)(n.code,{children:"void"})]}),"\n",(0,t.jsx)(n.p,{children:"A function that is called on every throw."}),"\n",(0,t.jsx)(n.h4,{id:"parameters-1",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(n.tbody,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"error"})}),(0,t.jsx)(n.td,{style:{textAlign:"left"},children:(0,t.jsx)(n.code,{children:"Error"})})]})})]}),"\n",(0,t.jsx)(n.h4,{id:"returns-1",children:"Returns"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"void"})}),"\n",(0,t.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/contracts/error-handling.ts#L14",children:"src/core/contracts/error-handling.ts:14"})})]})}function h(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(o,{...e})}):o(e)}},8453:(e,n,r)=>{r.d(n,{R:()=>d,x:()=>s});var t=r(6540);const i={},l=t.createContext(i);function d(e){const n=t.useContext(l);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function s(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:d(e.components),t.createElement(l.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/26f1f3a5.45e59cc6.js b/assets/js/26f1f3a5.45e59cc6.js new file mode 100644 index 000000000..c4871f27f --- /dev/null +++ b/assets/js/26f1f3a5.45e59cc6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[1863],{1938:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>l,contentTitle:()=>a,default:()=>u,frontMatter:()=>t,metadata:()=>d,toc:()=>c});var s=r(4848),i=r(8453);const t={id:"PayloadType",title:"Enumeration: PayloadType",sidebar_label:"PayloadType",sidebar_position:0,custom_edit_url:null},a=void 0,d={id:"api/enums/PayloadType",title:"Enumeration: PayloadType",description:"Enumeration Members",source:"@site/docs/api/enums/PayloadType.md",sourceDirName:"api/enums",slug:"/api/enums/PayloadType",permalink:"/docs/api/enums/PayloadType",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"PayloadType",title:"Enumeration: PayloadType",sidebar_label:"PayloadType",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"EventType",permalink:"/docs/api/enums/EventType"},next:{title:"PluginType",permalink:"/docs/api/enums/PluginType"}},l={},c=[{value:"Enumeration Members",id:"enumeration-members",level:2},{value:"Failure",id:"failure",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"Success",id:"success",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"Warning",id:"warning",level:3},{value:"Defined in",id:"defined-in-2",level:4}];function o(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h2,{id:"enumeration-members",children:"Enumeration Members"}),"\n",(0,s.jsx)(n.h3,{id:"failure",children:"Failure"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"Failure"})," = ",(0,s.jsx)(n.code,{children:'"failure"'})]}),"\n",(0,s.jsx)(n.p,{children:"The PayloadType for a SernEmitter failure event"}),"\n",(0,s.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L98",children:"src/core/structures/enums.ts:98"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"success",children:"Success"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"Success"})," = ",(0,s.jsx)(n.code,{children:'"success"'})]}),"\n",(0,s.jsx)(n.p,{children:"The PayloadType for a SernEmitter success event"}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L94",children:"src/core/structures/enums.ts:94"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"warning",children:"Warning"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"Warning"})," = ",(0,s.jsx)(n.code,{children:'"warning"'})]}),"\n",(0,s.jsx)(n.p,{children:"The PayloadType for a SernEmitter warning event"}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/core/structures/enums.ts#L102",children:"src/core/structures/enums.ts:102"})})]})}function u(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(o,{...e})}):o(e)}},8453:(e,n,r)=>{r.d(n,{R:()=>a,x:()=>d});var s=r(6540);const i={},t=s.createContext(i);function a(e){const n=s.useContext(t);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),s.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/26f1f3a5.f676ae71.js b/assets/js/26f1f3a5.f676ae71.js deleted file mode 100644 index 9c659ec5b..000000000 --- a/assets/js/26f1f3a5.f676ae71.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[1863],{1938:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>a,contentTitle:()=>d,default:()=>u,frontMatter:()=>t,metadata:()=>l,toc:()=>c});var s=r(4848),i=r(8453);const t={id:"PayloadType",title:"Enumeration: PayloadType",sidebar_label:"PayloadType",sidebar_position:0,custom_edit_url:null},d=void 0,l={id:"api/enums/PayloadType",title:"Enumeration: PayloadType",description:"Enumeration Members",source:"@site/docs/api/enums/PayloadType.md",sourceDirName:"api/enums",slug:"/api/enums/PayloadType",permalink:"/docs/api/enums/PayloadType",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"PayloadType",title:"Enumeration: PayloadType",sidebar_label:"PayloadType",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"EventType",permalink:"/docs/api/enums/EventType"},next:{title:"PluginType",permalink:"/docs/api/enums/PluginType"}},a={},c=[{value:"Enumeration Members",id:"enumeration-members",level:2},{value:"Failure",id:"failure",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"Success",id:"success",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"Warning",id:"warning",level:3},{value:"Defined in",id:"defined-in-2",level:4}];function o(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h2,{id:"enumeration-members",children:"Enumeration Members"}),"\n",(0,s.jsx)(n.h3,{id:"failure",children:"Failure"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"Failure"})," = ",(0,s.jsx)(n.code,{children:'"failure"'})]}),"\n",(0,s.jsx)(n.p,{children:"The PayloadType for a SernEmitter failure event"}),"\n",(0,s.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/structures/enums.ts#L98",children:"src/core/structures/enums.ts:98"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"success",children:"Success"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"Success"})," = ",(0,s.jsx)(n.code,{children:'"success"'})]}),"\n",(0,s.jsx)(n.p,{children:"The PayloadType for a SernEmitter success event"}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/structures/enums.ts#L94",children:"src/core/structures/enums.ts:94"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"warning",children:"Warning"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"Warning"})," = ",(0,s.jsx)(n.code,{children:'"warning"'})]}),"\n",(0,s.jsx)(n.p,{children:"The PayloadType for a SernEmitter warning event"}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/structures/enums.ts#L102",children:"src/core/structures/enums.ts:102"})})]})}function u(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(o,{...e})}):o(e)}},8453:(e,n,r)=>{r.d(n,{R:()=>d,x:()=>l});var s=r(6540);const i={},t=s.createContext(i);function d(e){const n=s.useContext(t);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:d(e.components),s.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/295686f2.37339aaa.js b/assets/js/295686f2.37339aaa.js deleted file mode 100644 index b0594db87..000000000 --- a/assets/js/295686f2.37339aaa.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[3495],{2669:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>c,contentTitle:()=>t,default:()=>a,frontMatter:()=>s,metadata:()=>l,toc:()=>o});var r=i(4848),d=i(8453);const s={id:"ContextMenuUser",title:"Interface: ContextMenuUser",sidebar_label:"ContextMenuUser",sidebar_position:0,custom_edit_url:null},t=void 0,l={id:"api/interfaces/ContextMenuUser",title:"Interface: ContextMenuUser",description:"Hierarchy",source:"@site/docs/api/interfaces/ContextMenuUser.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/ContextMenuUser",permalink:"/docs/api/interfaces/ContextMenuUser",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ContextMenuUser",title:"Interface: ContextMenuUser",sidebar_label:"ContextMenuUser",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"ContextMenuMsg",permalink:"/docs/api/interfaces/ContextMenuMsg"},next:{title:"ControlPlugin",permalink:"/docs/api/interfaces/ControlPlugin"}},c={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"description",id:"description",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"execute",id:"execute",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"onEvent",id:"onevent",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"plugins",id:"plugins",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"type",id:"type",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Defined in",id:"defined-in-5",level:4}];function h(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",h5:"h5",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Module"})}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3 ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"ContextMenuUser"})})]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(n.h3,{id:"description",children:"description"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.code,{children:"Optional"})," ",(0,r.jsx)(n.strong,{children:"description"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:"Module.description"}),"\n",(0,r.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L36",children:"src/types/core-modules.ts:36"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"execute",children:"execute"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"execute"}),": (",(0,r.jsx)(n.code,{children:"ctx"}),": ",(0,r.jsx)(n.code,{children:"UserContextMenuCommandInteraction"}),"<",(0,r.jsx)(n.code,{children:"CacheType"}),">) => ",(0,r.jsx)(n.code,{children:"unknown"})]}),"\n",(0,r.jsx)(n.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,r.jsxs)(n.p,{children:["\u25b8 (",(0,r.jsx)(n.code,{children:"ctx"}),"): ",(0,r.jsx)(n.code,{children:"unknown"})]}),"\n",(0,r.jsx)(n.h5,{id:"parameters",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,r.jsx)(n.tbody,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{style:{textAlign:"left"},children:(0,r.jsx)(n.code,{children:"ctx"})}),(0,r.jsxs)(n.td,{style:{textAlign:"left"},children:[(0,r.jsx)(n.code,{children:"UserContextMenuCommandInteraction"}),"<",(0,r.jsx)(n.code,{children:"CacheType"}),">"]})]})})]}),"\n",(0,r.jsx)(n.h5,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"unknown"})}),"\n",(0,r.jsx)(n.h4,{id:"overrides",children:"Overrides"}),"\n",(0,r.jsx)(n.p,{children:"Module.execute"}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L55",children:"src/types/core-modules.ts:55"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"name",children:"name"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.code,{children:"Optional"})," ",(0,r.jsx)(n.strong,{children:"name"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:"Module.name"}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L33",children:"src/types/core-modules.ts:33"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"onevent",children:"onEvent"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"onEvent"}),": ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/ControlPlugin",children:(0,r.jsx)(n.code,{children:"ControlPlugin"})}),"<",(0,r.jsx)(n.code,{children:"any"}),"[]>[]"]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:"Module.onEvent"}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L34",children:"src/types/core-modules.ts:34"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"plugins",children:"plugins"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"plugins"}),": ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/InitPlugin",children:(0,r.jsx)(n.code,{children:"InitPlugin"})}),"<",(0,r.jsx)(n.code,{children:"any"}),"[]>[]"]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:"Module.plugins"}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L35",children:"src/types/core-modules.ts:35"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"type",children:"type"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"type"}),": ",(0,r.jsx)(n.a,{href:"/docs/api/enums/CommandType#ctxuser",children:(0,r.jsx)(n.code,{children:"CtxUser"})})]}),"\n",(0,r.jsx)(n.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,r.jsx)(n.p,{children:"Module.type"}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L54",children:"src/types/core-modules.ts:54"})})]})}function a(e={}){const{wrapper:n}={...(0,d.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>t,x:()=>l});var r=i(6540);const d={},s=r.createContext(d);function t(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:t(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/295686f2.49d1bd10.js b/assets/js/295686f2.49d1bd10.js new file mode 100644 index 000000000..388c4fcd0 --- /dev/null +++ b/assets/js/295686f2.49d1bd10.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[3495],{2669:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>c,contentTitle:()=>t,default:()=>a,frontMatter:()=>s,metadata:()=>l,toc:()=>o});var r=i(4848),d=i(8453);const s={id:"ContextMenuUser",title:"Interface: ContextMenuUser",sidebar_label:"ContextMenuUser",sidebar_position:0,custom_edit_url:null},t=void 0,l={id:"api/interfaces/ContextMenuUser",title:"Interface: ContextMenuUser",description:"Hierarchy",source:"@site/docs/api/interfaces/ContextMenuUser.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/ContextMenuUser",permalink:"/docs/api/interfaces/ContextMenuUser",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ContextMenuUser",title:"Interface: ContextMenuUser",sidebar_label:"ContextMenuUser",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"ContextMenuMsg",permalink:"/docs/api/interfaces/ContextMenuMsg"},next:{title:"ControlPlugin",permalink:"/docs/api/interfaces/ControlPlugin"}},c={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"description",id:"description",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"execute",id:"execute",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"onEvent",id:"onevent",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"plugins",id:"plugins",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"type",id:"type",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Defined in",id:"defined-in-5",level:4}];function h(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",h5:"h5",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Module"})}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3 ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"ContextMenuUser"})})]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(n.h3,{id:"description",children:"description"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.code,{children:"Optional"})," ",(0,r.jsx)(n.strong,{children:"description"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:"Module.description"}),"\n",(0,r.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L36",children:"src/types/core-modules.ts:36"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"execute",children:"execute"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"execute"}),": (",(0,r.jsx)(n.code,{children:"ctx"}),": ",(0,r.jsx)(n.code,{children:"UserContextMenuCommandInteraction"}),"<",(0,r.jsx)(n.code,{children:"CacheType"}),">) => ",(0,r.jsx)(n.code,{children:"unknown"})]}),"\n",(0,r.jsx)(n.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,r.jsxs)(n.p,{children:["\u25b8 (",(0,r.jsx)(n.code,{children:"ctx"}),"): ",(0,r.jsx)(n.code,{children:"unknown"})]}),"\n",(0,r.jsx)(n.h5,{id:"parameters",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(n.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,r.jsx)(n.tbody,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{style:{textAlign:"left"},children:(0,r.jsx)(n.code,{children:"ctx"})}),(0,r.jsxs)(n.td,{style:{textAlign:"left"},children:[(0,r.jsx)(n.code,{children:"UserContextMenuCommandInteraction"}),"<",(0,r.jsx)(n.code,{children:"CacheType"}),">"]})]})})]}),"\n",(0,r.jsx)(n.h5,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"unknown"})}),"\n",(0,r.jsx)(n.h4,{id:"overrides",children:"Overrides"}),"\n",(0,r.jsx)(n.p,{children:"Module.execute"}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L55",children:"src/types/core-modules.ts:55"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"name",children:"name"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.code,{children:"Optional"})," ",(0,r.jsx)(n.strong,{children:"name"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:"Module.name"}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L33",children:"src/types/core-modules.ts:33"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"onevent",children:"onEvent"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"onEvent"}),": ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/ControlPlugin",children:(0,r.jsx)(n.code,{children:"ControlPlugin"})}),"<",(0,r.jsx)(n.code,{children:"any"}),"[]>[]"]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:"Module.onEvent"}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L34",children:"src/types/core-modules.ts:34"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"plugins",children:"plugins"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"plugins"}),": ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/InitPlugin",children:(0,r.jsx)(n.code,{children:"InitPlugin"})}),"<",(0,r.jsx)(n.code,{children:"any"}),"[]>[]"]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:"Module.plugins"}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L35",children:"src/types/core-modules.ts:35"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"type",children:"type"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"type"}),": ",(0,r.jsx)(n.a,{href:"/docs/api/enums/CommandType#ctxuser",children:(0,r.jsx)(n.code,{children:"CtxUser"})})]}),"\n",(0,r.jsx)(n.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,r.jsx)(n.p,{children:"Module.type"}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L54",children:"src/types/core-modules.ts:54"})})]})}function a(e={}){const{wrapper:n}={...(0,d.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>t,x:()=>l});var r=i(6540);const d={},s=r.createContext(d);function t(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:t(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2caf5b7a.8f40ea21.js b/assets/js/2caf5b7a.b4fa0d12.js similarity index 80% rename from assets/js/2caf5b7a.8f40ea21.js rename to assets/js/2caf5b7a.b4fa0d12.js index a31287137..aa84b9d49 100644 --- a/assets/js/2caf5b7a.8f40ea21.js +++ b/assets/js/2caf5b7a.b4fa0d12.js @@ -1 +1 @@ -"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[7450],{3343:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>l,contentTitle:()=>c,default:()=>h,frontMatter:()=>s,metadata:()=>o,toc:()=>t});var d=i(4848),r=i(8453);const s={id:"SernSubCommandData",title:"Interface: SernSubCommandData",sidebar_label:"SernSubCommandData",sidebar_position:0,custom_edit_url:null},c=void 0,o={id:"api/interfaces/SernSubCommandData",title:"Interface: SernSubCommandData",description:"Hierarchy",source:"@site/docs/api/interfaces/SernSubCommandData.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/SernSubCommandData",permalink:"/docs/api/interfaces/SernSubCommandData",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"SernSubCommandData",title:"Interface: SernSubCommandData",sidebar_label:"SernSubCommandData",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"SernEventsMapping",permalink:"/docs/api/interfaces/SernEventsMapping"},next:{title:"SernSubCommandGroupData",permalink:"/docs/api/interfaces/SernSubCommandGroupData"}},l={},t=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"description",id:"description",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"description_localizations",id:"description_localizations",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"name_localizations",id:"name_localizations",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"options",id:"options",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"required",id:"required",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"type",id:"type",level:3},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-6",level:4}];function a(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(n.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsxs)(n.li,{children:["\n",(0,d.jsxs)(n.p,{children:[(0,d.jsx)(n.code,{children:"APIApplicationCommandOptionBase"}),"<",(0,d.jsx)(n.code,{children:"ApplicationCommandOptionType.Subcommand"}),">"]}),"\n",(0,d.jsxs)(n.p,{children:["\u21b3 ",(0,d.jsx)(n.strong,{children:(0,d.jsx)(n.code,{children:"SernSubCommandData"})})]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,d.jsx)(n.h3,{id:"description",children:"description"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.strong,{children:"description"}),": ",(0,d.jsx)(n.code,{children:"string"})]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"APIApplicationCommandOptionBase.description"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts:7"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"description_localizations",children:"description_localizations"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.code,{children:"Optional"})," ",(0,d.jsx)(n.strong,{children:"description_localizations"}),": ",(0,d.jsx)(n.code,{children:"null"})," | ",(0,d.jsx)(n.code,{children:"Partial"}),"<",(0,d.jsx)(n.code,{children:"Record"}),"<",(0,d.jsx)(n.code,{children:'"id"'})," | ",(0,d.jsx)(n.code,{children:'"en-US"'})," | ",(0,d.jsx)(n.code,{children:'"en-GB"'})," | ",(0,d.jsx)(n.code,{children:'"bg"'})," | ",(0,d.jsx)(n.code,{children:'"zh-CN"'})," | ",(0,d.jsx)(n.code,{children:'"zh-TW"'})," | ",(0,d.jsx)(n.code,{children:'"hr"'})," | ",(0,d.jsx)(n.code,{children:'"cs"'})," | ",(0,d.jsx)(n.code,{children:'"da"'})," | ",(0,d.jsx)(n.code,{children:'"nl"'})," | ",(0,d.jsx)(n.code,{children:'"fi"'})," | ",(0,d.jsx)(n.code,{children:'"fr"'})," | ",(0,d.jsx)(n.code,{children:'"de"'})," | ",(0,d.jsx)(n.code,{children:'"el"'})," | ",(0,d.jsx)(n.code,{children:'"hi"'})," | ",(0,d.jsx)(n.code,{children:'"hu"'})," | ",(0,d.jsx)(n.code,{children:'"it"'})," | ",(0,d.jsx)(n.code,{children:'"ja"'})," | ",(0,d.jsx)(n.code,{children:'"ko"'})," | ",(0,d.jsx)(n.code,{children:'"lt"'})," | ",(0,d.jsx)(n.code,{children:'"no"'})," | ",(0,d.jsx)(n.code,{children:'"pl"'})," | ",(0,d.jsx)(n.code,{children:'"pt-BR"'})," | ",(0,d.jsx)(n.code,{children:'"ro"'})," | ",(0,d.jsx)(n.code,{children:'"ru"'})," | ",(0,d.jsx)(n.code,{children:'"es-ES"'})," | ",(0,d.jsx)(n.code,{children:'"sv-SE"'})," | ",(0,d.jsx)(n.code,{children:'"th"'})," | ",(0,d.jsx)(n.code,{children:'"tr"'})," | ",(0,d.jsx)(n.code,{children:'"uk"'})," | ",(0,d.jsx)(n.code,{children:'"vi"'}),", ",(0,d.jsx)(n.code,{children:"null"})," | ",(0,d.jsx)(n.code,{children:"string"}),">>"]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"APIApplicationCommandOptionBase.description_localizations"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts:8"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"name",children:"name"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.strong,{children:"name"}),": ",(0,d.jsx)(n.code,{children:"string"})]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"APIApplicationCommandOptionBase.name"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts:5"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"name_localizations",children:"name_localizations"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.code,{children:"Optional"})," ",(0,d.jsx)(n.strong,{children:"name_localizations"}),": ",(0,d.jsx)(n.code,{children:"null"})," | ",(0,d.jsx)(n.code,{children:"Partial"}),"<",(0,d.jsx)(n.code,{children:"Record"}),"<",(0,d.jsx)(n.code,{children:'"id"'})," | ",(0,d.jsx)(n.code,{children:'"en-US"'})," | ",(0,d.jsx)(n.code,{children:'"en-GB"'})," | ",(0,d.jsx)(n.code,{children:'"bg"'})," | ",(0,d.jsx)(n.code,{children:'"zh-CN"'})," | ",(0,d.jsx)(n.code,{children:'"zh-TW"'})," | ",(0,d.jsx)(n.code,{children:'"hr"'})," | ",(0,d.jsx)(n.code,{children:'"cs"'})," | ",(0,d.jsx)(n.code,{children:'"da"'})," | ",(0,d.jsx)(n.code,{children:'"nl"'})," | ",(0,d.jsx)(n.code,{children:'"fi"'})," | ",(0,d.jsx)(n.code,{children:'"fr"'})," | ",(0,d.jsx)(n.code,{children:'"de"'})," | ",(0,d.jsx)(n.code,{children:'"el"'})," | ",(0,d.jsx)(n.code,{children:'"hi"'})," | ",(0,d.jsx)(n.code,{children:'"hu"'})," | ",(0,d.jsx)(n.code,{children:'"it"'})," | ",(0,d.jsx)(n.code,{children:'"ja"'})," | ",(0,d.jsx)(n.code,{children:'"ko"'})," | ",(0,d.jsx)(n.code,{children:'"lt"'})," | ",(0,d.jsx)(n.code,{children:'"no"'})," | ",(0,d.jsx)(n.code,{children:'"pl"'})," | ",(0,d.jsx)(n.code,{children:'"pt-BR"'})," | ",(0,d.jsx)(n.code,{children:'"ro"'})," | ",(0,d.jsx)(n.code,{children:'"ru"'})," | ",(0,d.jsx)(n.code,{children:'"es-ES"'})," | ",(0,d.jsx)(n.code,{children:'"sv-SE"'})," | ",(0,d.jsx)(n.code,{children:'"th"'})," | ",(0,d.jsx)(n.code,{children:'"tr"'})," | ",(0,d.jsx)(n.code,{children:'"uk"'})," | ",(0,d.jsx)(n.code,{children:'"vi"'}),", ",(0,d.jsx)(n.code,{children:"null"})," | ",(0,d.jsx)(n.code,{children:"string"}),">>"]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"APIApplicationCommandOptionBase.name_localizations"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts:6"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"options",children:"options"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.code,{children:"Optional"})," ",(0,d.jsx)(n.strong,{children:"options"}),": ",(0,d.jsx)(n.a,{href:"/docs/api/modules#sernoptionsdata",children:(0,d.jsx)(n.code,{children:"SernOptionsData"})}),"[]"]}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:(0,d.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L209",children:"src/types/core-modules.ts:209"})}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"required",children:"required"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.code,{children:"Optional"})," ",(0,d.jsx)(n.strong,{children:"required"}),": ",(0,d.jsx)(n.code,{children:"boolean"})]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"APIApplicationCommandOptionBase.required"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts:9"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"type",children:"type"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.strong,{children:"type"}),": ",(0,d.jsx)(n.code,{children:"Subcommand"})]}),"\n",(0,d.jsx)(n.h4,{id:"overrides",children:"Overrides"}),"\n",(0,d.jsx)(n.p,{children:"APIApplicationCommandOptionBase.type"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:(0,d.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L208",children:"src/types/core-modules.ts:208"})})]})}function h(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,d.jsx)(n,{...e,children:(0,d.jsx)(a,{...e})}):a(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>c,x:()=>o});var d=i(6540);const r={},s=d.createContext(r);function c(e){const n=d.useContext(s);return d.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),d.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[7450],{3343:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>l,contentTitle:()=>s,default:()=>h,frontMatter:()=>c,metadata:()=>o,toc:()=>t});var d=i(4848),r=i(8453);const c={id:"SernSubCommandData",title:"Interface: SernSubCommandData",sidebar_label:"SernSubCommandData",sidebar_position:0,custom_edit_url:null},s=void 0,o={id:"api/interfaces/SernSubCommandData",title:"Interface: SernSubCommandData",description:"Hierarchy",source:"@site/docs/api/interfaces/SernSubCommandData.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/SernSubCommandData",permalink:"/docs/api/interfaces/SernSubCommandData",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"SernSubCommandData",title:"Interface: SernSubCommandData",sidebar_label:"SernSubCommandData",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"SernEventsMapping",permalink:"/docs/api/interfaces/SernEventsMapping"},next:{title:"SernSubCommandGroupData",permalink:"/docs/api/interfaces/SernSubCommandGroupData"}},l={},t=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"description",id:"description",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"description_localizations",id:"description_localizations",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"name_localizations",id:"name_localizations",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"options",id:"options",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"required",id:"required",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"type",id:"type",level:3},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-6",level:4}];function a(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(n.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsxs)(n.li,{children:["\n",(0,d.jsxs)(n.p,{children:[(0,d.jsx)(n.code,{children:"APIApplicationCommandOptionBase"}),"<",(0,d.jsx)(n.code,{children:"ApplicationCommandOptionType.Subcommand"}),">"]}),"\n",(0,d.jsxs)(n.p,{children:["\u21b3 ",(0,d.jsx)(n.strong,{children:(0,d.jsx)(n.code,{children:"SernSubCommandData"})})]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,d.jsx)(n.h3,{id:"description",children:"description"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.strong,{children:"description"}),": ",(0,d.jsx)(n.code,{children:"string"})]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"APIApplicationCommandOptionBase.description"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts:7"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"description_localizations",children:"description_localizations"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.code,{children:"Optional"})," ",(0,d.jsx)(n.strong,{children:"description_localizations"}),": ",(0,d.jsx)(n.code,{children:"null"})," | ",(0,d.jsx)(n.code,{children:"Partial"}),"<",(0,d.jsx)(n.code,{children:"Record"}),"<",(0,d.jsx)(n.code,{children:'"id"'})," | ",(0,d.jsx)(n.code,{children:'"en-US"'})," | ",(0,d.jsx)(n.code,{children:'"en-GB"'})," | ",(0,d.jsx)(n.code,{children:'"bg"'})," | ",(0,d.jsx)(n.code,{children:'"zh-CN"'})," | ",(0,d.jsx)(n.code,{children:'"zh-TW"'})," | ",(0,d.jsx)(n.code,{children:'"hr"'})," | ",(0,d.jsx)(n.code,{children:'"cs"'})," | ",(0,d.jsx)(n.code,{children:'"da"'})," | ",(0,d.jsx)(n.code,{children:'"nl"'})," | ",(0,d.jsx)(n.code,{children:'"fi"'})," | ",(0,d.jsx)(n.code,{children:'"fr"'})," | ",(0,d.jsx)(n.code,{children:'"de"'})," | ",(0,d.jsx)(n.code,{children:'"el"'})," | ",(0,d.jsx)(n.code,{children:'"hi"'})," | ",(0,d.jsx)(n.code,{children:'"hu"'})," | ",(0,d.jsx)(n.code,{children:'"it"'})," | ",(0,d.jsx)(n.code,{children:'"ja"'})," | ",(0,d.jsx)(n.code,{children:'"ko"'})," | ",(0,d.jsx)(n.code,{children:'"lt"'})," | ",(0,d.jsx)(n.code,{children:'"no"'})," | ",(0,d.jsx)(n.code,{children:'"pl"'})," | ",(0,d.jsx)(n.code,{children:'"pt-BR"'})," | ",(0,d.jsx)(n.code,{children:'"ro"'})," | ",(0,d.jsx)(n.code,{children:'"ru"'})," | ",(0,d.jsx)(n.code,{children:'"es-ES"'})," | ",(0,d.jsx)(n.code,{children:'"sv-SE"'})," | ",(0,d.jsx)(n.code,{children:'"th"'})," | ",(0,d.jsx)(n.code,{children:'"tr"'})," | ",(0,d.jsx)(n.code,{children:'"uk"'})," | ",(0,d.jsx)(n.code,{children:'"vi"'}),", ",(0,d.jsx)(n.code,{children:"null"})," | ",(0,d.jsx)(n.code,{children:"string"}),">>"]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"APIApplicationCommandOptionBase.description_localizations"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts:8"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"name",children:"name"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.strong,{children:"name"}),": ",(0,d.jsx)(n.code,{children:"string"})]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"APIApplicationCommandOptionBase.name"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts:5"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"name_localizations",children:"name_localizations"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.code,{children:"Optional"})," ",(0,d.jsx)(n.strong,{children:"name_localizations"}),": ",(0,d.jsx)(n.code,{children:"null"})," | ",(0,d.jsx)(n.code,{children:"Partial"}),"<",(0,d.jsx)(n.code,{children:"Record"}),"<",(0,d.jsx)(n.code,{children:'"id"'})," | ",(0,d.jsx)(n.code,{children:'"en-US"'})," | ",(0,d.jsx)(n.code,{children:'"en-GB"'})," | ",(0,d.jsx)(n.code,{children:'"bg"'})," | ",(0,d.jsx)(n.code,{children:'"zh-CN"'})," | ",(0,d.jsx)(n.code,{children:'"zh-TW"'})," | ",(0,d.jsx)(n.code,{children:'"hr"'})," | ",(0,d.jsx)(n.code,{children:'"cs"'})," | ",(0,d.jsx)(n.code,{children:'"da"'})," | ",(0,d.jsx)(n.code,{children:'"nl"'})," | ",(0,d.jsx)(n.code,{children:'"fi"'})," | ",(0,d.jsx)(n.code,{children:'"fr"'})," | ",(0,d.jsx)(n.code,{children:'"de"'})," | ",(0,d.jsx)(n.code,{children:'"el"'})," | ",(0,d.jsx)(n.code,{children:'"hi"'})," | ",(0,d.jsx)(n.code,{children:'"hu"'})," | ",(0,d.jsx)(n.code,{children:'"it"'})," | ",(0,d.jsx)(n.code,{children:'"ja"'})," | ",(0,d.jsx)(n.code,{children:'"ko"'})," | ",(0,d.jsx)(n.code,{children:'"lt"'})," | ",(0,d.jsx)(n.code,{children:'"no"'})," | ",(0,d.jsx)(n.code,{children:'"pl"'})," | ",(0,d.jsx)(n.code,{children:'"pt-BR"'})," | ",(0,d.jsx)(n.code,{children:'"ro"'})," | ",(0,d.jsx)(n.code,{children:'"ru"'})," | ",(0,d.jsx)(n.code,{children:'"es-ES"'})," | ",(0,d.jsx)(n.code,{children:'"sv-SE"'})," | ",(0,d.jsx)(n.code,{children:'"th"'})," | ",(0,d.jsx)(n.code,{children:'"tr"'})," | ",(0,d.jsx)(n.code,{children:'"uk"'})," | ",(0,d.jsx)(n.code,{children:'"vi"'}),", ",(0,d.jsx)(n.code,{children:"null"})," | ",(0,d.jsx)(n.code,{children:"string"}),">>"]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"APIApplicationCommandOptionBase.name_localizations"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts:6"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"options",children:"options"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.code,{children:"Optional"})," ",(0,d.jsx)(n.strong,{children:"options"}),": ",(0,d.jsx)(n.a,{href:"/docs/api/modules#sernoptionsdata",children:(0,d.jsx)(n.code,{children:"SernOptionsData"})}),"[]"]}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:(0,d.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L209",children:"src/types/core-modules.ts:209"})}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"required",children:"required"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.code,{children:"Optional"})," ",(0,d.jsx)(n.strong,{children:"required"}),": ",(0,d.jsx)(n.code,{children:"boolean"})]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"APIApplicationCommandOptionBase.required"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts:9"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"type",children:"type"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.strong,{children:"type"}),": ",(0,d.jsx)(n.code,{children:"Subcommand"})]}),"\n",(0,d.jsx)(n.h4,{id:"overrides",children:"Overrides"}),"\n",(0,d.jsx)(n.p,{children:"APIApplicationCommandOptionBase.type"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:(0,d.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L208",children:"src/types/core-modules.ts:208"})})]})}function h(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,d.jsx)(n,{...e,children:(0,d.jsx)(a,{...e})}):a(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>s,x:()=>o});var d=i(6540);const r={},c=d.createContext(r);function s(e){const n=d.useContext(c);return d.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),d.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3a0cb3a9.426f7f68.js b/assets/js/3a0cb3a9.426f7f68.js deleted file mode 100644 index eb2c652f0..000000000 --- a/assets/js/3a0cb3a9.426f7f68.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[8371],{5424:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>o,contentTitle:()=>l,default:()=>a,frontMatter:()=>c,metadata:()=>s,toc:()=>t});var d=i(4848),r=i(8453);const c={id:"SernAutocompleteData",title:"Interface: SernAutocompleteData",sidebar_label:"SernAutocompleteData",sidebar_position:0,custom_edit_url:null},l=void 0,s={id:"api/interfaces/SernAutocompleteData",title:"Interface: SernAutocompleteData",description:"Hierarchy",source:"@site/docs/api/interfaces/SernAutocompleteData.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/SernAutocompleteData",permalink:"/docs/api/interfaces/SernAutocompleteData",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"SernAutocompleteData",title:"Interface: SernAutocompleteData",sidebar_label:"SernAutocompleteData",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"RoleSelectCommand",permalink:"/docs/api/interfaces/RoleSelectCommand"},next:{title:"SernEmitterPlugin",permalink:"/docs/api/interfaces/SernEmitterPlugin"}},o={},t=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"autocomplete",id:"autocomplete",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"command",id:"command",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"description",id:"description",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"descriptionLocalizations",id:"descriptionlocalizations",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"nameLocalizations",id:"namelocalizations",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"required",id:"required",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"type",id:"type",level:3},{value:"Defined in",id:"defined-in-7",level:4}];function h(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(n.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsxs)(n.li,{children:["\n",(0,d.jsxs)(n.p,{children:[(0,d.jsx)(n.code,{children:"Omit"}),"<",(0,d.jsx)(n.code,{children:"BaseApplicationCommandOptionsData"}),", ",(0,d.jsx)(n.code,{children:'"autocomplete"'}),">"]}),"\n",(0,d.jsxs)(n.p,{children:["\u21b3 ",(0,d.jsx)(n.strong,{children:(0,d.jsx)(n.code,{children:"SernAutocompleteData"})})]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,d.jsx)(n.h3,{id:"autocomplete",children:"autocomplete"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.strong,{children:"autocomplete"}),": ",(0,d.jsx)(n.code,{children:"true"})]}),"\n",(0,d.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:(0,d.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L172",children:"src/types/core-modules.ts:172"})}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"command",children:"command"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.strong,{children:"command"}),": ",(0,d.jsx)(n.code,{children:"AutocompleteCommand"})]}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:(0,d.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L177",children:"src/types/core-modules.ts:177"})}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"description",children:"description"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.strong,{children:"description"}),": ",(0,d.jsx)(n.code,{children:"string"})]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"Omit.description"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord.js/typings/index.d.ts:4493"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"descriptionlocalizations",children:"descriptionLocalizations"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.code,{children:"Optional"})," ",(0,d.jsx)(n.strong,{children:"descriptionLocalizations"}),": ",(0,d.jsx)(n.code,{children:"Partial"}),"<",(0,d.jsx)(n.code,{children:"Record"}),"<",(0,d.jsx)(n.code,{children:'"id"'})," | ",(0,d.jsx)(n.code,{children:'"en-US"'})," | ",(0,d.jsx)(n.code,{children:'"en-GB"'})," | ",(0,d.jsx)(n.code,{children:'"bg"'})," | ",(0,d.jsx)(n.code,{children:'"zh-CN"'})," | ",(0,d.jsx)(n.code,{children:'"zh-TW"'})," | ",(0,d.jsx)(n.code,{children:'"hr"'})," | ",(0,d.jsx)(n.code,{children:'"cs"'})," | ",(0,d.jsx)(n.code,{children:'"da"'})," | ",(0,d.jsx)(n.code,{children:'"nl"'})," | ",(0,d.jsx)(n.code,{children:'"fi"'})," | ",(0,d.jsx)(n.code,{children:'"fr"'})," | ",(0,d.jsx)(n.code,{children:'"de"'})," | ",(0,d.jsx)(n.code,{children:'"el"'})," | ",(0,d.jsx)(n.code,{children:'"hi"'})," | ",(0,d.jsx)(n.code,{children:'"hu"'})," | ",(0,d.jsx)(n.code,{children:'"it"'})," | ",(0,d.jsx)(n.code,{children:'"ja"'})," | ",(0,d.jsx)(n.code,{children:'"ko"'})," | ",(0,d.jsx)(n.code,{children:'"lt"'})," | ",(0,d.jsx)(n.code,{children:'"no"'})," | ",(0,d.jsx)(n.code,{children:'"pl"'})," | ",(0,d.jsx)(n.code,{children:'"pt-BR"'})," | ",(0,d.jsx)(n.code,{children:'"ro"'})," | ",(0,d.jsx)(n.code,{children:'"ru"'})," | ",(0,d.jsx)(n.code,{children:'"es-ES"'})," | ",(0,d.jsx)(n.code,{children:'"sv-SE"'})," | ",(0,d.jsx)(n.code,{children:'"th"'})," | ",(0,d.jsx)(n.code,{children:'"tr"'})," | ",(0,d.jsx)(n.code,{children:'"uk"'})," | ",(0,d.jsx)(n.code,{children:'"vi"'}),", ",(0,d.jsx)(n.code,{children:"null"})," | ",(0,d.jsx)(n.code,{children:"string"}),">>"]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"Omit.descriptionLocalizations"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord.js/typings/index.d.ts:4494"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"name",children:"name"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.strong,{children:"name"}),": ",(0,d.jsx)(n.code,{children:"string"})]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"Omit.name"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord.js/typings/index.d.ts:4491"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"namelocalizations",children:"nameLocalizations"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.code,{children:"Optional"})," ",(0,d.jsx)(n.strong,{children:"nameLocalizations"}),": ",(0,d.jsx)(n.code,{children:"Partial"}),"<",(0,d.jsx)(n.code,{children:"Record"}),"<",(0,d.jsx)(n.code,{children:'"id"'})," | ",(0,d.jsx)(n.code,{children:'"en-US"'})," | ",(0,d.jsx)(n.code,{children:'"en-GB"'})," | ",(0,d.jsx)(n.code,{children:'"bg"'})," | ",(0,d.jsx)(n.code,{children:'"zh-CN"'})," | ",(0,d.jsx)(n.code,{children:'"zh-TW"'})," | ",(0,d.jsx)(n.code,{children:'"hr"'})," | ",(0,d.jsx)(n.code,{children:'"cs"'})," | ",(0,d.jsx)(n.code,{children:'"da"'})," | ",(0,d.jsx)(n.code,{children:'"nl"'})," | ",(0,d.jsx)(n.code,{children:'"fi"'})," | ",(0,d.jsx)(n.code,{children:'"fr"'})," | ",(0,d.jsx)(n.code,{children:'"de"'})," | ",(0,d.jsx)(n.code,{children:'"el"'})," | ",(0,d.jsx)(n.code,{children:'"hi"'})," | ",(0,d.jsx)(n.code,{children:'"hu"'})," | ",(0,d.jsx)(n.code,{children:'"it"'})," | ",(0,d.jsx)(n.code,{children:'"ja"'})," | ",(0,d.jsx)(n.code,{children:'"ko"'})," | ",(0,d.jsx)(n.code,{children:'"lt"'})," | ",(0,d.jsx)(n.code,{children:'"no"'})," | ",(0,d.jsx)(n.code,{children:'"pl"'})," | ",(0,d.jsx)(n.code,{children:'"pt-BR"'})," | ",(0,d.jsx)(n.code,{children:'"ro"'})," | ",(0,d.jsx)(n.code,{children:'"ru"'})," | ",(0,d.jsx)(n.code,{children:'"es-ES"'})," | ",(0,d.jsx)(n.code,{children:'"sv-SE"'})," | ",(0,d.jsx)(n.code,{children:'"th"'})," | ",(0,d.jsx)(n.code,{children:'"tr"'})," | ",(0,d.jsx)(n.code,{children:'"uk"'})," | ",(0,d.jsx)(n.code,{children:'"vi"'}),", ",(0,d.jsx)(n.code,{children:"null"})," | ",(0,d.jsx)(n.code,{children:"string"}),">>"]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"Omit.nameLocalizations"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord.js/typings/index.d.ts:4492"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"required",children:"required"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.code,{children:"Optional"})," ",(0,d.jsx)(n.strong,{children:"required"}),": ",(0,d.jsx)(n.code,{children:"boolean"})]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"Omit.required"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord.js/typings/index.d.ts:4495"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"type",children:"type"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.strong,{children:"type"}),": ",(0,d.jsx)(n.code,{children:"String"})," | ",(0,d.jsx)(n.code,{children:"Integer"})," | ",(0,d.jsx)(n.code,{children:"Number"})]}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-7",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:(0,d.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/types/core-modules.ts#L173",children:"src/types/core-modules.ts:173"})})]})}function a(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,d.jsx)(n,{...e,children:(0,d.jsx)(h,{...e})}):h(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>l,x:()=>s});var d=i(6540);const r={},c=d.createContext(r);function l(e){const n=d.useContext(c);return d.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function s(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:l(e.components),d.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3a0cb3a9.d273879e.js b/assets/js/3a0cb3a9.d273879e.js new file mode 100644 index 000000000..ff31379b9 --- /dev/null +++ b/assets/js/3a0cb3a9.d273879e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[8371],{5424:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>o,contentTitle:()=>l,default:()=>a,frontMatter:()=>c,metadata:()=>s,toc:()=>t});var d=i(4848),r=i(8453);const c={id:"SernAutocompleteData",title:"Interface: SernAutocompleteData",sidebar_label:"SernAutocompleteData",sidebar_position:0,custom_edit_url:null},l=void 0,s={id:"api/interfaces/SernAutocompleteData",title:"Interface: SernAutocompleteData",description:"Hierarchy",source:"@site/docs/api/interfaces/SernAutocompleteData.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/SernAutocompleteData",permalink:"/docs/api/interfaces/SernAutocompleteData",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"SernAutocompleteData",title:"Interface: SernAutocompleteData",sidebar_label:"SernAutocompleteData",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"RoleSelectCommand",permalink:"/docs/api/interfaces/RoleSelectCommand"},next:{title:"SernEmitterPlugin",permalink:"/docs/api/interfaces/SernEmitterPlugin"}},o={},t=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"autocomplete",id:"autocomplete",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"command",id:"command",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"description",id:"description",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"descriptionLocalizations",id:"descriptionlocalizations",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"nameLocalizations",id:"namelocalizations",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"required",id:"required",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"type",id:"type",level:3},{value:"Defined in",id:"defined-in-7",level:4}];function h(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(n.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsxs)(n.li,{children:["\n",(0,d.jsxs)(n.p,{children:[(0,d.jsx)(n.code,{children:"Omit"}),"<",(0,d.jsx)(n.code,{children:"BaseApplicationCommandOptionsData"}),", ",(0,d.jsx)(n.code,{children:'"autocomplete"'}),">"]}),"\n",(0,d.jsxs)(n.p,{children:["\u21b3 ",(0,d.jsx)(n.strong,{children:(0,d.jsx)(n.code,{children:"SernAutocompleteData"})})]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,d.jsx)(n.h3,{id:"autocomplete",children:"autocomplete"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.strong,{children:"autocomplete"}),": ",(0,d.jsx)(n.code,{children:"true"})]}),"\n",(0,d.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:(0,d.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L172",children:"src/types/core-modules.ts:172"})}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"command",children:"command"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.strong,{children:"command"}),": ",(0,d.jsx)(n.code,{children:"AutocompleteCommand"})]}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:(0,d.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L177",children:"src/types/core-modules.ts:177"})}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"description",children:"description"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.strong,{children:"description"}),": ",(0,d.jsx)(n.code,{children:"string"})]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"Omit.description"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord.js/typings/index.d.ts:4493"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"descriptionlocalizations",children:"descriptionLocalizations"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.code,{children:"Optional"})," ",(0,d.jsx)(n.strong,{children:"descriptionLocalizations"}),": ",(0,d.jsx)(n.code,{children:"Partial"}),"<",(0,d.jsx)(n.code,{children:"Record"}),"<",(0,d.jsx)(n.code,{children:'"id"'})," | ",(0,d.jsx)(n.code,{children:'"en-US"'})," | ",(0,d.jsx)(n.code,{children:'"en-GB"'})," | ",(0,d.jsx)(n.code,{children:'"bg"'})," | ",(0,d.jsx)(n.code,{children:'"zh-CN"'})," | ",(0,d.jsx)(n.code,{children:'"zh-TW"'})," | ",(0,d.jsx)(n.code,{children:'"hr"'})," | ",(0,d.jsx)(n.code,{children:'"cs"'})," | ",(0,d.jsx)(n.code,{children:'"da"'})," | ",(0,d.jsx)(n.code,{children:'"nl"'})," | ",(0,d.jsx)(n.code,{children:'"fi"'})," | ",(0,d.jsx)(n.code,{children:'"fr"'})," | ",(0,d.jsx)(n.code,{children:'"de"'})," | ",(0,d.jsx)(n.code,{children:'"el"'})," | ",(0,d.jsx)(n.code,{children:'"hi"'})," | ",(0,d.jsx)(n.code,{children:'"hu"'})," | ",(0,d.jsx)(n.code,{children:'"it"'})," | ",(0,d.jsx)(n.code,{children:'"ja"'})," | ",(0,d.jsx)(n.code,{children:'"ko"'})," | ",(0,d.jsx)(n.code,{children:'"lt"'})," | ",(0,d.jsx)(n.code,{children:'"no"'})," | ",(0,d.jsx)(n.code,{children:'"pl"'})," | ",(0,d.jsx)(n.code,{children:'"pt-BR"'})," | ",(0,d.jsx)(n.code,{children:'"ro"'})," | ",(0,d.jsx)(n.code,{children:'"ru"'})," | ",(0,d.jsx)(n.code,{children:'"es-ES"'})," | ",(0,d.jsx)(n.code,{children:'"sv-SE"'})," | ",(0,d.jsx)(n.code,{children:'"th"'})," | ",(0,d.jsx)(n.code,{children:'"tr"'})," | ",(0,d.jsx)(n.code,{children:'"uk"'})," | ",(0,d.jsx)(n.code,{children:'"vi"'}),", ",(0,d.jsx)(n.code,{children:"null"})," | ",(0,d.jsx)(n.code,{children:"string"}),">>"]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"Omit.descriptionLocalizations"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord.js/typings/index.d.ts:4494"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"name",children:"name"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.strong,{children:"name"}),": ",(0,d.jsx)(n.code,{children:"string"})]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"Omit.name"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord.js/typings/index.d.ts:4491"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"namelocalizations",children:"nameLocalizations"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.code,{children:"Optional"})," ",(0,d.jsx)(n.strong,{children:"nameLocalizations"}),": ",(0,d.jsx)(n.code,{children:"Partial"}),"<",(0,d.jsx)(n.code,{children:"Record"}),"<",(0,d.jsx)(n.code,{children:'"id"'})," | ",(0,d.jsx)(n.code,{children:'"en-US"'})," | ",(0,d.jsx)(n.code,{children:'"en-GB"'})," | ",(0,d.jsx)(n.code,{children:'"bg"'})," | ",(0,d.jsx)(n.code,{children:'"zh-CN"'})," | ",(0,d.jsx)(n.code,{children:'"zh-TW"'})," | ",(0,d.jsx)(n.code,{children:'"hr"'})," | ",(0,d.jsx)(n.code,{children:'"cs"'})," | ",(0,d.jsx)(n.code,{children:'"da"'})," | ",(0,d.jsx)(n.code,{children:'"nl"'})," | ",(0,d.jsx)(n.code,{children:'"fi"'})," | ",(0,d.jsx)(n.code,{children:'"fr"'})," | ",(0,d.jsx)(n.code,{children:'"de"'})," | ",(0,d.jsx)(n.code,{children:'"el"'})," | ",(0,d.jsx)(n.code,{children:'"hi"'})," | ",(0,d.jsx)(n.code,{children:'"hu"'})," | ",(0,d.jsx)(n.code,{children:'"it"'})," | ",(0,d.jsx)(n.code,{children:'"ja"'})," | ",(0,d.jsx)(n.code,{children:'"ko"'})," | ",(0,d.jsx)(n.code,{children:'"lt"'})," | ",(0,d.jsx)(n.code,{children:'"no"'})," | ",(0,d.jsx)(n.code,{children:'"pl"'})," | ",(0,d.jsx)(n.code,{children:'"pt-BR"'})," | ",(0,d.jsx)(n.code,{children:'"ro"'})," | ",(0,d.jsx)(n.code,{children:'"ru"'})," | ",(0,d.jsx)(n.code,{children:'"es-ES"'})," | ",(0,d.jsx)(n.code,{children:'"sv-SE"'})," | ",(0,d.jsx)(n.code,{children:'"th"'})," | ",(0,d.jsx)(n.code,{children:'"tr"'})," | ",(0,d.jsx)(n.code,{children:'"uk"'})," | ",(0,d.jsx)(n.code,{children:'"vi"'}),", ",(0,d.jsx)(n.code,{children:"null"})," | ",(0,d.jsx)(n.code,{children:"string"}),">>"]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"Omit.nameLocalizations"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord.js/typings/index.d.ts:4492"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"required",children:"required"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.code,{children:"Optional"})," ",(0,d.jsx)(n.strong,{children:"required"}),": ",(0,d.jsx)(n.code,{children:"boolean"})]}),"\n",(0,d.jsx)(n.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,d.jsx)(n.p,{children:"Omit.required"}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:"node_modules/discord.js/typings/index.d.ts:4495"}),"\n",(0,d.jsx)(n.hr,{}),"\n",(0,d.jsx)(n.h3,{id:"type",children:"type"}),"\n",(0,d.jsxs)(n.p,{children:["\u2022 ",(0,d.jsx)(n.strong,{children:"type"}),": ",(0,d.jsx)(n.code,{children:"String"})," | ",(0,d.jsx)(n.code,{children:"Integer"})," | ",(0,d.jsx)(n.code,{children:"Number"})]}),"\n",(0,d.jsx)(n.h4,{id:"defined-in-7",children:"Defined in"}),"\n",(0,d.jsx)(n.p,{children:(0,d.jsx)(n.a,{href:"https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L173",children:"src/types/core-modules.ts:173"})})]})}function a(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,d.jsx)(n,{...e,children:(0,d.jsx)(h,{...e})}):h(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>l,x:()=>s});var d=i(6540);const r={},c=d.createContext(r);function l(e){const n=d.useContext(c);return d.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function s(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:l(e.components),d.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3b15a34b.36b96dbf.js b/assets/js/3b15a34b.36b96dbf.js deleted file mode 100644 index 588c67af4..000000000 --- a/assets/js/3b15a34b.36b96dbf.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[5276],{5902:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>o,contentTitle:()=>d,default:()=>h,frontMatter:()=>t,metadata:()=>l,toc:()=>c});var i=s(4848),r=s(8453);const t={id:"EventModuleDefs",title:"Interface: EventModuleDefs",sidebar_label:"EventModuleDefs",sidebar_position:0,custom_edit_url:null},d=void 0,l={id:"api/interfaces/EventModuleDefs",title:"Interface: EventModuleDefs",description:"Properties",source:"@site/docs/api/interfaces/EventModuleDefs.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/EventModuleDefs",permalink:"/docs/api/interfaces/EventModuleDefs",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"EventModuleDefs",title:"Interface: EventModuleDefs",sidebar_label:"EventModuleDefs",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"ErrorHandling",permalink:"/docs/api/interfaces/ErrorHandling"},next:{title:"EventPlugin",permalink:"/docs/api/interfaces/EventPlugin"}},o={},c=[{value:"Properties",id:"properties",level:2},{value:"1",id:"1",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"2",id:"2",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"3",id:"3",level:3},{value:"Defined in",id:"defined-in-2",level:4}];function a(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(n.h3,{id:"1",children:"1"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"1"}),": ",(0,i.jsx)(n.a,{href:"/docs/api/interfaces/DiscordEventCommand",children:(0,i.jsx)(n.code,{children:"DiscordEventCommand"})}),"CoreContext<Message, ChatInputCommandInteraction>.constructor
src/core/structures/context.ts:29
+src/core/structures/context.ts:29
• Protected ctx: Result<Message<boolean>, ChatInputCommandInteraction<CacheType>>
CoreContext.ctx
src/core/structures/context.ts:29
+src/core/structures/context.ts:29
• get channel(): null | TextBasedChannel
null | TextBasedChannel
src/core/structures/context.ts:39
+src/core/structures/context.ts:39
• get channelId(): string
string
src/core/structures/context.ts:45
+src/core/structures/context.ts:45
• get client(): Client<boolean>
Client<boolean>
src/core/structures/context.ts:91
+src/core/structures/context.ts:91
• get createdTimestamp(): number
number
src/core/structures/context.ts:65
+src/core/structures/context.ts:65
• get guild(): null | Guild
null | Guild
src/core/structures/context.ts:71
+src/core/structures/context.ts:71
• get guildId(): null | string
null | string
src/core/structures/context.ts:77
+src/core/structures/context.ts:77
• get id(): string
string
src/core/structures/context.ts:33
+src/core/structures/context.ts:33
• get inGuild(): boolean
boolean
src/core/structures/context.ts:97
+src/core/structures/context.ts:97
• get interaction(): I
CoreContext.interaction
src/core/structures/core-context.ts:15
+src/core/structures/core-context.ts:15
• get member(): null | GuildMember | APIInteractionGuildMember
null | GuildMember | APIInteractionGuildMember
src/core/structures/context.ts:85
+src/core/structures/context.ts:85
• get message(): M
CoreContext.message
src/core/structures/core-context.ts:12
+src/core/structures/core-context.ts:12
• get options(): Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused">
CoreContext.options
src/core/structures/context.ts:26
+src/core/structures/context.ts:26
• get user(): User
User
src/core/structures/context.ts:55
+src/core/structures/context.ts:55
• get userId(): string
string
src/core/structures/context.ts:61
+src/core/structures/context.ts:61
▸ isMessage(): this is CoreContext<Message<boolean>, never>
@@ -171,7 +171,7 @@ else, interaction.userCoreContext.isMessage
src/core/structures/core-context.ts:19
+src/core/structures/core-context.ts:19
▸ isSlash(): this is CoreContext<never, ChatInputCommandInteraction<CacheType>>
@@ -180,7 +180,7 @@ else, interaction.userCoreContext.isSlash
src/core/structures/core-context.ts:23
+src/core/structures/core-context.ts:23
▸ reply(content): Promise<Message<boolean>>
Promise<Message<boolean>>
src/core/structures/context.ts:103
+src/core/structures/context.ts:103
▸ wrap(wrappable): Context
CoreContext.wrap
src/core/structures/context.ts:113
src/core/structures/context.ts:113