diff --git a/404.html b/404.html index 6f23a2737..5c56e562f 100644 --- a/404.html +++ b/404.html @@ -11,7 +11,7 @@ - +
diff --git a/assets/js/54bc704d.0002a370.js b/assets/js/54bc704d.0002a370.js new file mode 100644 index 000000000..dc91c8540 --- /dev/null +++ b/assets/js/54bc704d.0002a370.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[3788],{334:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>l,default:()=>h,frontMatter:()=>r,metadata:()=>a,toc:()=>c});var i=t(4848),s=t(8453);const r={},l=void 0,a={id:"cli/clear",title:"clear",description:"Implicits",source:"@site/docs/cli/clear.md",sourceDirName:"cli",slug:"/cli/clear",permalink:"/docs/cli/clear",draft:!1,unlisted:!1,editUrl:"https://github.com/sern-handler/website/edit/main/docs/cli/clear.md",tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"build",permalink:"/docs/cli/build"},next:{title:"extra",permalink:"/docs/cli/extra"}},o={},c=[{value:"Implicits",id:"implicits",level:2},{value:"Features",id:"features",level:2}];function d(e){const n={a:"a",code:"code",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:"Usage: sern commands clear [options]\n\nClear and reset commands-data-remote.json and the api\n\nOptions:\n -y, --yes Say yes to all prompts\n -e, --env [path] Supply a path to a .env\n -h, --help display help for command\n"})}),"\n",(0,i.jsx)(n.h2,{id:"implicits",children:"Implicits"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"Automatically reads a .env in the working directory. For seamless integration, your .env file should look like this:"}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-txt",metastring:'title=".env" ',children:"DISCORD_TOKEN=DISCORD_TOKEN=<YOUR_TOKEN>
APPLICATION_ID=<YOUR_APPLICATION_ID>
NODE_ENV=<development|production>
DISCORD_TOKEN=<YOUR_TOKEN>
NODE_ENV=<development|production>
Calls the discord API with the PUT route with an EMPTY array, essentially setting all registered commands to nothing.
diff --git a/docs/cli/extra.html b/docs/cli/extra.html index ca435b96f..da241e1af 100644 --- a/docs/cli/extra.html +++ b/docs/cli/extra.html @@ -11,7 +11,7 @@ - + diff --git a/docs/cli/publish.html b/docs/cli/publish.html index ec2fc076a..57819d478 100644 --- a/docs/cli/publish.html +++ b/docs/cli/publish.html @@ -11,7 +11,7 @@ - + diff --git a/docs/guide.html b/docs/guide.html index f9d44a344..4e9764ee1 100644 --- a/docs/guide.html +++ b/docs/guide.html @@ -11,7 +11,7 @@ - + diff --git a/docs/guide/getting-started/choose-ide.html b/docs/guide/getting-started/choose-ide.html index b6aa12372..42e66e500 100644 --- a/docs/guide/getting-started/choose-ide.html +++ b/docs/guide/getting-started/choose-ide.html @@ -11,7 +11,7 @@ - + diff --git a/docs/guide/getting-started/preparing.html b/docs/guide/getting-started/preparing.html index bbc732963..c4ef5eb66 100644 --- a/docs/guide/getting-started/preparing.html +++ b/docs/guide/getting-started/preparing.html @@ -11,7 +11,7 @@ - + diff --git a/docs/guide/walkthrough/autocomplete.html b/docs/guide/walkthrough/autocomplete.html index 77c019345..511c7ed44 100644 --- a/docs/guide/walkthrough/autocomplete.html +++ b/docs/guide/walkthrough/autocomplete.html @@ -11,7 +11,7 @@ - + diff --git a/docs/guide/walkthrough/cli.html b/docs/guide/walkthrough/cli.html index 300bf939c..f4f79f483 100644 --- a/docs/guide/walkthrough/cli.html +++ b/docs/guide/walkthrough/cli.html @@ -11,7 +11,7 @@ - + diff --git a/docs/guide/walkthrough/conclusion.html b/docs/guide/walkthrough/conclusion.html index c0fa6fc07..9100694a5 100644 --- a/docs/guide/walkthrough/conclusion.html +++ b/docs/guide/walkthrough/conclusion.html @@ -11,7 +11,7 @@ - + diff --git a/docs/guide/walkthrough/dependency-injection.html b/docs/guide/walkthrough/dependency-injection.html index 112db11ea..70a8ead2c 100644 --- a/docs/guide/walkthrough/dependency-injection.html +++ b/docs/guide/walkthrough/dependency-injection.html @@ -11,7 +11,7 @@ - + diff --git a/docs/guide/walkthrough/first-command.html b/docs/guide/walkthrough/first-command.html index 32cd465ee..1df9aeb51 100644 --- a/docs/guide/walkthrough/first-command.html +++ b/docs/guide/walkthrough/first-command.html @@ -11,7 +11,7 @@ - + diff --git a/docs/guide/walkthrough/first-event.html b/docs/guide/walkthrough/first-event.html index 858825128..f731d1b8b 100644 --- a/docs/guide/walkthrough/first-event.html +++ b/docs/guide/walkthrough/first-event.html @@ -11,7 +11,7 @@ - + diff --git a/docs/guide/walkthrough/goal.html b/docs/guide/walkthrough/goal.html index 572a3e1f2..e5249dbcf 100644 --- a/docs/guide/walkthrough/goal.html +++ b/docs/guide/walkthrough/goal.html @@ -11,7 +11,7 @@ - + diff --git a/docs/guide/walkthrough/good-to-know.html b/docs/guide/walkthrough/good-to-know.html index bd4ff88c5..20b5bfd24 100644 --- a/docs/guide/walkthrough/good-to-know.html +++ b/docs/guide/walkthrough/good-to-know.html @@ -11,7 +11,7 @@ - + diff --git a/docs/guide/walkthrough/new-project.html b/docs/guide/walkthrough/new-project.html index 49fa3849b..7e2e6f791 100644 --- a/docs/guide/walkthrough/new-project.html +++ b/docs/guide/walkthrough/new-project.html @@ -11,7 +11,7 @@ - + diff --git a/docs/guide/walkthrough/plugins.html b/docs/guide/walkthrough/plugins.html index f35c10140..683b8431b 100644 --- a/docs/guide/walkthrough/plugins.html +++ b/docs/guide/walkthrough/plugins.html @@ -11,7 +11,7 @@ - + diff --git a/docs/guide/walkthrough/sern-emitter.html b/docs/guide/walkthrough/sern-emitter.html index f594e1d6f..52ad02cee 100644 --- a/docs/guide/walkthrough/sern-emitter.html +++ b/docs/guide/walkthrough/sern-emitter.html @@ -11,7 +11,7 @@ - + diff --git a/docs/guide/walkthrough/services.html b/docs/guide/walkthrough/services.html index dbed7a837..e7a9f2f14 100644 --- a/docs/guide/walkthrough/services.html +++ b/docs/guide/walkthrough/services.html @@ -11,7 +11,7 @@ - + diff --git a/docs/guide/walkthrough/transition.html b/docs/guide/walkthrough/transition.html index bfd27eea5..a5ea5cd3f 100644 --- a/docs/guide/walkthrough/transition.html +++ b/docs/guide/walkthrough/transition.html @@ -11,7 +11,7 @@ - + diff --git a/docs/intro.html b/docs/intro.html index 3c53d9bf0..67f1d5cc3 100644 --- a/docs/intro.html +++ b/docs/intro.html @@ -11,7 +11,7 @@ - + diff --git a/index.html b/index.html index 143dd6b71..df685a286 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@ - + diff --git a/markdown-page.html b/markdown-page.html index 2f90c62c0..e6d8c8d54 100644 --- a/markdown-page.html +++ b/markdown-page.html @@ -11,7 +11,7 @@ - + diff --git a/plugins.html b/plugins.html index e433433a2..e3e2d5d3e 100644 --- a/plugins.html +++ b/plugins.html @@ -11,7 +11,7 @@ - + diff --git a/search.html b/search.html index feee0045a..25b52e046 100644 --- a/search.html +++ b/search.html @@ -11,7 +11,7 @@ - + diff --git a/sponsors.html b/sponsors.html index 0976ddb1c..a1804ce31 100644 --- a/sponsors.html +++ b/sponsors.html @@ -11,7 +11,7 @@ - +