Page Not Found
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
From e8eb7cb4139f1ec574b23aaf6a26b5f9957d45f6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 24 Mar 2024 20:26:55 +0000 Subject: [PATCH] deploy: 78be0a3faa71e0dd32d948a76004070865896151 --- 404.html | 4 ++-- assets/js/01a85c17.0d8abe99.js | 1 - assets/js/01a85c17.90531079.js | 1 + assets/js/083c37a9.86bfbeff.js | 1 + assets/js/083c37a9.96cbf01a.js | 1 - assets/js/0a33f845.2a4f4acd.js | 1 - assets/js/0a33f845.363a9226.js | 1 + assets/js/0c9bead8.0c0b05da.js | 1 + assets/js/0c9bead8.384ea4e6.js | 1 - assets/js/0e384e19.28657b0d.js | 1 - assets/js/0e384e19.9d7c7828.js | 1 + assets/js/17896441.65eadaff.js | 1 - assets/js/17896441.7d56c575.js | 1 + assets/js/1a1cc5f0.17a326b8.js | 1 + assets/js/1a1cc5f0.545edb1a.js | 1 - assets/js/1a4e3797.39c8a6ed.js | 2 -- assets/js/1a4e3797.49002bda.js | 2 ++ ...c8a6ed.js.LICENSE.txt => 1a4e3797.49002bda.js.LICENSE.txt} | 0 assets/js/1ac1bfe9.05055114.js | 1 - assets/js/1ac1bfe9.0d260689.js | 1 + assets/js/1adeaf48.14b0065c.js | 1 + assets/js/1adeaf48.9759b55c.js | 1 - assets/js/1aef51bd.5eac930b.js | 1 + assets/js/1aef51bd.b9ad6d3a.js | 1 - assets/js/1b0c702f.9d246b30.js | 1 + assets/js/1b0c702f.a399cc7c.js | 1 - assets/js/1c127a4d.21346482.js | 1 + assets/js/1c127a4d.826f2d62.js | 1 - assets/js/1f391b9e.1e64a77c.js | 1 + assets/js/1f391b9e.3ba9c245.js | 1 - assets/js/2237.1c63dc97.js | 1 + assets/js/2237.2d1a0a6e.js | 1 - assets/js/26f1f3a5.38b5f01c.js | 1 - assets/js/26f1f3a5.f676ae71.js | 1 + assets/js/295686f2.2a44d0d4.js | 1 - assets/js/295686f2.37339aaa.js | 1 + assets/js/2caf5b7a.8f40ea21.js | 1 + assets/js/2caf5b7a.d44a2d10.js | 1 - assets/js/2e208732.89c9b46b.js | 1 - assets/js/2e208732.ab044513.js | 1 + assets/js/2f13d849.230cdf86.js | 1 - assets/js/2f13d849.d7e6f345.js | 1 + assets/js/3020eeee.d9454985.js | 1 + assets/js/3020eeee.ddeea7c0.js | 1 - assets/js/312c2bc5.5e750258.js | 1 + assets/js/312c2bc5.69b35d37.js | 1 - assets/js/393be207.2d2d9a50.js | 1 + assets/js/393be207.f6c7b1fd.js | 1 - assets/js/3a0cb3a9.426f7f68.js | 1 + assets/js/3a0cb3a9.8f712e5b.js | 1 - assets/js/3a25b5a8.62806fd5.js | 1 + assets/js/3a25b5a8.8950a65c.js | 1 - assets/js/3a2d3092.6c0205f0.js | 1 - assets/js/3a2d3092.e959f693.js | 1 + assets/js/3ae57366.9c3b8034.js | 1 - assets/js/3ae57366.d8e93ec3.js | 1 + assets/js/3b15a34b.36b96dbf.js | 1 + assets/js/3b15a34b.ca5fe935.js | 1 - assets/js/3dc7c79a.707a083b.js | 1 - assets/js/3dc7c79a.ee6642c4.js | 1 + assets/js/3f83d40d.650fdbc3.js | 1 - assets/js/3f83d40d.f118a07d.js | 1 + assets/js/416.05ad920d.js | 1 - assets/js/416.565dfe5d.js | 1 + assets/js/425cbb82.1ead19ab.js | 1 + assets/js/425cbb82.c43df7a1.js | 1 - assets/js/4279c33d.3583cb39.js | 1 + assets/js/4279c33d.c0d97df9.js | 1 - assets/js/447d9066.4580f5f8.js | 1 + assets/js/447d9066.c1126721.js | 1 - assets/js/462b6925.0bbd173d.js | 1 - assets/js/462b6925.1337daf9.js | 1 + assets/js/46963930.5afcf98a.js | 1 + assets/js/46963930.7112f6df.js | 1 - assets/js/476a0444.10f0d0df.js | 1 - assets/js/476a0444.1a50865b.js | 1 + assets/js/4b098d2e.4e2d908b.js | 1 - assets/js/4b098d2e.611cddf3.js | 1 + assets/js/4d00c3f4.87b40635.js | 1 - assets/js/4d00c3f4.919008e9.js | 1 + assets/js/4e28a08b.0533eba9.js | 1 + assets/js/4e28a08b.642a9389.js | 1 - assets/js/4fef5a93.9c85f814.js | 1 + assets/js/4fef5a93.c85e3bd8.js | 1 - assets/js/522b21a2.0f1c9994.js | 1 + assets/js/522b21a2.4178f9de.js | 1 - assets/js/53944420.ad694c41.js | 1 + assets/js/53944420.f839c60a.js | 1 - assets/js/54bc704d.a55fb4e7.js | 1 - assets/js/54bc704d.d663c813.js | 1 + assets/js/57fe7727.4c1aba11.js | 1 + assets/js/57fe7727.fdd8e144.js | 1 - assets/js/5ae130ee.2ef7ba33.js | 1 - assets/js/5ae130ee.bc5c088a.js | 1 + assets/js/5bc4ccbc.d0bbd674.js | 1 - assets/js/5bc4ccbc.f20f150a.js | 1 + assets/js/5e8c322a.b5738332.js | 1 + assets/js/5e8c322a.dcb838c1.js | 1 - assets/js/5e95c892.3abda5eb.js | 1 - assets/js/5e95c892.3c5661f6.js | 1 + assets/js/608ca171.06188167.js | 1 - assets/js/608ca171.62a6a6a8.js | 1 + assets/js/61538263.3458e15f.js | 1 - assets/js/61538263.583d573f.js | 1 + assets/js/65578b65.37356d76.js | 1 - assets/js/65578b65.79603fac.js | 1 + assets/js/6626dbb1.0740f761.js | 1 + assets/js/6626dbb1.e181ddc9.js | 1 - assets/js/67348500.4102b0ec.js | 1 + assets/js/67348500.87ebf2e0.js | 1 - assets/js/67e3e25a.65644288.js | 1 + assets/js/67e3e25a.6a6e49eb.js | 1 - assets/js/6875c492.843c62d7.js | 1 - assets/js/6875c492.95d8358c.js | 1 + assets/js/69369ae2.4e184edd.js | 1 - assets/js/69369ae2.5d8b0482.js | 1 + assets/js/6b841b38.8168245a.js | 1 + assets/js/6b841b38.d018fc2c.js | 1 - assets/js/6ba1d2c1.4c556a1d.js | 1 - assets/js/6ba1d2c1.5a87af8a.js | 1 + assets/js/6c624b4c.8c48b52c.js | 1 + assets/js/6c624b4c.d2965a4f.js | 1 - assets/js/6cfc4513.abe64872.js | 1 - assets/js/6cfc4513.eb58f2d8.js | 1 + assets/js/6e55d25c.1c13be5c.js | 1 - assets/js/6e55d25c.4e3858c6.js | 1 + assets/js/6ff82968.5b0195de.js | 1 + assets/js/6ff82968.97698922.js | 1 - assets/js/701614d9.a0b5248c.js | 1 + assets/js/701614d9.c950b9e1.js | 1 - assets/js/707baeff.6210bcc5.js | 1 + assets/js/707baeff.d359d8ee.js | 1 - assets/js/720cd117.11a04cd9.js | 1 + assets/js/720cd117.d46955be.js | 1 - assets/js/7343edf0.15c84cc2.js | 1 - assets/js/7343edf0.4faef6eb.js | 1 + assets/js/73bd57bd.b1098304.js | 1 + assets/js/73bd57bd.f5cedfa7.js | 1 - assets/js/74e316f4.750b3a2e.js | 1 - assets/js/74e316f4.754f56ff.js | 1 + assets/js/77a07764.4f555e6f.js | 1 - assets/js/77a07764.c63bd577.js | 1 + assets/js/79e7cc44.552abfaf.js | 1 - assets/js/79e7cc44.ec89a63b.js | 1 + assets/js/7b758ddf.a9859c3b.js | 1 - assets/js/7b758ddf.bebefb7e.js | 1 + assets/js/7c2ff145.1e0d381c.js | 1 - assets/js/7c2ff145.d5069700.js | 1 + assets/js/7cd974c8.1142550f.js | 1 - assets/js/7cd974c8.c732cb51.js | 1 + assets/js/7e205c4a.030c48fa.js | 1 - assets/js/7e205c4a.468206c4.js | 1 + assets/js/7f2ac8b7.126f370e.js | 1 + assets/js/7f2ac8b7.5f98af8b.js | 1 - assets/js/814f3328.2f7d455e.js | 1 + assets/js/814f3328.863c6bec.js | 1 - assets/js/82474f76.6181b312.js | 1 - assets/js/82474f76.a3f2f6f9.js | 1 + assets/js/82cdda05.77f16012.js | 1 - assets/js/82cdda05.dcdcf129.js | 1 + assets/js/83d480e9.006ac8a0.js | 1 - assets/js/83d480e9.6fc38056.js | 1 + assets/js/85456a26.a7196af7.js | 1 - assets/js/85456a26.e1958609.js | 1 + assets/js/86b8ce54.24e8c357.js | 1 - assets/js/86b8ce54.3f8ce513.js | 1 + assets/js/8747.217e6e01.js | 1 - assets/js/8747.34a2c022.js | 1 + assets/js/887ace0c.0ba35d30.js | 1 + assets/js/887ace0c.d36efef3.js | 1 - assets/js/888566f1.549c88f4.js | 1 - assets/js/888566f1.8c07be1a.js | 1 + assets/js/8906.542ab720.js | 1 - assets/js/8906.60966fb0.js | 1 + assets/js/8913.9af1ee1a.js | 1 + assets/js/8913.ff3ea2a1.js | 1 - assets/js/8a062262.5114827c.js | 1 - assets/js/8a062262.e880708f.js | 1 + assets/js/90fdad0c.2dea85d1.js | 1 - assets/js/90fdad0c.74327896.js | 1 + assets/js/916aad9f.4b968706.js | 1 - assets/js/916aad9f.4db272d1.js | 1 + assets/js/9201de17.61b15a27.js | 1 - assets/js/9201de17.8c27dbe9.js | 1 + assets/js/935f2afb.01d6ddfe.js | 1 - assets/js/935f2afb.f3ae504a.js | 1 + assets/js/9462.ba451a0d.js | 1 - assets/js/9462.f8e58243.js | 1 + assets/js/9693de07.54a97dfa.js | 1 + assets/js/9693de07.737e0fcb.js | 1 - assets/js/97c22b42.84f91ac8.js | 1 - assets/js/97c22b42.c1d9e5f3.js | 1 + assets/js/981f6151.2f6594b6.js | 1 - assets/js/981f6151.a5d396f1.js | 1 + assets/js/9b620520.7c940e6e.js | 1 + assets/js/9b620520.e73443f9.js | 1 - assets/js/9c021584.d1a1a7fd.js | 1 - assets/js/9c021584.ed65ee60.js | 1 + assets/js/9e4087bc.1f4ede9b.js | 1 + assets/js/9e4087bc.29cb6b74.js | 1 - assets/js/9f1290f8.30fea7cc.js | 1 - assets/js/9f1290f8.547349cf.js | 1 + assets/js/a0b9ee13.115f3f17.js | 1 - assets/js/a0b9ee13.6fa98a10.js | 1 + assets/js/a0fd2c7a.0af82df9.js | 1 - assets/js/a0fd2c7a.cf596def.js | 1 + assets/js/a3030d1c.f34b7267.js | 1 - assets/js/a3030d1c.ffbeb2dd.js | 1 + assets/js/a4d0ee3e.b7fcb25c.js | 1 - assets/js/a4d0ee3e.e3a67608.js | 1 + assets/js/a5467962.47df66eb.js | 1 - assets/js/a5467962.957e053c.js | 1 + assets/js/a6aa9e1f.2d113433.js | 1 + assets/js/a6aa9e1f.60a6d58a.js | 1 - assets/js/a6d8dddc.3e25a3ca.js | 1 - assets/js/a6d8dddc.72dbc8e5.js | 1 + assets/js/a7023ddc.6615db4d.js | 1 + assets/js/a7023ddc.918d1802.js | 1 - assets/js/a727fde1.109c75ae.js | 1 - assets/js/a727fde1.8a42dc17.js | 1 + assets/js/a7bd4aaa.46f7bdd0.js | 1 - assets/js/a7bd4aaa.5a4646c2.js | 1 + assets/js/a94703ab.35d0f890.js | 1 + assets/js/a94703ab.cf20eb79.js | 1 - assets/js/a96c96b0.806c00f2.js | 1 - assets/js/a96c96b0.f3e38592.js | 1 + assets/js/b134d7b8.f461b4a2.js | 1 - assets/js/b134d7b8.fa79e1ca.js | 1 + assets/js/b2b675dd.3bcec961.js | 1 + assets/js/b2b675dd.bc281ef4.js | 1 - assets/js/b2f554cd.11ce5c09.js | 1 + assets/js/b2f554cd.9fbf7b4b.js | 1 - assets/js/b654e1cf.4ee260c2.js | 1 - assets/js/b654e1cf.5b8b0fa5.js | 1 + assets/js/b91ce718.376412a9.js | 1 - assets/js/b91ce718.910fbf3c.js | 1 + assets/js/bcd9df7e.3d35bdb2.js | 1 + assets/js/bcd9df7e.c0820045.js | 1 - assets/js/beef0c9d.ac0a5b88.js | 1 - assets/js/beef0c9d.bf88ad5a.js | 1 + assets/js/c0846785.305a360d.js | 1 + assets/js/c0846785.fe615f3f.js | 1 - assets/js/c0930fba.0e0a34af.js | 1 - assets/js/c0930fba.b42d0612.js | 1 + assets/js/c4348237.93d9895a.js | 1 - assets/js/c4348237.e83a81df.js | 1 + assets/js/c4f5d8e4.d6e34982.js | 1 - assets/js/c4f5d8e4.ddc0d8f8.js | 1 + assets/js/c606405e.5bb9f87f.js | 1 - assets/js/c606405e.60902698.js | 1 + assets/js/ccc49370.93ff3c1b.js | 1 + assets/js/ccc49370.a2f2ba19.js | 1 - assets/js/cf183316.3eea489e.js | 1 + assets/js/cf183316.bf59ef91.js | 1 - assets/js/cfb1619e.71584d6d.js | 1 - assets/js/cfb1619e.f2ad3e8a.js | 1 + assets/js/d9ea5336.000c3bf1.js | 1 + assets/js/d9ea5336.ab48f1a1.js | 1 - assets/js/e04ffa77.29f778fe.js | 1 + assets/js/e04ffa77.71324374.js | 1 - assets/js/e2a53654.3ec46d07.js | 1 + assets/js/e2a53654.ee436f61.js | 1 - assets/js/e4877132.c034fb72.js | 1 + assets/js/e4877132.fdee4638.js | 1 - assets/js/e84a24a4.4843cb78.js | 1 - assets/js/e84a24a4.70f4d4b3.js | 1 + assets/js/e8e3d8c7.0fa3bc4f.js | 1 + assets/js/e8e3d8c7.30c1b798.js | 1 - assets/js/edc18331.76541685.js | 1 + assets/js/edc18331.76d7ca11.js | 1 - assets/js/eea0bf40.0987eddd.js | 1 + assets/js/eea0bf40.2f9eb929.js | 1 - assets/js/f0726797.42e836a8.js | 1 - assets/js/f0726797.c5e1d253.js | 1 + assets/js/f1cc380d.554d42ec.js | 1 - assets/js/f1cc380d.8fc03fdc.js | 1 + assets/js/f6aebfbf.2f3ff35c.js | 1 + assets/js/f6aebfbf.6ae285b1.js | 1 - assets/js/f7831d67.1fff8d58.js | 1 + assets/js/f7831d67.c6425cbb.js | 1 - assets/js/main.619aeb47.js | 2 ++ ...n.e966d442.js.LICENSE.txt => main.619aeb47.js.LICENSE.txt} | 0 assets/js/main.e966d442.js | 2 -- assets/js/runtime~main.2d8a3c3a.js | 1 - assets/js/runtime~main.c5a338a9.js | 1 + blog.html | 4 ++-- blog/1.2.0.html | 4 ++-- blog/2.0.0.html | 4 ++-- blog/2.5.0.html | 4 ++-- blog/3.0.0.html | 4 ++-- blog/archive.html | 4 ++-- blog/getting-started.html | 4 ++-- blog/newlogo.html | 4 ++-- blog/railway-deploy.html | 4 ++-- blog/tags.html | 4 ++-- blog/tags/branding.html | 4 ++-- blog/tags/guides.html | 4 ++-- blog/tags/release.html | 4 ++-- docs/api.html | 4 ++-- docs/api/classes/CommandExecutable.html | 4 ++-- docs/api/classes/Context.html | 4 ++-- docs/api/classes/DefaultErrorHandling.html | 4 ++-- docs/api/classes/DefaultLogging.html | 4 ++-- docs/api/classes/DefaultModuleManager.html | 4 ++-- docs/api/classes/EventExecutable.html | 4 ++-- docs/api/classes/ModuleStore.html | 4 ++-- docs/api/classes/SernEmitter.html | 4 ++-- docs/api/enums/CommandType.html | 4 ++-- docs/api/enums/EventType.html | 4 ++-- docs/api/enums/PayloadType.html | 4 ++-- docs/api/enums/PluginType.html | 4 ++-- docs/api/enums/SernError.html | 4 ++-- docs/api/interfaces/AutocompleteCommand.html | 4 ++-- docs/api/interfaces/AutocompletePlugin.html | 4 ++-- docs/api/interfaces/BothCommand.html | 4 ++-- docs/api/interfaces/ButtonCommand.html | 4 ++-- docs/api/interfaces/ChannelSelectCommand.html | 4 ++-- docs/api/interfaces/CommandError.Response.html | 4 ++-- docs/api/interfaces/CommandModuleDefs.html | 4 ++-- docs/api/interfaces/CommandPlugin.html | 4 ++-- docs/api/interfaces/ContextMenuMsg.html | 4 ++-- docs/api/interfaces/ContextMenuUser.html | 4 ++-- docs/api/interfaces/ControlPlugin.html | 4 ++-- docs/api/interfaces/Controller.html | 4 ++-- docs/api/interfaces/CoreDependencies.html | 4 ++-- docs/api/interfaces/CoreModuleStore.html | 4 ++-- docs/api/interfaces/Dependencies.html | 4 ++-- docs/api/interfaces/DependencyConfiguration.html | 4 ++-- docs/api/interfaces/DiscordEmitterPlugin.html | 4 ++-- docs/api/interfaces/DiscordEventCommand.html | 4 ++-- docs/api/interfaces/DiscordEventPlugin.html | 4 ++-- docs/api/interfaces/Disposable.html | 4 ++-- docs/api/interfaces/Emitter.html | 4 ++-- docs/api/interfaces/ErrorHandling.html | 4 ++-- docs/api/interfaces/EventModuleDefs.html | 4 ++-- docs/api/interfaces/EventPlugin.html | 4 ++-- docs/api/interfaces/ExternalEmitterPlugin.html | 4 ++-- docs/api/interfaces/ExternalEventCommand.html | 4 ++-- docs/api/interfaces/ExternalEventPlugin.html | 4 ++-- docs/api/interfaces/Init.html | 4 ++-- docs/api/interfaces/InitArgs.html | 4 ++-- docs/api/interfaces/InitPlugin.html | 4 ++-- docs/api/interfaces/Logging.html | 4 ++-- docs/api/interfaces/MentionableSelectCommand.html | 4 ++-- docs/api/interfaces/ModalSubmitCommand.html | 4 ++-- docs/api/interfaces/Module.html | 4 ++-- docs/api/interfaces/ModuleManager.html | 4 ++-- docs/api/interfaces/Plugin.html | 4 ++-- docs/api/interfaces/Presence.Result.html | 4 ++-- docs/api/interfaces/RoleSelectCommand.html | 4 ++-- docs/api/interfaces/SernAutocompleteData.html | 4 ++-- docs/api/interfaces/SernEmitterPlugin.html | 4 ++-- docs/api/interfaces/SernEventCommand.html | 4 ++-- docs/api/interfaces/SernEventPlugin.html | 4 ++-- docs/api/interfaces/SernEventsMapping.html | 4 ++-- docs/api/interfaces/SernSubCommandData.html | 4 ++-- docs/api/interfaces/SernSubCommandGroupData.html | 4 ++-- docs/api/interfaces/SlashCommand.html | 4 ++-- docs/api/interfaces/StringSelectCommand.html | 4 ++-- docs/api/interfaces/TextCommand.html | 4 ++-- docs/api/interfaces/UserSelectCommand.html | 4 ++-- docs/api/interfaces/Wrapper.html | 4 ++-- docs/api/modules.html | 4 ++-- docs/api/namespaces/CommandError.html | 4 ++-- docs/api/namespaces/Presence.html | 4 ++-- docs/api/namespaces/Sern.html | 4 ++-- docs/cli.html | 4 ++-- docs/cli/build.html | 4 ++-- docs/cli/clear.html | 4 ++-- docs/cli/extra.html | 4 ++-- docs/cli/publish.html | 4 ++-- docs/guide.html | 4 ++-- docs/guide/getting-started/choose-ide.html | 4 ++-- docs/guide/getting-started/preparing.html | 4 ++-- docs/guide/walkthrough/autocomplete.html | 4 ++-- docs/guide/walkthrough/cli.html | 4 ++-- docs/guide/walkthrough/conclusion.html | 4 ++-- docs/guide/walkthrough/dependency-injection.html | 4 ++-- docs/guide/walkthrough/first-command.html | 4 ++-- docs/guide/walkthrough/first-event.html | 4 ++-- docs/guide/walkthrough/goal.html | 4 ++-- docs/guide/walkthrough/good-to-know.html | 4 ++-- docs/guide/walkthrough/new-project.html | 4 ++-- docs/guide/walkthrough/plugins.html | 4 ++-- docs/guide/walkthrough/sern-emitter.html | 4 ++-- docs/guide/walkthrough/services.html | 4 ++-- docs/guide/walkthrough/transition.html | 4 ++-- docs/intro.html | 4 ++-- index.html | 4 ++-- markdown-page.html | 4 ++-- plugins.html | 4 ++-- search.html | 4 ++-- 392 files changed, 359 insertions(+), 359 deletions(-) delete mode 100644 assets/js/01a85c17.0d8abe99.js create mode 100644 assets/js/01a85c17.90531079.js create mode 100644 assets/js/083c37a9.86bfbeff.js delete mode 100644 assets/js/083c37a9.96cbf01a.js delete mode 100644 assets/js/0a33f845.2a4f4acd.js create mode 100644 assets/js/0a33f845.363a9226.js create mode 100644 assets/js/0c9bead8.0c0b05da.js delete mode 100644 assets/js/0c9bead8.384ea4e6.js delete mode 100644 assets/js/0e384e19.28657b0d.js create mode 100644 assets/js/0e384e19.9d7c7828.js delete mode 100644 assets/js/17896441.65eadaff.js create mode 100644 assets/js/17896441.7d56c575.js create mode 100644 assets/js/1a1cc5f0.17a326b8.js delete mode 100644 assets/js/1a1cc5f0.545edb1a.js delete mode 100644 assets/js/1a4e3797.39c8a6ed.js create mode 100644 assets/js/1a4e3797.49002bda.js rename assets/js/{1a4e3797.39c8a6ed.js.LICENSE.txt => 1a4e3797.49002bda.js.LICENSE.txt} (100%) delete mode 100644 assets/js/1ac1bfe9.05055114.js create mode 100644 assets/js/1ac1bfe9.0d260689.js create mode 100644 assets/js/1adeaf48.14b0065c.js delete mode 100644 assets/js/1adeaf48.9759b55c.js create mode 100644 assets/js/1aef51bd.5eac930b.js delete mode 100644 assets/js/1aef51bd.b9ad6d3a.js create mode 100644 assets/js/1b0c702f.9d246b30.js delete mode 100644 assets/js/1b0c702f.a399cc7c.js create mode 100644 assets/js/1c127a4d.21346482.js delete mode 100644 assets/js/1c127a4d.826f2d62.js create mode 100644 assets/js/1f391b9e.1e64a77c.js delete mode 100644 assets/js/1f391b9e.3ba9c245.js create mode 100644 assets/js/2237.1c63dc97.js delete mode 100644 assets/js/2237.2d1a0a6e.js delete mode 100644 assets/js/26f1f3a5.38b5f01c.js create mode 100644 assets/js/26f1f3a5.f676ae71.js delete mode 100644 assets/js/295686f2.2a44d0d4.js create mode 100644 assets/js/295686f2.37339aaa.js create mode 100644 assets/js/2caf5b7a.8f40ea21.js delete mode 100644 assets/js/2caf5b7a.d44a2d10.js delete mode 100644 assets/js/2e208732.89c9b46b.js create mode 100644 assets/js/2e208732.ab044513.js delete mode 100644 assets/js/2f13d849.230cdf86.js create mode 100644 assets/js/2f13d849.d7e6f345.js create mode 100644 assets/js/3020eeee.d9454985.js delete mode 100644 assets/js/3020eeee.ddeea7c0.js create mode 100644 assets/js/312c2bc5.5e750258.js delete mode 100644 assets/js/312c2bc5.69b35d37.js create mode 100644 assets/js/393be207.2d2d9a50.js delete mode 100644 assets/js/393be207.f6c7b1fd.js create mode 100644 assets/js/3a0cb3a9.426f7f68.js delete mode 100644 assets/js/3a0cb3a9.8f712e5b.js create mode 100644 assets/js/3a25b5a8.62806fd5.js delete mode 100644 assets/js/3a25b5a8.8950a65c.js delete mode 100644 assets/js/3a2d3092.6c0205f0.js create mode 100644 assets/js/3a2d3092.e959f693.js delete mode 100644 assets/js/3ae57366.9c3b8034.js create mode 100644 assets/js/3ae57366.d8e93ec3.js create mode 100644 assets/js/3b15a34b.36b96dbf.js delete mode 100644 assets/js/3b15a34b.ca5fe935.js delete mode 100644 assets/js/3dc7c79a.707a083b.js create mode 100644 assets/js/3dc7c79a.ee6642c4.js delete mode 100644 assets/js/3f83d40d.650fdbc3.js create mode 100644 assets/js/3f83d40d.f118a07d.js delete mode 100644 assets/js/416.05ad920d.js create mode 100644 assets/js/416.565dfe5d.js create mode 100644 assets/js/425cbb82.1ead19ab.js delete mode 100644 assets/js/425cbb82.c43df7a1.js create mode 100644 assets/js/4279c33d.3583cb39.js delete mode 100644 assets/js/4279c33d.c0d97df9.js create mode 100644 assets/js/447d9066.4580f5f8.js delete mode 100644 assets/js/447d9066.c1126721.js delete mode 100644 assets/js/462b6925.0bbd173d.js create mode 100644 assets/js/462b6925.1337daf9.js create mode 100644 assets/js/46963930.5afcf98a.js delete mode 100644 assets/js/46963930.7112f6df.js delete mode 100644 assets/js/476a0444.10f0d0df.js create mode 100644 assets/js/476a0444.1a50865b.js delete mode 100644 assets/js/4b098d2e.4e2d908b.js create mode 100644 assets/js/4b098d2e.611cddf3.js delete mode 100644 assets/js/4d00c3f4.87b40635.js create mode 100644 assets/js/4d00c3f4.919008e9.js create mode 100644 assets/js/4e28a08b.0533eba9.js delete mode 100644 assets/js/4e28a08b.642a9389.js create mode 100644 assets/js/4fef5a93.9c85f814.js delete mode 100644 assets/js/4fef5a93.c85e3bd8.js create mode 100644 assets/js/522b21a2.0f1c9994.js delete mode 100644 assets/js/522b21a2.4178f9de.js create mode 100644 assets/js/53944420.ad694c41.js delete mode 100644 assets/js/53944420.f839c60a.js delete mode 100644 assets/js/54bc704d.a55fb4e7.js create mode 100644 assets/js/54bc704d.d663c813.js create mode 100644 assets/js/57fe7727.4c1aba11.js delete mode 100644 assets/js/57fe7727.fdd8e144.js delete mode 100644 assets/js/5ae130ee.2ef7ba33.js create mode 100644 assets/js/5ae130ee.bc5c088a.js delete mode 100644 assets/js/5bc4ccbc.d0bbd674.js create mode 100644 assets/js/5bc4ccbc.f20f150a.js create mode 100644 assets/js/5e8c322a.b5738332.js delete mode 100644 assets/js/5e8c322a.dcb838c1.js delete mode 100644 assets/js/5e95c892.3abda5eb.js create mode 100644 assets/js/5e95c892.3c5661f6.js delete mode 100644 assets/js/608ca171.06188167.js create mode 100644 assets/js/608ca171.62a6a6a8.js delete mode 100644 assets/js/61538263.3458e15f.js create mode 100644 assets/js/61538263.583d573f.js delete mode 100644 assets/js/65578b65.37356d76.js create mode 100644 assets/js/65578b65.79603fac.js create mode 100644 assets/js/6626dbb1.0740f761.js delete mode 100644 assets/js/6626dbb1.e181ddc9.js create mode 100644 assets/js/67348500.4102b0ec.js delete mode 100644 assets/js/67348500.87ebf2e0.js create mode 100644 assets/js/67e3e25a.65644288.js delete mode 100644 assets/js/67e3e25a.6a6e49eb.js delete mode 100644 assets/js/6875c492.843c62d7.js create mode 100644 assets/js/6875c492.95d8358c.js delete mode 100644 assets/js/69369ae2.4e184edd.js create mode 100644 assets/js/69369ae2.5d8b0482.js create mode 100644 assets/js/6b841b38.8168245a.js delete mode 100644 assets/js/6b841b38.d018fc2c.js delete mode 100644 assets/js/6ba1d2c1.4c556a1d.js create mode 100644 assets/js/6ba1d2c1.5a87af8a.js create mode 100644 assets/js/6c624b4c.8c48b52c.js delete mode 100644 assets/js/6c624b4c.d2965a4f.js delete mode 100644 assets/js/6cfc4513.abe64872.js create mode 100644 assets/js/6cfc4513.eb58f2d8.js delete mode 100644 assets/js/6e55d25c.1c13be5c.js create mode 100644 assets/js/6e55d25c.4e3858c6.js create mode 100644 assets/js/6ff82968.5b0195de.js delete mode 100644 assets/js/6ff82968.97698922.js create mode 100644 assets/js/701614d9.a0b5248c.js delete mode 100644 assets/js/701614d9.c950b9e1.js create mode 100644 assets/js/707baeff.6210bcc5.js delete mode 100644 assets/js/707baeff.d359d8ee.js create mode 100644 assets/js/720cd117.11a04cd9.js delete mode 100644 assets/js/720cd117.d46955be.js delete mode 100644 assets/js/7343edf0.15c84cc2.js create mode 100644 assets/js/7343edf0.4faef6eb.js create mode 100644 assets/js/73bd57bd.b1098304.js delete mode 100644 assets/js/73bd57bd.f5cedfa7.js delete mode 100644 assets/js/74e316f4.750b3a2e.js create mode 100644 assets/js/74e316f4.754f56ff.js delete mode 100644 assets/js/77a07764.4f555e6f.js create mode 100644 assets/js/77a07764.c63bd577.js delete mode 100644 assets/js/79e7cc44.552abfaf.js create mode 100644 assets/js/79e7cc44.ec89a63b.js delete mode 100644 assets/js/7b758ddf.a9859c3b.js create mode 100644 assets/js/7b758ddf.bebefb7e.js delete mode 100644 assets/js/7c2ff145.1e0d381c.js create mode 100644 assets/js/7c2ff145.d5069700.js delete mode 100644 assets/js/7cd974c8.1142550f.js create mode 100644 assets/js/7cd974c8.c732cb51.js delete mode 100644 assets/js/7e205c4a.030c48fa.js create mode 100644 assets/js/7e205c4a.468206c4.js create mode 100644 assets/js/7f2ac8b7.126f370e.js delete mode 100644 assets/js/7f2ac8b7.5f98af8b.js create mode 100644 assets/js/814f3328.2f7d455e.js delete mode 100644 assets/js/814f3328.863c6bec.js delete mode 100644 assets/js/82474f76.6181b312.js create mode 100644 assets/js/82474f76.a3f2f6f9.js delete mode 100644 assets/js/82cdda05.77f16012.js create mode 100644 assets/js/82cdda05.dcdcf129.js delete mode 100644 assets/js/83d480e9.006ac8a0.js create mode 100644 assets/js/83d480e9.6fc38056.js delete mode 100644 assets/js/85456a26.a7196af7.js create mode 100644 assets/js/85456a26.e1958609.js delete mode 100644 assets/js/86b8ce54.24e8c357.js create mode 100644 assets/js/86b8ce54.3f8ce513.js delete mode 100644 assets/js/8747.217e6e01.js create mode 100644 assets/js/8747.34a2c022.js create mode 100644 assets/js/887ace0c.0ba35d30.js delete mode 100644 assets/js/887ace0c.d36efef3.js delete mode 100644 assets/js/888566f1.549c88f4.js create mode 100644 assets/js/888566f1.8c07be1a.js delete mode 100644 assets/js/8906.542ab720.js create mode 100644 assets/js/8906.60966fb0.js create mode 100644 assets/js/8913.9af1ee1a.js delete mode 100644 assets/js/8913.ff3ea2a1.js delete mode 100644 assets/js/8a062262.5114827c.js create mode 100644 assets/js/8a062262.e880708f.js delete mode 100644 assets/js/90fdad0c.2dea85d1.js create mode 100644 assets/js/90fdad0c.74327896.js delete mode 100644 assets/js/916aad9f.4b968706.js create mode 100644 assets/js/916aad9f.4db272d1.js delete mode 100644 assets/js/9201de17.61b15a27.js create mode 100644 assets/js/9201de17.8c27dbe9.js delete mode 100644 assets/js/935f2afb.01d6ddfe.js create mode 100644 assets/js/935f2afb.f3ae504a.js delete mode 100644 assets/js/9462.ba451a0d.js create mode 100644 assets/js/9462.f8e58243.js create mode 100644 assets/js/9693de07.54a97dfa.js delete mode 100644 assets/js/9693de07.737e0fcb.js delete mode 100644 assets/js/97c22b42.84f91ac8.js create mode 100644 assets/js/97c22b42.c1d9e5f3.js delete mode 100644 assets/js/981f6151.2f6594b6.js create mode 100644 assets/js/981f6151.a5d396f1.js create mode 100644 assets/js/9b620520.7c940e6e.js delete mode 100644 assets/js/9b620520.e73443f9.js delete mode 100644 assets/js/9c021584.d1a1a7fd.js create mode 100644 assets/js/9c021584.ed65ee60.js create mode 100644 assets/js/9e4087bc.1f4ede9b.js delete mode 100644 assets/js/9e4087bc.29cb6b74.js delete mode 100644 assets/js/9f1290f8.30fea7cc.js create mode 100644 assets/js/9f1290f8.547349cf.js delete mode 100644 assets/js/a0b9ee13.115f3f17.js create mode 100644 assets/js/a0b9ee13.6fa98a10.js delete mode 100644 assets/js/a0fd2c7a.0af82df9.js create mode 100644 assets/js/a0fd2c7a.cf596def.js delete mode 100644 assets/js/a3030d1c.f34b7267.js create mode 100644 assets/js/a3030d1c.ffbeb2dd.js delete mode 100644 assets/js/a4d0ee3e.b7fcb25c.js create mode 100644 assets/js/a4d0ee3e.e3a67608.js delete mode 100644 assets/js/a5467962.47df66eb.js create mode 100644 assets/js/a5467962.957e053c.js create mode 100644 assets/js/a6aa9e1f.2d113433.js delete mode 100644 assets/js/a6aa9e1f.60a6d58a.js delete mode 100644 assets/js/a6d8dddc.3e25a3ca.js create mode 100644 assets/js/a6d8dddc.72dbc8e5.js create mode 100644 assets/js/a7023ddc.6615db4d.js delete mode 100644 assets/js/a7023ddc.918d1802.js delete mode 100644 assets/js/a727fde1.109c75ae.js create mode 100644 assets/js/a727fde1.8a42dc17.js delete mode 100644 assets/js/a7bd4aaa.46f7bdd0.js create mode 100644 assets/js/a7bd4aaa.5a4646c2.js create mode 100644 assets/js/a94703ab.35d0f890.js delete mode 100644 assets/js/a94703ab.cf20eb79.js delete mode 100644 assets/js/a96c96b0.806c00f2.js create mode 100644 assets/js/a96c96b0.f3e38592.js delete mode 100644 assets/js/b134d7b8.f461b4a2.js create mode 100644 assets/js/b134d7b8.fa79e1ca.js create mode 100644 assets/js/b2b675dd.3bcec961.js delete mode 100644 assets/js/b2b675dd.bc281ef4.js create mode 100644 assets/js/b2f554cd.11ce5c09.js delete mode 100644 assets/js/b2f554cd.9fbf7b4b.js delete mode 100644 assets/js/b654e1cf.4ee260c2.js create mode 100644 assets/js/b654e1cf.5b8b0fa5.js delete mode 100644 assets/js/b91ce718.376412a9.js create mode 100644 assets/js/b91ce718.910fbf3c.js create mode 100644 assets/js/bcd9df7e.3d35bdb2.js delete mode 100644 assets/js/bcd9df7e.c0820045.js delete mode 100644 assets/js/beef0c9d.ac0a5b88.js create mode 100644 assets/js/beef0c9d.bf88ad5a.js create mode 100644 assets/js/c0846785.305a360d.js delete mode 100644 assets/js/c0846785.fe615f3f.js delete mode 100644 assets/js/c0930fba.0e0a34af.js create mode 100644 assets/js/c0930fba.b42d0612.js delete mode 100644 assets/js/c4348237.93d9895a.js create mode 100644 assets/js/c4348237.e83a81df.js delete mode 100644 assets/js/c4f5d8e4.d6e34982.js create mode 100644 assets/js/c4f5d8e4.ddc0d8f8.js delete mode 100644 assets/js/c606405e.5bb9f87f.js create mode 100644 assets/js/c606405e.60902698.js create mode 100644 assets/js/ccc49370.93ff3c1b.js delete mode 100644 assets/js/ccc49370.a2f2ba19.js create mode 100644 assets/js/cf183316.3eea489e.js delete mode 100644 assets/js/cf183316.bf59ef91.js delete mode 100644 assets/js/cfb1619e.71584d6d.js create mode 100644 assets/js/cfb1619e.f2ad3e8a.js create mode 100644 assets/js/d9ea5336.000c3bf1.js delete mode 100644 assets/js/d9ea5336.ab48f1a1.js create mode 100644 assets/js/e04ffa77.29f778fe.js delete mode 100644 assets/js/e04ffa77.71324374.js create mode 100644 assets/js/e2a53654.3ec46d07.js delete mode 100644 assets/js/e2a53654.ee436f61.js create mode 100644 assets/js/e4877132.c034fb72.js delete mode 100644 assets/js/e4877132.fdee4638.js delete mode 100644 assets/js/e84a24a4.4843cb78.js create mode 100644 assets/js/e84a24a4.70f4d4b3.js create mode 100644 assets/js/e8e3d8c7.0fa3bc4f.js delete mode 100644 assets/js/e8e3d8c7.30c1b798.js create mode 100644 assets/js/edc18331.76541685.js delete mode 100644 assets/js/edc18331.76d7ca11.js create mode 100644 assets/js/eea0bf40.0987eddd.js delete mode 100644 assets/js/eea0bf40.2f9eb929.js delete mode 100644 assets/js/f0726797.42e836a8.js create mode 100644 assets/js/f0726797.c5e1d253.js delete mode 100644 assets/js/f1cc380d.554d42ec.js create mode 100644 assets/js/f1cc380d.8fc03fdc.js create mode 100644 assets/js/f6aebfbf.2f3ff35c.js delete mode 100644 assets/js/f6aebfbf.6ae285b1.js create mode 100644 assets/js/f7831d67.1fff8d58.js delete mode 100644 assets/js/f7831d67.c6425cbb.js create mode 100644 assets/js/main.619aeb47.js rename assets/js/{main.e966d442.js.LICENSE.txt => main.619aeb47.js.LICENSE.txt} (100%) delete mode 100644 assets/js/main.e966d442.js delete mode 100644 assets/js/runtime~main.2d8a3c3a.js create mode 100644 assets/js/runtime~main.c5a338a9.js diff --git a/404.html b/404.html index e90276ad3..dd3e17c28 100644 --- a/404.html +++ b/404.html @@ -11,8 +11,8 @@ - - + +
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
["'])(?.*?)\1/,a=/\{(? [\d,-]+)\}/,i={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"},lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""}};function r(e,t){const n=e.map((e=>{const{start:n,end:s}=i[e];return`(?:${n}\\s*(${t.flatMap((e=>[e.line,e.block?.start,e.block?.end].filter(Boolean))).join("|")})\\s*${s})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function l(e){return e?.match(c)?.groups.title??""}function d(e){return Boolean(e?.includes("showLineNumbers"))}function u(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}function m(e,t){let n=e.replace(/\n$/,"");const{language:s,magicComments:c,metastring:l}=t;if(l&&a.test(l)){const e=l.match(a).groups.range;if(0===c.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${l}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=c[0].className,s=o()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(s),code:n}}if(void 0===s)return{lineClassNames:{},code:n};const d=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return r(["js","jsBlock"],t);case"jsx":case"tsx":return r(["js","jsBlock","jsx"],t);case"html":return r(["js","jsBlock","html"],t);case"python":case"py":case"bash":return r(["bash"],t);case"markdown":case"md":return r(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return r(["tex"],t);case"lua":case"haskell":case"sql":return r(["lua"],t);case"wasm":return r(["wasm"],t);default:return r(Object.keys(i).filter((e=>!["lua","wasm","tex","latex","matlab"].includes(e))),t)}}(s,c),u=n.split("\n"),m=Object.fromEntries(c.map((e=>[e.className,{start:0,range:""}]))),h=Object.fromEntries(c.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),p=Object.fromEntries(c.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),f=Object.fromEntries(c.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let o=0;o void 0!==e));h[t]?m[h[t]].range+=`${o},`:p[t]?m[p[t]].start=o:f[t]&&(m[f[t]].range+=`${m[f[t]].start}-${o-1},`),u.splice(o,1)}n=u.join("\n");const x={};return Object.entries(m).forEach((e=>{let[t,{range:n}]=e;o()(n).forEach((e=>{x[e]??=[],x[e].push(t)}))})),{lineClassNames:x,code:n}}function h(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[s,o]=e;const c=t[s];c&&"string"==typeof o&&(n[c]=o)})),n}},7562:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});const s={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"}},8426:(e,t)=>{function n(e){let t,n=[];for(let s of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(s))n.push(parseInt(s,10));else if(t=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,s,o,c]=t;if(s&&c){s=parseInt(s),c=parseInt(c);const e=s {"use strict";n.d(t,{R:()=>a,x:()=>i});var s=n(6540);const o={},c=s.createContext(o);function a(e){const t=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),s.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/8906.60966fb0.js b/assets/js/8906.60966fb0.js new file mode 100644 index 000000000..120fc7360 --- /dev/null +++ b/assets/js/8906.60966fb0.js @@ -0,0 +1 @@ +(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[8906],{7293:(e,t,n)=>{"use strict";n.d(t,{A:()=>E});var s=n(6540),o=n(4848);function c(e){const{mdxAdmonitionTitle:t,rest:n}=function(e){const t=s.Children.toArray(e),n=t.find((e=>s.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),c=t.filter((e=>e!==n)),a=n?.props.children;return{mdxAdmonitionTitle:a,rest:c.length>0?(0,o.jsx)(o.Fragment,{children:c}):null}}(e.children),c=e.title??t;return{...e,...c&&{title:c},children:n}}var a=n(53),i=n(1312),r=n(7559);const l={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};function d(e){let{type:t,className:n,children:s}=e;return(0,o.jsx)("div",{className:(0,a.A)(r.G.common.admonition,r.G.common.admonitionType(t),l.admonition,n),children:s})}function u(e){let{icon:t,title:n}=e;return(0,o.jsxs)("div",{className:l.admonitionHeading,children:[(0,o.jsx)("span",{className:l.admonitionIcon,children:t}),n]})}function m(e){let{children:t}=e;return t?(0,o.jsx)("div",{className:l.admonitionContent,children:t}):null}function h(e){const{type:t,icon:n,title:s,children:c,className:a}=e;return(0,o.jsxs)(d,{type:t,className:a,children:[(0,o.jsx)(u,{title:s,icon:n}),(0,o.jsx)(m,{children:c})]})}function p(e){return(0,o.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const f={icon:(0,o.jsx)(p,{}),title:(0,o.jsx)(i.A,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function x(e){return(0,o.jsx)(h,{...f,...e,className:(0,a.A)("alert alert--secondary",e.className),children:e.children})}function g(e){return(0,o.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const b={icon:(0,o.jsx)(g,{}),title:(0,o.jsx)(i.A,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function j(e){return(0,o.jsx)(h,{...b,...e,className:(0,a.A)("alert alert--success",e.className),children:e.children})}function v(e){return(0,o.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const N={icon:(0,o.jsx)(v,{}),title:(0,o.jsx)(i.A,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function k(e){return(0,o.jsx)(h,{...N,...e,className:(0,a.A)("alert alert--info",e.className),children:e.children})}function y(e){return(0,o.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const A={icon:(0,o.jsx)(y,{}),title:(0,o.jsx)(i.A,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function B(e){return(0,o.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const C={icon:(0,o.jsx)(B,{}),title:(0,o.jsx)(i.A,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const w={icon:(0,o.jsx)(y,{}),title:(0,o.jsx)(i.A,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const L={...{note:x,tip:j,info:k,warning:function(e){return(0,o.jsx)(h,{...A,...e,className:(0,a.A)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,o.jsx)(h,{...C,...e,className:(0,a.A)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,o.jsx)(x,{title:"secondary",...e}),important:e=>(0,o.jsx)(k,{title:"important",...e}),success:e=>(0,o.jsx)(j,{title:"success",...e}),caution:function(e){return(0,o.jsx)(h,{...w,...e,className:(0,a.A)("alert alert--warning",e.className),children:e.children})}}};function E(e){const t=c(e),n=(s=t.type,L[s]||(console.warn(`No admonition component found for admonition type "${s}". Using Info as fallback.`),L.info));var s;return(0,o.jsx)(n,{...t})}},7795:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});n(6540);var s=n(53),o=n(6058),c=n(7559),a=n(4291);const i={codeBlockContainer:"codeBlockContainer_Ckt0"};var r=n(4848);function l(e){let{as:t,...n}=e;const l=(0,o.A)(),d=(0,a.M$)(l);return(0,r.jsx)(t,{...n,style:d,className:(0,s.A)(n.className,i.codeBlockContainer,c.G.common.codeBlock)})}},6846:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});n(6540);var s=n(53),o=n(7795),c=n(7562),a=n(4848);function i(e){let{children:t,className:n}=e;return(0,a.jsx)(o.A,{as:"pre",tabIndex:0,className:(0,s.A)(c.A.codeBlockStandalone,"thin-scrollbar",n),children:(0,a.jsx)("code",{className:c.A.codeBlockLines,children:t})})}},3717:(e,t,n)=>{"use strict";n.d(t,{A:()=>B});var s=n(6540),o=n(53),c=n(6342),a=n(6058),i=n(4291),r=n(9532);const l={attributes:!0,characterData:!0,childList:!0,subtree:!0};function d(e,t){const[n,o]=(0,s.useState)(),c=(0,s.useCallback)((()=>{o(e.current?.closest("[role=tabpanel][hidden]"))}),[e,o]);(0,s.useEffect)((()=>{c()}),[c]),function(e,t,n){void 0===n&&(n=l);const o=(0,r._q)(t),c=(0,r.Be)(n);(0,s.useEffect)((()=>{const t=new MutationObserver(o);return e&&t.observe(e,c),()=>t.disconnect()}),[e,o,c])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),c())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var u=n(8181);const m={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};var h=n(4848);function p(e){let{line:t,classNames:n,showLineNumbers:s,getLineProps:c,getTokenProps:a}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const i=c({line:t,className:(0,o.A)(n,s&&m.codeLine)}),r=t.map(((e,t)=>(0,h.jsx)("span",{...a({token:e,key:t})},t)));return(0,h.jsxs)("span",{...i,children:[s?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("span",{className:m.codeLineNumber}),(0,h.jsx)("span",{className:m.codeLineContent,children:r})]}):r,(0,h.jsx)("br",{})]})}var f=n(1312);function x(e){return(0,h.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,h.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function g(e){return(0,h.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,h.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const b={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function j(e){let{code:t,className:n}=e;const[c,a]=(0,s.useState)(!1),i=(0,s.useRef)(void 0),r=(0,s.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const s=document.createElement("textarea"),o=document.activeElement;s.value=e,s.setAttribute("readonly",""),s.style.contain="strict",s.style.position="absolute",s.style.left="-9999px",s.style.fontSize="12pt";const c=document.getSelection(),a=c.rangeCount>0&&c.getRangeAt(0);n.append(s),s.select(),s.selectionStart=0,s.selectionEnd=e.length;let i=!1;try{i=document.execCommand("copy")}catch{}s.remove(),a&&(c.removeAllRanges(),c.addRange(a)),o&&o.focus()}(t),a(!0),i.current=window.setTimeout((()=>{a(!1)}),1e3)}),[t]);return(0,s.useEffect)((()=>()=>window.clearTimeout(i.current)),[]),(0,h.jsx)("button",{type:"button","aria-label":c?(0,f.T)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,f.T)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,f.T)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,o.A)("clean-btn",n,b.copyButton,c&&b.copyButtonCopied),onClick:r,children:(0,h.jsxs)("span",{className:b.copyButtonIcons,"aria-hidden":"true",children:[(0,h.jsx)(x,{className:b.copyButtonIcon}),(0,h.jsx)(g,{className:b.copyButtonSuccessIcon})]})})}function v(e){return(0,h.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,h.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const N={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function k(e){let{className:t,onClick:n,isEnabled:s}=e;const c=(0,f.T)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,h.jsx)("button",{type:"button",onClick:n,className:(0,o.A)("clean-btn",t,s&&N.wordWrapButtonEnabled),"aria-label":c,title:c,children:(0,h.jsx)(v,{className:N.wordWrapButtonIcon,"aria-hidden":"true"})})}var y=n(7795),A=n(7562);function B(e){let{children:t,className:n="",metastring:r,title:l,showLineNumbers:m,language:f}=e;const{prism:{defaultLanguage:x,magicComments:g}}=(0,c.p)(),b=function(e){return e?.toLowerCase()}(f??(0,i.Op)(n)??x),v=(0,a.A)(),N=function(){const[e,t]=(0,s.useState)(!1),[n,o]=(0,s.useState)(!1),c=(0,s.useRef)(null),a=(0,s.useCallback)((()=>{const n=c.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[c,e]),i=(0,s.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=c.current,n=e>t||c.current.querySelector("code").hasAttribute("style");o(n)}),[c]);return d(c,i),(0,s.useEffect)((()=>{i()}),[e,i]),(0,s.useEffect)((()=>(window.addEventListener("resize",i,{passive:!0}),()=>{window.removeEventListener("resize",i)})),[i]),{codeBlockRef:c,isEnabled:e,isCodeScrollable:n,toggle:a}}(),B=(0,i.wt)(r)||l,{lineClassNames:C,code:w}=(0,i.Li)(t,{metastring:r,language:b,magicComments:g}),L=m??(0,i._u)(r);return(0,h.jsxs)(y.A,{as:"div",className:(0,o.A)(n,b&&!n.includes(`language-${b}`)&&`language-${b}`),children:[B&&(0,h.jsx)("div",{className:A.A.codeBlockTitle,children:B}),(0,h.jsxs)("div",{className:A.A.codeBlockContent,children:[(0,h.jsx)(u.f4,{theme:v,code:w,language:b??"text",children:e=>{let{className:t,style:n,tokens:s,getLineProps:c,getTokenProps:a}=e;return(0,h.jsx)("pre",{tabIndex:0,ref:N.codeBlockRef,className:(0,o.A)(t,A.A.codeBlock,"thin-scrollbar"),style:n,children:(0,h.jsx)("code",{className:(0,o.A)(A.A.codeBlockLines,L&&A.A.codeBlockLinesWithNumbering),children:s.map(((e,t)=>(0,h.jsx)(p,{line:e,getLineProps:c,getTokenProps:a,classNames:C[t],showLineNumbers:L},t)))})})}}),(0,h.jsxs)("div",{className:A.A.buttonGroup,children:[(N.isEnabled||N.isCodeScrollable)&&(0,h.jsx)(k,{className:A.A.codeButton,onClick:()=>N.toggle(),isEnabled:N.isEnabled}),(0,h.jsx)(j,{className:A.A.codeButton,code:w})]})]})]})}},8645:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var s=n(6540),o=n(8453),c=n(5260),a=n(4428),i=n(4848);var r=n(5489);var l=n(53),d=n(2303),u=n(1422);const m={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"};function h(e){return!!e&&("SUMMARY"===e.tagName||h(e.parentElement))}function p(e,t){return!!e&&(e===t||p(e.parentElement,t))}function f(e){let{summary:t,children:n,...o}=e;const c=(0,d.A)(),a=(0,s.useRef)(null),{collapsed:r,setCollapsed:f}=(0,u.u)({initialState:!o.open}),[x,g]=(0,s.useState)(o.open),b=s.isValidElement(t)?t:(0,i.jsx)("summary",{children:t??"Details"});return(0,i.jsxs)("details",{...o,ref:a,open:x,"data-collapsed":r,className:(0,l.A)(m.details,c&&m.isBrowser,o.className),onMouseDown:e=>{h(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;h(t)&&p(t,a.current)&&(e.preventDefault(),r?(f(!1),g(!0)):f(!0))},children:[b,(0,i.jsx)(u.N,{lazy:!1,collapsed:r,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{f(e),g(!e)},children:(0,i.jsx)("div",{className:m.collapsibleContent,children:n})})]})}const x={details:"details_b_Ee"},g="alert alert--info";function b(e){let{...t}=e;return(0,i.jsx)(f,{...t,className:(0,l.A)(g,x.details,t.className)})}function j(e){const t=s.Children.toArray(e.children),n=t.find((e=>s.isValidElement(e)&&"summary"===e.type)),o=(0,i.jsx)(i.Fragment,{children:t.filter((e=>e!==n))});return(0,i.jsx)(b,{...e,summary:n,children:o})}var v=n(1107);function N(e){return(0,i.jsx)(v.A,{...e})}const k={containsTaskList:"containsTaskList_mC6p"};function y(e){if(void 0!==e)return(0,l.A)(e,e?.includes("contains-task-list")&&k.containsTaskList)}const A={img:"img_ev3q"};var B=n(7293);const C={Head:c.A,details:j,Details:j,code:function(e){return s.Children.toArray(e.children).every((e=>"string"==typeof e&&!e.includes("\n")))?(0,i.jsx)("code",{...e}):(0,i.jsx)(a.A,{...e})},a:function(e){return(0,i.jsx)(r.A,{...e})},pre:function(e){return(0,i.jsx)(i.Fragment,{children:e.children})},ul:function(e){return(0,i.jsx)("ul",{...e,className:y(e.className)})},img:function(e){return(0,i.jsx)("img",{loading:"lazy",...e,className:(t=e.className,(0,l.A)(t,A.img))});var t},h1:e=>(0,i.jsx)(N,{as:"h1",...e}),h2:e=>(0,i.jsx)(N,{as:"h2",...e}),h3:e=>(0,i.jsx)(N,{as:"h3",...e}),h4:e=>(0,i.jsx)(N,{as:"h4",...e}),h5:e=>(0,i.jsx)(N,{as:"h5",...e}),h6:e=>(0,i.jsx)(N,{as:"h6",...e}),admonition:B.A,mermaid:()=>null};function w(e){let{children:t}=e;return(0,i.jsx)(o.x,{components:C,children:t})}},6058:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var s=n(5293),o=n(6342);function c(){const{prism:e}=(0,o.p)(),{colorMode:t}=(0,s.G)(),n=e.theme,c=e.darkTheme||n;return"dark"===t?c:n}},4291:(e,t,n)=>{"use strict";n.d(t,{Li:()=>m,M$:()=>h,Op:()=>u,_u:()=>d,wt:()=>l});var s=n(8426),o=n.n(s);const c=/title=(? ["'])(?.*?)\1/,a=/\{(? [\d,-]+)\}/,i={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"},lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""}};function r(e,t){const n=e.map((e=>{const{start:n,end:s}=i[e];return`(?:${n}\\s*(${t.flatMap((e=>[e.line,e.block?.start,e.block?.end].filter(Boolean))).join("|")})\\s*${s})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function l(e){return e?.match(c)?.groups.title??""}function d(e){return Boolean(e?.includes("showLineNumbers"))}function u(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}function m(e,t){let n=e.replace(/\n$/,"");const{language:s,magicComments:c,metastring:l}=t;if(l&&a.test(l)){const e=l.match(a).groups.range;if(0===c.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${l}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=c[0].className,s=o()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(s),code:n}}if(void 0===s)return{lineClassNames:{},code:n};const d=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return r(["js","jsBlock"],t);case"jsx":case"tsx":return r(["js","jsBlock","jsx"],t);case"html":return r(["js","jsBlock","html"],t);case"python":case"py":case"bash":return r(["bash"],t);case"markdown":case"md":return r(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return r(["tex"],t);case"lua":case"haskell":case"sql":return r(["lua"],t);case"wasm":return r(["wasm"],t);default:return r(Object.keys(i).filter((e=>!["lua","wasm","tex","latex","matlab"].includes(e))),t)}}(s,c),u=n.split("\n"),m=Object.fromEntries(c.map((e=>[e.className,{start:0,range:""}]))),h=Object.fromEntries(c.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),p=Object.fromEntries(c.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),f=Object.fromEntries(c.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let o=0;o void 0!==e));h[t]?m[h[t]].range+=`${o},`:p[t]?m[p[t]].start=o:f[t]&&(m[f[t]].range+=`${m[f[t]].start}-${o-1},`),u.splice(o,1)}n=u.join("\n");const x={};return Object.entries(m).forEach((e=>{let[t,{range:n}]=e;o()(n).forEach((e=>{x[e]??=[],x[e].push(t)}))})),{lineClassNames:x,code:n}}function h(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[s,o]=e;const c=t[s];c&&"string"==typeof o&&(n[c]=o)})),n}},7562:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});const s={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"}},8426:(e,t)=>{function n(e){let t,n=[];for(let s of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(s))n.push(parseInt(s,10));else if(t=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,s,o,c]=t;if(s&&c){s=parseInt(s),c=parseInt(c);const e=s {"use strict";n.d(t,{R:()=>a,x:()=>i});var s=n(6540);const o={},c=s.createContext(o);function a(e){const t=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),s.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/8913.9af1ee1a.js b/assets/js/8913.9af1ee1a.js new file mode 100644 index 000000000..8dd1d747a --- /dev/null +++ b/assets/js/8913.9af1ee1a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[8913],{8913:(e,s,b)=>{b.r(s)}}]); \ No newline at end of file diff --git a/assets/js/8913.ff3ea2a1.js b/assets/js/8913.ff3ea2a1.js deleted file mode 100644 index c0e2ceaea..000000000 --- a/assets/js/8913.ff3ea2a1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_sern_website=self.webpackChunk_sern_website||[]).push([[8913],{8913:(e,s,b)=>{b.r(s)}}]); \ No newline at end of file diff --git a/assets/js/8a062262.5114827c.js b/assets/js/8a062262.5114827c.js deleted file mode 100644 index ee588c5d6..000000000 --- a/assets/js/8a062262.5114827c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_sern_website=self.webpackChunk_sern_website||[]).push([[2684],{5147:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>c,contentTitle:()=>s,default:()=>o,frontMatter:()=>l,metadata:()=>t,toc:()=>h});var r=i(4848),d=i(8453);const l={id:"DiscordEventPlugin",title:"Interface: DiscordEventPlugin ",sidebar_label:"DiscordEventPlugin",sidebar_position:0,custom_edit_url:null},s=void 0,t={id:"api/interfaces/DiscordEventPlugin",title:"Interface: DiscordEventPlugin ",description:"Type parameters",source:"@site/docs/api/interfaces/DiscordEventPlugin.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/DiscordEventPlugin",permalink:"/docs/api/interfaces/DiscordEventPlugin",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"DiscordEventPlugin",title:"Interface: DiscordEventPlugin ",sidebar_label:"DiscordEventPlugin",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"DiscordEventCommand",permalink:"/docs/api/interfaces/DiscordEventCommand"},next:{title:"Disposable",permalink:"/docs/api/interfaces/Disposable"}},c={},h=[{value:"Type parameters",id:"type-parameters",level:2},{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:"Defined in",id:"defined-in-1",level:4},{value:"name",id:"name",level:3},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"type",id:"type",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Defined in",id:"defined-in-3",level:4}];function a(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:"type-parameters",children:"Type 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:"T"})}),(0,r.jsxs)(n.td,{style:{textAlign:"left"},children:["extends keyof ",(0,r.jsx)(n.code,{children:"ClientEvents"})," = keyof ",(0,r.jsx)(n.code,{children:"ClientEvents"})]})]})})]}),"\n",(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.a,{href:"/docs/api/interfaces/Plugin",children:(0,r.jsx)(n.code,{children:"Plugin"})})}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3 ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"DiscordEventPlugin"})})]}),"\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.p,{children:(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"Deprecated"})})}),"\n",(0,r.jsx)(n.p,{children:"will be removed in the next update"}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/Plugin",children:"Plugin"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/Plugin#description",children:"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/3daacfc/src/handler/plugins/plugin.ts#L33",children:"src/handler/plugins/plugin.ts:33"})}),"\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:"args"}),": ",(0,r.jsx)(n.code,{children:"ClientEvents"}),"[",(0,r.jsx)(n.code,{children:"T"}),"], ",(0,r.jsx)(n.code,{children:"controller"}),": ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/Controller",children:(0,r.jsx)(n.code,{children:"Controller"})}),") => ",(0,r.jsx)(n.code,{children:"Awaitable"}),"<",(0,r.jsx)(n.code,{children:"Result"}),"<",(0,r.jsx)(n.code,{children:"void"}),", ",(0,r.jsx)(n.code,{children:"void"}),">>"]}),"\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:"args"}),", ",(0,r.jsx)(n.code,{children:"controller"}),"): ",(0,r.jsx)(n.code,{children:"Awaitable"}),"<",(0,r.jsx)(n.code,{children:"Result"}),"<",(0,r.jsx)(n.code,{children:"void"}),", ",(0,r.jsx)(n.code,{children:"void"}),">>"]}),"\n",(0,r.jsx)(n.h5,{id:"parameters",children:"Parameters"}),"\n\n\n\n\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.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{style:{textAlign:"left"},children:(0,r.jsx)(n.code,{children:"args"})}),(0,r.jsxs)(n.td,{style:{textAlign:"left"},children:[(0,r.jsx)(n.code,{children:"ClientEvents"}),"[",(0,r.jsx)(n.code,{children:"T"}),"]"]})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{style:{textAlign:"left"},children:(0,r.jsx)(n.code,{children:"controller"})}),(0,r.jsx)(n.td,{style:{textAlign:"left"},children:(0,r.jsx)(n.a,{href:"/docs/api/interfaces/Controller",children:(0,r.jsx)(n.code,{children:"Controller"})})})]})]})]}),"\n",(0,r.jsx)(n.h5,{id:"returns",children:"Returns"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"Awaitable"}),"<",(0,r.jsx)(n.code,{children:"Result"}),"<",(0,r.jsx)(n.code,{children:"void"}),", ",(0,r.jsx)(n.code,{children:"void"}),">>"]}),"\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/3daacfc/src/handler/plugins/plugin.ts#L105",children:"src/handler/plugins/plugin.ts:105"})}),"\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:"T"})]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"Deprecated"})})}),"\n",(0,r.jsx)(n.p,{children:"will be removed in the next update"}),"\n",(0,r.jsx)(n.h4,{id:"overrides",children:"Overrides"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/Plugin",children:"Plugin"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/Plugin#name",children:"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/3daacfc/src/handler/plugins/plugin.ts#L103",children:"src/handler/plugins/plugin.ts:103"})}),"\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/PluginType#event",children:(0,r.jsx)(n.code,{children:"Event"})})]}),"\n",(0,r.jsx)(n.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/Plugin",children:"Plugin"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/Plugin#type",children:"type"})]}),"\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/3daacfc/src/handler/plugins/plugin.ts#L104",children:"src/handler/plugins/plugin.ts:104"})})]})}function o(e={}){const{wrapper:n}={...(0,d.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>s,x:()=>t});var r=i(6540);const d={},l=r.createContext(d);function s(e){const n=r.useContext(l);return r.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(d):e.components||d:s(e.components),r.createElement(l.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/8a062262.e880708f.js b/assets/js/8a062262.e880708f.js new file mode 100644 index 000000000..38255a59f --- /dev/null +++ b/assets/js/8a062262.e880708f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[2684],{5147:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>c,contentTitle:()=>s,default:()=>o,frontMatter:()=>l,metadata:()=>t,toc:()=>h});var r=i(4848),d=i(8453);const l={id:"DiscordEventPlugin",title:"Interface: DiscordEventPlugin ",sidebar_label:"DiscordEventPlugin",sidebar_position:0,custom_edit_url:null},s=void 0,t={id:"api/interfaces/DiscordEventPlugin",title:"Interface: DiscordEventPlugin ",description:"Type parameters",source:"@site/docs/api/interfaces/DiscordEventPlugin.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/DiscordEventPlugin",permalink:"/docs/api/interfaces/DiscordEventPlugin",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"DiscordEventPlugin",title:"Interface: DiscordEventPlugin ",sidebar_label:"DiscordEventPlugin",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"DiscordEventCommand",permalink:"/docs/api/interfaces/DiscordEventCommand"},next:{title:"Disposable",permalink:"/docs/api/interfaces/Disposable"}},c={},h=[{value:"Type parameters",id:"type-parameters",level:2},{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:"Defined in",id:"defined-in-1",level:4},{value:"name",id:"name",level:3},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"type",id:"type",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"Defined in",id:"defined-in-3",level:4}];function a(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:"type-parameters",children:"Type 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:"T"})}),(0,r.jsxs)(n.td,{style:{textAlign:"left"},children:["extends keyof ",(0,r.jsx)(n.code,{children:"ClientEvents"})," = keyof ",(0,r.jsx)(n.code,{children:"ClientEvents"})]})]})})]}),"\n",(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.a,{href:"/docs/api/interfaces/Plugin",children:(0,r.jsx)(n.code,{children:"Plugin"})})}),"\n",(0,r.jsxs)(n.p,{children:["\u21b3 ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"DiscordEventPlugin"})})]}),"\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.p,{children:(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"Deprecated"})})}),"\n",(0,r.jsx)(n.p,{children:"will be removed in the next update"}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/Plugin",children:"Plugin"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/Plugin#description",children:"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/3daacfc/src/handler/plugins/plugin.ts#L33",children:"src/handler/plugins/plugin.ts:33"})}),"\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:"args"}),": ",(0,r.jsx)(n.code,{children:"ClientEvents"}),"[",(0,r.jsx)(n.code,{children:"T"}),"], ",(0,r.jsx)(n.code,{children:"controller"}),": ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/Controller",children:(0,r.jsx)(n.code,{children:"Controller"})}),") => ",(0,r.jsx)(n.code,{children:"Awaitable"}),"<",(0,r.jsx)(n.code,{children:"Result"}),"<",(0,r.jsx)(n.code,{children:"void"}),", ",(0,r.jsx)(n.code,{children:"void"}),">>"]}),"\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:"args"}),", ",(0,r.jsx)(n.code,{children:"controller"}),"): ",(0,r.jsx)(n.code,{children:"Awaitable"}),"<",(0,r.jsx)(n.code,{children:"Result"}),"<",(0,r.jsx)(n.code,{children:"void"}),", ",(0,r.jsx)(n.code,{children:"void"}),">>"]}),"\n",(0,r.jsx)(n.h5,{id:"parameters",children:"Parameters"}),"\n\n\n\n\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.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{style:{textAlign:"left"},children:(0,r.jsx)(n.code,{children:"args"})}),(0,r.jsxs)(n.td,{style:{textAlign:"left"},children:[(0,r.jsx)(n.code,{children:"ClientEvents"}),"[",(0,r.jsx)(n.code,{children:"T"}),"]"]})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{style:{textAlign:"left"},children:(0,r.jsx)(n.code,{children:"controller"})}),(0,r.jsx)(n.td,{style:{textAlign:"left"},children:(0,r.jsx)(n.a,{href:"/docs/api/interfaces/Controller",children:(0,r.jsx)(n.code,{children:"Controller"})})})]})]})]}),"\n",(0,r.jsx)(n.h5,{id:"returns",children:"Returns"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"Awaitable"}),"<",(0,r.jsx)(n.code,{children:"Result"}),"<",(0,r.jsx)(n.code,{children:"void"}),", ",(0,r.jsx)(n.code,{children:"void"}),">>"]}),"\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/3daacfc/src/handler/plugins/plugin.ts#L105",children:"src/handler/plugins/plugin.ts:105"})}),"\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:"T"})]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"Deprecated"})})}),"\n",(0,r.jsx)(n.p,{children:"will be removed in the next update"}),"\n",(0,r.jsx)(n.h4,{id:"overrides",children:"Overrides"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/Plugin",children:"Plugin"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/Plugin#name",children:"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/3daacfc/src/handler/plugins/plugin.ts#L103",children:"src/handler/plugins/plugin.ts:103"})}),"\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/PluginType#event",children:(0,r.jsx)(n.code,{children:"Event"})})]}),"\n",(0,r.jsx)(n.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/api/interfaces/Plugin",children:"Plugin"}),".",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/Plugin#type",children:"type"})]}),"\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/3daacfc/src/handler/plugins/plugin.ts#L104",children:"src/handler/plugins/plugin.ts:104"})})]})}function o(e={}){const{wrapper:n}={...(0,d.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>s,x:()=>t});var r=i(6540);const d={},l=r.createContext(d);function s(e){const n=r.useContext(l);return r.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(d):e.components||d:s(e.components),r.createElement(l.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/90fdad0c.2dea85d1.js b/assets/js/90fdad0c.2dea85d1.js deleted file mode 100644 index 7a0e33d49..000000000 --- a/assets/js/90fdad0c.2dea85d1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_sern_website=self.webpackChunk_sern_website||[]).push([[8418],{8868:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>t,default:()=>h,frontMatter:()=>l,metadata:()=>d,toc:()=>a});var i=n(4848),s=n(8453);const l={id:"DefaultErrorHandling",title:"Class: DefaultErrorHandling",sidebar_label:"DefaultErrorHandling",sidebar_position:0,custom_edit_url:null},t=void 0,d={id:"api/classes/DefaultErrorHandling",title:"Class: DefaultErrorHandling",description:"Since",source:"@site/docs/api/classes/DefaultErrorHandling.md",sourceDirName:"api/classes",slug:"/api/classes/DefaultErrorHandling",permalink:"/docs/api/classes/DefaultErrorHandling",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"DefaultErrorHandling",title:"Class: DefaultErrorHandling",sidebar_label:"DefaultErrorHandling",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"Context",permalink:"/docs/api/classes/Context"},next:{title:"DefaultLogging",permalink:"/docs/api/classes/DefaultLogging"}},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:"Properties",id:"properties",level:2},{value:"#keepAlive",id:"keepalive",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"Methods",id:"methods",level:2},{value:"crash",id:"crash",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Implementation of",id:"implementation-of",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"updateAlive",id:"updatealive",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Implementation of",id:"implementation-of-1",level:4},{value:"Defined in",id:"defined-in-2",level:4}];function o(e){const r={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)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"2.0.0\nVersion 4.0.0 will internalize this api. Please refrain from using the defaults!"}),"\n",(0,i.jsx)(r.h2,{id:"implements",children:"Implements"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsx)(r.li,{children:(0,i.jsx)(r.a,{href:"/docs/api/interfaces/ErrorHandling",children:(0,i.jsx)(r.code,{children:"ErrorHandling"})})}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"new DefaultErrorHandling"}),"(): ",(0,i.jsx)(r.a,{href:"/docs/api/classes/DefaultErrorHandling",children:(0,i.jsx)(r.code,{children:"DefaultErrorHandling"})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/DefaultErrorHandling",children:(0,i.jsx)(r.code,{children:"DefaultErrorHandling"})})}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"keepalive",children:"#keepAlive"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"Private"})," ",(0,i.jsx)(r.strong,{children:"#keepAlive"}),": ",(0,i.jsx)(r.code,{children:"number"})," = ",(0,i.jsx)(r.code,{children:"5"})]}),"\n",(0,i.jsx)(r.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/error-handling.ts#L13",children:"src/core/structures/services/error-handling.ts:13"})}),"\n",(0,i.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(r.h3,{id:"crash",children:"crash"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"crash"}),"(",(0,i.jsx)(r.code,{children:"err"}),"): ",(0,i.jsx)(r.code,{children:"never"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"err"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"Error"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"never"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"Version 4 will remove this method"}),"\n",(0,i.jsx)(r.h4,{id:"implementation-of",children:"Implementation of"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/interfaces/ErrorHandling",children:"ErrorHandling"}),".",(0,i.jsx)(r.a,{href:"/docs/api/interfaces/ErrorHandling#crash",children:"crash"})]}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/error-handling.ts#L9",children:"src/core/structures/services/error-handling.ts:9"})}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"updatealive",children:"updateAlive"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"updateAlive"}),"(",(0,i.jsx)(r.code,{children:"err"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.p,{children:"A function that is called on every throw."}),"\n",(0,i.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"err"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"Error"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"implementation-of-1",children:"Implementation of"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/interfaces/ErrorHandling",children:"ErrorHandling"}),".",(0,i.jsx)(r.a,{href:"/docs/api/interfaces/ErrorHandling#updatealive",children:"updateAlive"})]}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/error-handling.ts#L15",children:"src/core/structures/services/error-handling.ts:15"})})]})}function h(e={}){const{wrapper:r}={...(0,s.R)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},8453:(e,r,n)=>{n.d(r,{R:()=>t,x:()=>d});var i=n(6540);const s={},l=i.createContext(s);function t(e){const r=i.useContext(l);return i.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function d(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:t(e.components),i.createElement(l.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/90fdad0c.74327896.js b/assets/js/90fdad0c.74327896.js new file mode 100644 index 000000000..4666815a0 --- /dev/null +++ b/assets/js/90fdad0c.74327896.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[8418],{8868:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>t,default:()=>h,frontMatter:()=>l,metadata:()=>d,toc:()=>a});var i=n(4848),s=n(8453);const l={id:"DefaultErrorHandling",title:"Class: DefaultErrorHandling",sidebar_label:"DefaultErrorHandling",sidebar_position:0,custom_edit_url:null},t=void 0,d={id:"api/classes/DefaultErrorHandling",title:"Class: DefaultErrorHandling",description:"Since",source:"@site/docs/api/classes/DefaultErrorHandling.md",sourceDirName:"api/classes",slug:"/api/classes/DefaultErrorHandling",permalink:"/docs/api/classes/DefaultErrorHandling",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"DefaultErrorHandling",title:"Class: DefaultErrorHandling",sidebar_label:"DefaultErrorHandling",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"Context",permalink:"/docs/api/classes/Context"},next:{title:"DefaultLogging",permalink:"/docs/api/classes/DefaultLogging"}},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:"Properties",id:"properties",level:2},{value:"#keepAlive",id:"keepalive",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"Methods",id:"methods",level:2},{value:"crash",id:"crash",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Implementation of",id:"implementation-of",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"updateAlive",id:"updatealive",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Implementation of",id:"implementation-of-1",level:4},{value:"Defined in",id:"defined-in-2",level:4}];function o(e){const r={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)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Since"})})}),"\n",(0,i.jsx)(r.p,{children:"2.0.0\nVersion 4.0.0 will internalize this api. Please refrain from using the defaults!"}),"\n",(0,i.jsx)(r.h2,{id:"implements",children:"Implements"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsx)(r.li,{children:(0,i.jsx)(r.a,{href:"/docs/api/interfaces/ErrorHandling",children:(0,i.jsx)(r.code,{children:"ErrorHandling"})})}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"new DefaultErrorHandling"}),"(): ",(0,i.jsx)(r.a,{href:"/docs/api/classes/DefaultErrorHandling",children:(0,i.jsx)(r.code,{children:"DefaultErrorHandling"})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/docs/api/classes/DefaultErrorHandling",children:(0,i.jsx)(r.code,{children:"DefaultErrorHandling"})})}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"keepalive",children:"#keepAlive"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.code,{children:"Private"})," ",(0,i.jsx)(r.strong,{children:"#keepAlive"}),": ",(0,i.jsx)(r.code,{children:"number"})," = ",(0,i.jsx)(r.code,{children:"5"})]}),"\n",(0,i.jsx)(r.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/error-handling.ts#L13",children:"src/core/structures/services/error-handling.ts:13"})}),"\n",(0,i.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(r.h3,{id:"crash",children:"crash"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"crash"}),"(",(0,i.jsx)(r.code,{children:"err"}),"): ",(0,i.jsx)(r.code,{children:"never"})]}),"\n",(0,i.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"err"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"Error"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"never"})}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.strong,{children:(0,i.jsx)(r.code,{children:"Deprecated"})})}),"\n",(0,i.jsx)(r.p,{children:"Version 4 will remove this method"}),"\n",(0,i.jsx)(r.h4,{id:"implementation-of",children:"Implementation of"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/interfaces/ErrorHandling",children:"ErrorHandling"}),".",(0,i.jsx)(r.a,{href:"/docs/api/interfaces/ErrorHandling#crash",children:"crash"})]}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/error-handling.ts#L9",children:"src/core/structures/services/error-handling.ts:9"})}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"updatealive",children:"updateAlive"}),"\n",(0,i.jsxs)(r.p,{children:["\u25b8 ",(0,i.jsx)(r.strong,{children:"updateAlive"}),"(",(0,i.jsx)(r.code,{children:"err"}),"): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n",(0,i.jsx)(r.p,{children:"A function that is called on every throw."}),"\n",(0,i.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"err"})}),(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"Error"})})]})})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"implementation-of-1",children:"Implementation of"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/api/interfaces/ErrorHandling",children:"ErrorHandling"}),".",(0,i.jsx)(r.a,{href:"/docs/api/interfaces/ErrorHandling#updatealive",children:"updateAlive"})]}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"https://github.com/sern-handler/handler/blob/2106522/src/core/structures/services/error-handling.ts#L15",children:"src/core/structures/services/error-handling.ts:15"})})]})}function h(e={}){const{wrapper:r}={...(0,s.R)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},8453:(e,r,n)=>{n.d(r,{R:()=>t,x:()=>d});var i=n(6540);const s={},l=i.createContext(s);function t(e){const r=i.useContext(l);return i.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function d(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:t(e.components),i.createElement(l.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/916aad9f.4b968706.js b/assets/js/916aad9f.4b968706.js deleted file mode 100644 index 38d70a6af..000000000 --- a/assets/js/916aad9f.4b968706.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_sern_website=self.webpackChunk_sern_website||[]).push([[688],{1277:(e,o,t)=>{t.r(o),t.d(o,{assets:()=>l,contentTitle:()=>s,default:()=>c,frontMatter:()=>a,metadata:()=>i,toc:()=>u});var r=t(4848),n=t(8453);const a={slug:"railway-deploy",title:"Deploying sern with Railway",authors:["Duro"],tags:["guides"]},s=void 0,i={permalink:"/blog/railway-deploy",editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2024-02-23-mdx-blog-post.md",source:"@site/blog/2024-02-23-mdx-blog-post.md",title:"Deploying sern with Railway",description:"In this guide, I'll be showing you how to deploy your sern bot with Railway.",date:"2024-02-23T00:00:00.000Z",formattedDate:"February 23, 2024",tags:[{label:"guides",permalink:"/blog/tags/guides"}],readingTime:1.47,hasTruncateMarker:!1,authors:[{name:"Duro",title:"Developer",url:"https://github.com/DuroCodes",imageURL:"https://github.com/DuroCodes.png",key:"Duro"}],frontMatter:{slug:"railway-deploy",title:"Deploying sern with Railway",authors:["Duro"],tags:["guides"]},unlisted:!1,nextItem:{title:"New logo!",permalink:"/blog/newlogo"}},l={authorsImageUrls:[void 0]},u=[{value:"GitHub Repository",id:"github-repository",level:2},{value:"Railway Setup",id:"railway-setup",level:2},{value:"Deploy",id:"deploy",level:2}];function d(e){const o={a:"a",admonition:"admonition",code:"code",h2:"h2",p:"p",...(0,n.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o.p,{children:["In this guide, I'll be showing you how to deploy your sern bot with ",(0,r.jsx)(o.a,{href:"https://railway.app/",children:"Railway"}),"."]}),"\n",(0,r.jsxs)(o.p,{children:["This guide assumes you have a sern bot already set up and ready to deploy. If you don't, you can follow the ",(0,r.jsx)(o.a,{href:"/blog/getting-started",children:"Getting Started"})," guide to set up your bot."]}),"\n",(0,r.jsx)(o.h2,{id:"github-repository",children:"GitHub Repository"}),"\n",(0,r.jsxs)(o.p,{children:["The first thing you'll need to deploy your bot is a GitHub repository for your bot. If you don't have one, you can create one by following the ",(0,r.jsx)(o.a,{href:"https://docs.github.com/en/get-started/quickstart/create-a-repo",children:"GitHub guide"}),"."]}),"\n",(0,r.jsx)(o.p,{children:"Once you have your repository set up, you can push your bot's code to the repository, and you're ready to deploy using Railway."}),"\n",(0,r.jsx)(o.h2,{id:"railway-setup",children:"Railway Setup"}),"\n",(0,r.jsxs)(o.p,{children:["After you have your bot's code in a GitHub repository, you'll need to create an account on Railway. You can sign up using your GitHub account at ",(0,r.jsx)(o.a,{href:"https://railway.app/",children:"railway.app"}),"."]}),"\n",(0,r.jsxs)(o.p,{children:["Once you've created your account, navigate to the ",(0,r.jsx)(o.a,{href:"https://railway.app/dashboard",children:"dashboard"}),' and click the "New Project" button. Click the "Deploy from GitHub repo" button, and select your bot\'s repository.']}),"\n",(0,r.jsxs)(o.p,{children:["Once you've selected your repository, click the \"Add Variables\" button to add your bot's environment variables. You'll need your environment variables from your ",(0,r.jsx)(o.code,{children:".env"})," file to add to Railway. (You can also add these later if you want.)"]}),"\n",(0,r.jsx)(o.h2,{id:"deploy",children:"Deploy"}),"\n",(0,r.jsx)(o.p,{children:"Once you've added your environment variables, click the \"Deploy\" button, and Railway will start deploying your bot. Once the deployment is complete, you'll be able to see your bot's URL and logs."}),"\n",(0,r.jsxs)(o.admonition,{type:"note",children:[(0,r.jsxs)(o.p,{children:["Make sure you add your environment variables, and your node start script is correct in your ",(0,r.jsx)(o.code,{children:"package.json"})," file."]}),(0,r.jsx)(o.p,{children:"If you have any issues deploying your bot, you can check the logs for any errors."})]}),"\n",(0,r.jsxs)(o.p,{children:["That's it! Your bot is now deployed and running on Railway. If you have any issues or questions, feel free to ask in the ",(0,r.jsx)(o.a,{href:"https://sern.dev/discord",children:"sern Discord server"}),"."]})]})}function c(e={}){const{wrapper:o}={...(0,n.R)(),...e.components};return o?(0,r.jsx)(o,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},8453:(e,o,t)=>{t.d(o,{R:()=>s,x:()=>i});var r=t(6540);const n={},a=r.createContext(n);function s(e){const o=r.useContext(a);return r.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function i(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:s(e.components),r.createElement(a.Provider,{value:o},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/916aad9f.4db272d1.js b/assets/js/916aad9f.4db272d1.js new file mode 100644 index 000000000..4b42dadf1 --- /dev/null +++ b/assets/js/916aad9f.4db272d1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[688],{1277:(e,o,t)=>{t.r(o),t.d(o,{assets:()=>l,contentTitle:()=>s,default:()=>c,frontMatter:()=>a,metadata:()=>i,toc:()=>u});var r=t(4848),n=t(8453);const a={slug:"railway-deploy",title:"Deploying sern with Railway",authors:["Duro"],tags:["guides"]},s=void 0,i={permalink:"/blog/railway-deploy",editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2024-02-23-mdx-blog-post.md",source:"@site/blog/2024-02-23-mdx-blog-post.md",title:"Deploying sern with Railway",description:"In this guide, I'll be showing you how to deploy your sern bot with Railway.",date:"2024-02-23T00:00:00.000Z",formattedDate:"February 23, 2024",tags:[{label:"guides",permalink:"/blog/tags/guides"}],readingTime:1.47,hasTruncateMarker:!1,authors:[{name:"Duro",title:"Developer",url:"https://github.com/DuroCodes",imageURL:"https://github.com/DuroCodes.png",key:"Duro"}],frontMatter:{slug:"railway-deploy",title:"Deploying sern with Railway",authors:["Duro"],tags:["guides"]},unlisted:!1,nextItem:{title:"New logo!",permalink:"/blog/newlogo"}},l={authorsImageUrls:[void 0]},u=[{value:"GitHub Repository",id:"github-repository",level:2},{value:"Railway Setup",id:"railway-setup",level:2},{value:"Deploy",id:"deploy",level:2}];function d(e){const o={a:"a",admonition:"admonition",code:"code",h2:"h2",p:"p",...(0,n.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o.p,{children:["In this guide, I'll be showing you how to deploy your sern bot with ",(0,r.jsx)(o.a,{href:"https://railway.app/",children:"Railway"}),"."]}),"\n",(0,r.jsxs)(o.p,{children:["This guide assumes you have a sern bot already set up and ready to deploy. If you don't, you can follow the ",(0,r.jsx)(o.a,{href:"/blog/getting-started",children:"Getting Started"})," guide to set up your bot."]}),"\n",(0,r.jsx)(o.h2,{id:"github-repository",children:"GitHub Repository"}),"\n",(0,r.jsxs)(o.p,{children:["The first thing you'll need to deploy your bot is a GitHub repository for your bot. If you don't have one, you can create one by following the ",(0,r.jsx)(o.a,{href:"https://docs.github.com/en/get-started/quickstart/create-a-repo",children:"GitHub guide"}),"."]}),"\n",(0,r.jsx)(o.p,{children:"Once you have your repository set up, you can push your bot's code to the repository, and you're ready to deploy using Railway."}),"\n",(0,r.jsx)(o.h2,{id:"railway-setup",children:"Railway Setup"}),"\n",(0,r.jsxs)(o.p,{children:["After you have your bot's code in a GitHub repository, you'll need to create an account on Railway. You can sign up using your GitHub account at ",(0,r.jsx)(o.a,{href:"https://railway.app/",children:"railway.app"}),"."]}),"\n",(0,r.jsxs)(o.p,{children:["Once you've created your account, navigate to the ",(0,r.jsx)(o.a,{href:"https://railway.app/dashboard",children:"dashboard"}),' and click the "New Project" button. Click the "Deploy from GitHub repo" button, and select your bot\'s repository.']}),"\n",(0,r.jsxs)(o.p,{children:["Once you've selected your repository, click the \"Add Variables\" button to add your bot's environment variables. You'll need your environment variables from your ",(0,r.jsx)(o.code,{children:".env"})," file to add to Railway. (You can also add these later if you want.)"]}),"\n",(0,r.jsx)(o.h2,{id:"deploy",children:"Deploy"}),"\n",(0,r.jsx)(o.p,{children:"Once you've added your environment variables, click the \"Deploy\" button, and Railway will start deploying your bot. Once the deployment is complete, you'll be able to see your bot's URL and logs."}),"\n",(0,r.jsxs)(o.admonition,{type:"note",children:[(0,r.jsxs)(o.p,{children:["Make sure you add your environment variables, and your node start script is correct in your ",(0,r.jsx)(o.code,{children:"package.json"})," file."]}),(0,r.jsx)(o.p,{children:"If you have any issues deploying your bot, you can check the logs for any errors."})]}),"\n",(0,r.jsxs)(o.p,{children:["That's it! Your bot is now deployed and running on Railway. If you have any issues or questions, feel free to ask in the ",(0,r.jsx)(o.a,{href:"https://sern.dev/discord",children:"sern Discord server"}),"."]})]})}function c(e={}){const{wrapper:o}={...(0,n.R)(),...e.components};return o?(0,r.jsx)(o,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},8453:(e,o,t)=>{t.d(o,{R:()=>s,x:()=>i});var r=t(6540);const n={},a=r.createContext(n);function s(e){const o=r.useContext(a);return r.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function i(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:s(e.components),r.createElement(a.Provider,{value:o},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/9201de17.61b15a27.js b/assets/js/9201de17.61b15a27.js deleted file mode 100644 index 7b3532ce8..000000000 --- a/assets/js/9201de17.61b15a27.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_sern_website=self.webpackChunk_sern_website||[]).push([[5822],{1711:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>d,contentTitle:()=>o,default:()=>u,frontMatter:()=>l,metadata:()=>t,toc:()=>c});var s=i(4848),r=i(8453);const l={},o="Introduction",t={id:"guide/README",title:"Introduction",description:"Welcome to our official guide. This guide will go through all the core features of the framework.",source:"@site/docs/guide/README.md",sourceDirName:"guide",slug:"/guide/",permalink:"/docs/guide/",draft:!1,unlisted:!1,editUrl:"https://github.com/sern-handler/website/edit/main/docs/guide/README.md",tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"publish",permalink:"/docs/cli/publish"},next:{title:"Choosing an IDE",permalink:"/docs/guide/getting-started/choose-ide"}},d={},c=[{value:"You will learn",id:"you-will-learn",level:2},{value:"Working with plugins",id:"working-with-plugins",level:3},{value:"Events",id:"events",level:3},{value:"Good to know",id:"good-to-know",level:3}];function h(e){const n={a:"a",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"introduction",children:"Introduction"}),"\n",(0,s.jsx)(n.p,{children:"Welcome to our official guide. This guide will go through all the core features of the framework."}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"\ud83d\udc96 Thank you for choosing sern to be your framework!"}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"Teaching the discord.js library and / or Javascript / Typescript is out of scope of this project, so the documentation assumes you already know these elements."}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://discord.js.org/#/",children:"discord.js"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://nodejs.dev/en/learn/",children:"javascript"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://www.typescriptlang.org/docs/",children:"typescript"})}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"discord.js v14 is the only supported library at the moment"}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"you-will-learn",children:"You will learn"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/goal",children:"sern's goal"})}),"\n",(0,s.jsxs)(n.li,{children:["How to use sern with the ",(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/cli",children:"CLI"})]}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/first-command",children:"Your first command"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/first-command#context-class",children:"The Context class"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/autocomplete",children:"Autocomplete"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/services",children:"Services"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/dependency-injection",children:"dependency injection"})}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"working-with-plugins",children:"Working with plugins"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/plugins",children:"Plugins"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/plugins#command-plugins",children:"Init Plugins"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/plugins#event-plugins",children:"Control Plugins"})}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"events",children:"Events"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/sern-emitter",children:"The SernEmitter class"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/first-event",children:"Your first event"})}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"good-to-know",children:"Good to know"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/good-to-know",children:"sern.config.json"})}),"\n"]})]})}function u(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>o,x:()=>t});var s=i(6540);const r={},l=s.createContext(r);function o(e){const n=s.useContext(l);return s.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(r):e.components||r:o(e.components),s.createElement(l.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/9201de17.8c27dbe9.js b/assets/js/9201de17.8c27dbe9.js new file mode 100644 index 000000000..2ac6e36c1 --- /dev/null +++ b/assets/js/9201de17.8c27dbe9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[5822],{1711:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>d,contentTitle:()=>o,default:()=>u,frontMatter:()=>l,metadata:()=>t,toc:()=>c});var s=i(4848),r=i(8453);const l={},o="Introduction",t={id:"guide/README",title:"Introduction",description:"Welcome to our official guide. This guide will go through all the core features of the framework.",source:"@site/docs/guide/README.md",sourceDirName:"guide",slug:"/guide/",permalink:"/docs/guide/",draft:!1,unlisted:!1,editUrl:"https://github.com/sern-handler/website/edit/main/docs/guide/README.md",tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"publish",permalink:"/docs/cli/publish"},next:{title:"Choosing an IDE",permalink:"/docs/guide/getting-started/choose-ide"}},d={},c=[{value:"You will learn",id:"you-will-learn",level:2},{value:"Working with plugins",id:"working-with-plugins",level:3},{value:"Events",id:"events",level:3},{value:"Good to know",id:"good-to-know",level:3}];function h(e){const n={a:"a",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"introduction",children:"Introduction"}),"\n",(0,s.jsx)(n.p,{children:"Welcome to our official guide. This guide will go through all the core features of the framework."}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"\ud83d\udc96 Thank you for choosing sern to be your framework!"}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"Teaching the discord.js library and / or Javascript / Typescript is out of scope of this project, so the documentation assumes you already know these elements."}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://discord.js.org/#/",children:"discord.js"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://nodejs.dev/en/learn/",children:"javascript"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"https://www.typescriptlang.org/docs/",children:"typescript"})}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"discord.js v14 is the only supported library at the moment"}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"you-will-learn",children:"You will learn"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/goal",children:"sern's goal"})}),"\n",(0,s.jsxs)(n.li,{children:["How to use sern with the ",(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/cli",children:"CLI"})]}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/first-command",children:"Your first command"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/first-command#context-class",children:"The Context class"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/autocomplete",children:"Autocomplete"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/services",children:"Services"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/dependency-injection",children:"dependency injection"})}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"working-with-plugins",children:"Working with plugins"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/plugins",children:"Plugins"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/plugins#command-plugins",children:"Init Plugins"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/plugins#event-plugins",children:"Control Plugins"})}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"events",children:"Events"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/sern-emitter",children:"The SernEmitter class"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/first-event",children:"Your first event"})}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"good-to-know",children:"Good to know"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.a,{href:"/docs/guide/walkthrough/good-to-know",children:"sern.config.json"})}),"\n"]})]})}function u(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>o,x:()=>t});var s=i(6540);const r={},l=s.createContext(r);function o(e){const n=s.useContext(l);return s.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(r):e.components||r:o(e.components),s.createElement(l.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.01d6ddfe.js b/assets/js/935f2afb.01d6ddfe.js deleted file mode 100644 index 70131a0a4..000000000 --- a/assets/js/935f2afb.01d6ddfe.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_sern_website=self.webpackChunk_sern_website||[]).push([[8581],{5610:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"category","label":"API","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Exports","href":"/docs/api/modules","docId":"api/modules","unlisted":false},{"type":"category","label":"Namespaces","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"CommandError","href":"/docs/api/namespaces/CommandError","docId":"api/namespaces/CommandError","unlisted":false},{"type":"link","label":"Presence","href":"/docs/api/namespaces/Presence","docId":"api/namespaces/Presence","unlisted":false},{"type":"link","label":"Sern","href":"/docs/api/namespaces/Sern","docId":"api/namespaces/Sern","unlisted":false}]},{"type":"category","label":"Enumerations","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"CommandType","href":"/docs/api/enums/CommandType","docId":"api/enums/CommandType","unlisted":false},{"type":"link","label":"EventType","href":"/docs/api/enums/EventType","docId":"api/enums/EventType","unlisted":false},{"type":"link","label":"PayloadType","href":"/docs/api/enums/PayloadType","docId":"api/enums/PayloadType","unlisted":false},{"type":"link","label":"PluginType","href":"/docs/api/enums/PluginType","docId":"api/enums/PluginType","unlisted":false},{"type":"link","label":"SernError","href":"/docs/api/enums/SernError","docId":"api/enums/SernError","unlisted":false}]},{"type":"category","label":"Classes","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"CommandExecutable","href":"/docs/api/classes/CommandExecutable","docId":"api/classes/CommandExecutable","unlisted":false},{"type":"link","label":"Context","href":"/docs/api/classes/Context","docId":"api/classes/Context","unlisted":false},{"type":"link","label":"DefaultErrorHandling","href":"/docs/api/classes/DefaultErrorHandling","docId":"api/classes/DefaultErrorHandling","unlisted":false},{"type":"link","label":"DefaultLogging","href":"/docs/api/classes/DefaultLogging","docId":"api/classes/DefaultLogging","unlisted":false},{"type":"link","label":"DefaultModuleManager","href":"/docs/api/classes/DefaultModuleManager","docId":"api/classes/DefaultModuleManager","unlisted":false},{"type":"link","label":"EventExecutable","href":"/docs/api/classes/EventExecutable","docId":"api/classes/EventExecutable","unlisted":false},{"type":"link","label":"ModuleStore","href":"/docs/api/classes/ModuleStore","docId":"api/classes/ModuleStore","unlisted":false},{"type":"link","label":"SernEmitter","href":"/docs/api/classes/SernEmitter","docId":"api/classes/SernEmitter","unlisted":false}]},{"type":"category","label":"Interfaces","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"AutocompleteCommand","href":"/docs/api/interfaces/AutocompleteCommand","docId":"api/interfaces/AutocompleteCommand","unlisted":false},{"type":"link","label":"AutocompletePlugin","href":"/docs/api/interfaces/AutocompletePlugin","docId":"api/interfaces/AutocompletePlugin","unlisted":false},{"type":"link","label":"BothCommand","href":"/docs/api/interfaces/BothCommand","docId":"api/interfaces/BothCommand","unlisted":false},{"type":"link","label":"ButtonCommand","href":"/docs/api/interfaces/ButtonCommand","docId":"api/interfaces/ButtonCommand","unlisted":false},{"type":"link","label":"ChannelSelectCommand","href":"/docs/api/interfaces/ChannelSelectCommand","docId":"api/interfaces/ChannelSelectCommand","unlisted":false},{"type":"link","label":"CommandModuleDefs","href":"/docs/api/interfaces/CommandModuleDefs","docId":"api/interfaces/CommandModuleDefs","unlisted":false},{"type":"link","label":"CommandPlugin","href":"/docs/api/interfaces/CommandPlugin","docId":"api/interfaces/CommandPlugin","unlisted":false},{"type":"link","label":"ContextMenuMsg","href":"/docs/api/interfaces/ContextMenuMsg","docId":"api/interfaces/ContextMenuMsg","unlisted":false},{"type":"link","label":"ContextMenuUser","href":"/docs/api/interfaces/ContextMenuUser","docId":"api/interfaces/ContextMenuUser","unlisted":false},{"type":"link","label":"ControlPlugin","href":"/docs/api/interfaces/ControlPlugin","docId":"api/interfaces/ControlPlugin","unlisted":false},{"type":"link","label":"Controller","href":"/docs/api/interfaces/Controller","docId":"api/interfaces/Controller","unlisted":false},{"type":"link","label":"CoreDependencies","href":"/docs/api/interfaces/CoreDependencies","docId":"api/interfaces/CoreDependencies","unlisted":false},{"type":"link","label":"CoreModuleStore","href":"/docs/api/interfaces/CoreModuleStore","docId":"api/interfaces/CoreModuleStore","unlisted":false},{"type":"link","label":"Dependencies","href":"/docs/api/interfaces/Dependencies","docId":"api/interfaces/Dependencies","unlisted":false},{"type":"link","label":"DependencyConfiguration","href":"/docs/api/interfaces/DependencyConfiguration","docId":"api/interfaces/DependencyConfiguration","unlisted":false},{"type":"link","label":"DiscordEmitterPlugin","href":"/docs/api/interfaces/DiscordEmitterPlugin","docId":"api/interfaces/DiscordEmitterPlugin","unlisted":false},{"type":"link","label":"DiscordEventCommand","href":"/docs/api/interfaces/DiscordEventCommand","docId":"api/interfaces/DiscordEventCommand","unlisted":false},{"type":"link","label":"DiscordEventPlugin","href":"/docs/api/interfaces/DiscordEventPlugin","docId":"api/interfaces/DiscordEventPlugin","unlisted":false},{"type":"link","label":"Disposable","href":"/docs/api/interfaces/Disposable","docId":"api/interfaces/Disposable","unlisted":false},{"type":"link","label":"Emitter","href":"/docs/api/interfaces/Emitter","docId":"api/interfaces/Emitter","unlisted":false},{"type":"link","label":"ErrorHandling","href":"/docs/api/interfaces/ErrorHandling","docId":"api/interfaces/ErrorHandling","unlisted":false},{"type":"link","label":"EventModuleDefs","href":"/docs/api/interfaces/EventModuleDefs","docId":"api/interfaces/EventModuleDefs","unlisted":false},{"type":"link","label":"EventPlugin","href":"/docs/api/interfaces/EventPlugin","docId":"api/interfaces/EventPlugin","unlisted":false},{"type":"link","label":"ExternalEmitterPlugin","href":"/docs/api/interfaces/ExternalEmitterPlugin","docId":"api/interfaces/ExternalEmitterPlugin","unlisted":false},{"type":"link","label":"ExternalEventCommand","href":"/docs/api/interfaces/ExternalEventCommand","docId":"api/interfaces/ExternalEventCommand","unlisted":false},{"type":"link","label":"ExternalEventPlugin","href":"/docs/api/interfaces/ExternalEventPlugin","docId":"api/interfaces/ExternalEventPlugin","unlisted":false},{"type":"link","label":"Init","href":"/docs/api/interfaces/Init","docId":"api/interfaces/Init","unlisted":false},{"type":"link","label":"InitArgs","href":"/docs/api/interfaces/InitArgs","docId":"api/interfaces/InitArgs","unlisted":false},{"type":"link","label":"InitPlugin","href":"/docs/api/interfaces/InitPlugin","docId":"api/interfaces/InitPlugin","unlisted":false},{"type":"link","label":"Logging","href":"/docs/api/interfaces/Logging","docId":"api/interfaces/Logging","unlisted":false},{"type":"link","label":"MentionableSelectCommand","href":"/docs/api/interfaces/MentionableSelectCommand","docId":"api/interfaces/MentionableSelectCommand","unlisted":false},{"type":"link","label":"ModalSubmitCommand","href":"/docs/api/interfaces/ModalSubmitCommand","docId":"api/interfaces/ModalSubmitCommand","unlisted":false},{"type":"link","label":"Module","href":"/docs/api/interfaces/Module","docId":"api/interfaces/Module","unlisted":false},{"type":"link","label":"ModuleManager","href":"/docs/api/interfaces/ModuleManager","docId":"api/interfaces/ModuleManager","unlisted":false},{"type":"link","label":"Plugin","href":"/docs/api/interfaces/Plugin","docId":"api/interfaces/Plugin","unlisted":false},{"type":"link","label":"RoleSelectCommand","href":"/docs/api/interfaces/RoleSelectCommand","docId":"api/interfaces/RoleSelectCommand","unlisted":false},{"type":"link","label":"SernAutocompleteData","href":"/docs/api/interfaces/SernAutocompleteData","docId":"api/interfaces/SernAutocompleteData","unlisted":false},{"type":"link","label":"SernEmitterPlugin","href":"/docs/api/interfaces/SernEmitterPlugin","docId":"api/interfaces/SernEmitterPlugin","unlisted":false},{"type":"link","label":"SernEventCommand","href":"/docs/api/interfaces/SernEventCommand","docId":"api/interfaces/SernEventCommand","unlisted":false},{"type":"link","label":"SernEventPlugin","href":"/docs/api/interfaces/SernEventPlugin","docId":"api/interfaces/SernEventPlugin","unlisted":false},{"type":"link","label":"SernEventsMapping","href":"/docs/api/interfaces/SernEventsMapping","docId":"api/interfaces/SernEventsMapping","unlisted":false},{"type":"link","label":"SernSubCommandData","href":"/docs/api/interfaces/SernSubCommandData","docId":"api/interfaces/SernSubCommandData","unlisted":false},{"type":"link","label":"SernSubCommandGroupData","href":"/docs/api/interfaces/SernSubCommandGroupData","docId":"api/interfaces/SernSubCommandGroupData","unlisted":false},{"type":"link","label":"SlashCommand","href":"/docs/api/interfaces/SlashCommand","docId":"api/interfaces/SlashCommand","unlisted":false},{"type":"link","label":"StringSelectCommand","href":"/docs/api/interfaces/StringSelectCommand","docId":"api/interfaces/StringSelectCommand","unlisted":false},{"type":"link","label":"TextCommand","href":"/docs/api/interfaces/TextCommand","docId":"api/interfaces/TextCommand","unlisted":false},{"type":"link","label":"UserSelectCommand","href":"/docs/api/interfaces/UserSelectCommand","docId":"api/interfaces/UserSelectCommand","unlisted":false},{"type":"link","label":"Wrapper","href":"/docs/api/interfaces/Wrapper","docId":"api/interfaces/Wrapper","unlisted":false},{"type":"link","label":"Response","href":"/docs/api/interfaces/CommandError.Response","docId":"api/interfaces/CommandError.Response","unlisted":false},{"type":"link","label":"Result","href":"/docs/api/interfaces/Presence.Result","docId":"api/interfaces/Presence.Result","unlisted":false}]}],"href":"/docs/api/"},{"type":"link","label":"Welcome!","href":"/docs/intro","docId":"intro","unlisted":false},{"type":"category","label":"CLI","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"build","href":"/docs/cli/build","docId":"cli/build","unlisted":false},{"type":"link","label":"clear","href":"/docs/cli/clear","docId":"cli/clear","unlisted":false},{"type":"link","label":"extra","href":"/docs/cli/extra","docId":"cli/extra","unlisted":false},{"type":"link","label":"publish","href":"/docs/cli/publish","docId":"cli/publish","unlisted":false}],"href":"/docs/cli/"},{"type":"category","label":"Introduction","collapsible":true,"collapsed":true,"items":[{"type":"category","label":"Getting Started","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Choosing an IDE","href":"/docs/guide/getting-started/choose-ide","docId":"guide/getting-started/choose-ide","unlisted":false},{"type":"link","label":"Preparing to Code","href":"/docs/guide/getting-started/preparing","docId":"guide/getting-started/preparing","unlisted":false}]},{"type":"category","label":"Walkthrough","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Goal","href":"/docs/guide/walkthrough/goal","docId":"guide/walkthrough/goal","unlisted":false},{"type":"link","label":"Create a new project","href":"/docs/guide/walkthrough/new-project","docId":"guide/walkthrough/new-project","unlisted":false},{"type":"link","label":"CLI","href":"/docs/guide/walkthrough/cli","docId":"guide/walkthrough/cli","unlisted":false},{"type":"link","label":"Transition from v2 to v3","href":"/docs/guide/walkthrough/transition","docId":"guide/walkthrough/transition","unlisted":false},{"type":"link","label":"First Command","href":"/docs/guide/walkthrough/first-command","docId":"guide/walkthrough/first-command","unlisted":false},{"type":"link","label":"First Event Module","href":"/docs/guide/walkthrough/first-event","docId":"guide/walkthrough/first-event","unlisted":false},{"type":"link","label":"Plugins","href":"/docs/guide/walkthrough/plugins","docId":"guide/walkthrough/plugins","unlisted":false},{"type":"link","label":"Services","href":"/docs/guide/walkthrough/services","docId":"guide/walkthrough/services","unlisted":false},{"type":"link","label":"Autocomplete","href":"/docs/guide/walkthrough/autocomplete","docId":"guide/walkthrough/autocomplete","unlisted":false},{"type":"link","label":"Dependency Injection","href":"/docs/guide/walkthrough/dependency-injection","docId":"guide/walkthrough/dependency-injection","unlisted":false},{"type":"link","label":"The SernEmitter class","href":"/docs/guide/walkthrough/sern-emitter","docId":"guide/walkthrough/sern-emitter","unlisted":false},{"type":"link","label":"Conclusion","href":"/docs/guide/walkthrough/conclusion","docId":"guide/walkthrough/conclusion","unlisted":false},{"type":"link","label":"Good to know","href":"/docs/guide/walkthrough/good-to-know","docId":"guide/walkthrough/good-to-know","unlisted":false}]}],"href":"/docs/guide/"}]},"docs":{"api/classes/CommandExecutable":{"id":"api/classes/CommandExecutable","title":"Class: CommandExecutable ","description":"Deprecated","sidebar":"tutorialSidebar"},"api/classes/Context":{"id":"api/classes/Context","title":"Class: Context","description":"Since","sidebar":"tutorialSidebar"},"api/classes/DefaultErrorHandling":{"id":"api/classes/DefaultErrorHandling","title":"Class: DefaultErrorHandling","description":"Since","sidebar":"tutorialSidebar"},"api/classes/DefaultLogging":{"id":"api/classes/DefaultLogging","title":"Class: DefaultLogging","description":"Since","sidebar":"tutorialSidebar"},"api/classes/DefaultModuleManager":{"id":"api/classes/DefaultModuleManager","title":"Class: DefaultModuleManager","description":"Since","sidebar":"tutorialSidebar"},"api/classes/EventExecutable":{"id":"api/classes/EventExecutable","title":"Class: EventExecutable ","description":"Deprecated","sidebar":"tutorialSidebar"},"api/classes/ModuleStore":{"id":"api/classes/ModuleStore","title":"Class: ModuleStore","description":"Constructors","sidebar":"tutorialSidebar"},"api/classes/SernEmitter":{"id":"api/classes/SernEmitter","title":"Class: SernEmitter","description":"Since","sidebar":"tutorialSidebar"},"api/enums/CommandType":{"id":"api/enums/CommandType","title":"Enumeration: CommandType","description":"Since","sidebar":"tutorialSidebar"},"api/enums/EventType":{"id":"api/enums/EventType","title":"Enumeration: EventType","description":"A bitfield that discriminates event modules","sidebar":"tutorialSidebar"},"api/enums/PayloadType":{"id":"api/enums/PayloadType","title":"Enumeration: PayloadType","description":"Enumeration Members","sidebar":"tutorialSidebar"},"api/enums/PluginType":{"id":"api/enums/PluginType","title":"Enumeration: PluginType","description":"A bitfield that discriminates plugins","sidebar":"tutorialSidebar"},"api/enums/SernError":{"id":"api/enums/SernError","title":"Enumeration: SernError","description":"Enumeration Members","sidebar":"tutorialSidebar"},"api/index":{"id":"api/index","title":"@sern/handler","description":"Handlers. Redefined.","sidebar":"tutorialSidebar"},"api/interfaces/AutocompleteCommand":{"id":"api/interfaces/AutocompleteCommand","title":"Interface: AutocompleteCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/AutocompletePlugin":{"id":"api/interfaces/AutocompletePlugin","title":"Interface: AutocompletePlugin","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/BothCommand":{"id":"api/interfaces/BothCommand","title":"Interface: BothCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/ButtonCommand":{"id":"api/interfaces/ButtonCommand","title":"Interface: ButtonCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/ChannelSelectCommand":{"id":"api/interfaces/ChannelSelectCommand","title":"Interface: ChannelSelectCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/CommandError.Response":{"id":"api/interfaces/CommandError.Response","title":"Interface: Response","description":"CommandError.Response","sidebar":"tutorialSidebar"},"api/interfaces/CommandModuleDefs":{"id":"api/interfaces/CommandModuleDefs","title":"Interface: CommandModuleDefs","description":"Properties","sidebar":"tutorialSidebar"},"api/interfaces/CommandPlugin":{"id":"api/interfaces/CommandPlugin","title":"Interface: CommandPlugin ","description":"Deprecated","sidebar":"tutorialSidebar"},"api/interfaces/ContextMenuMsg":{"id":"api/interfaces/ContextMenuMsg","title":"Interface: ContextMenuMsg","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/ContextMenuUser":{"id":"api/interfaces/ContextMenuUser","title":"Interface: ContextMenuUser","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/Controller":{"id":"api/interfaces/Controller","title":"Interface: Controller","description":"Properties","sidebar":"tutorialSidebar"},"api/interfaces/ControlPlugin":{"id":"api/interfaces/ControlPlugin","title":"Interface: ControlPlugin ","description":"Type parameters","sidebar":"tutorialSidebar"},"api/interfaces/CoreDependencies":{"id":"api/interfaces/CoreDependencies","title":"Interface: CoreDependencies","description":"Properties","sidebar":"tutorialSidebar"},"api/interfaces/CoreModuleStore":{"id":"api/interfaces/CoreModuleStore","title":"Interface: CoreModuleStore","description":"Represents a core module store that stores IDs mapped to file paths.","sidebar":"tutorialSidebar"},"api/interfaces/Dependencies":{"id":"api/interfaces/Dependencies","title":"Interface: Dependencies","description":"Properties","sidebar":"tutorialSidebar"},"api/interfaces/DependencyConfiguration":{"id":"api/interfaces/DependencyConfiguration","title":"Interface: DependencyConfiguration ","description":"Type parameters","sidebar":"tutorialSidebar"},"api/interfaces/DiscordEmitterPlugin":{"id":"api/interfaces/DiscordEmitterPlugin","title":"Interface: DiscordEmitterPlugin","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/DiscordEventCommand":{"id":"api/interfaces/DiscordEventCommand","title":"Interface: DiscordEventCommand ","description":"Type parameters","sidebar":"tutorialSidebar"},"api/interfaces/DiscordEventPlugin":{"id":"api/interfaces/DiscordEventPlugin","title":"Interface: DiscordEventPlugin ","description":"Type parameters","sidebar":"tutorialSidebar"},"api/interfaces/Disposable":{"id":"api/interfaces/Disposable","title":"Interface: Disposable","description":"Represents a Disposable contract.","sidebar":"tutorialSidebar"},"api/interfaces/Emitter":{"id":"api/interfaces/Emitter","title":"Interface: Emitter","description":"Methods","sidebar":"tutorialSidebar"},"api/interfaces/ErrorHandling":{"id":"api/interfaces/ErrorHandling","title":"Interface: ErrorHandling","description":"Since","sidebar":"tutorialSidebar"},"api/interfaces/EventModuleDefs":{"id":"api/interfaces/EventModuleDefs","title":"Interface: EventModuleDefs","description":"Properties","sidebar":"tutorialSidebar"},"api/interfaces/EventPlugin":{"id":"api/interfaces/EventPlugin","title":"Interface: EventPlugin ","description":"Deprecated","sidebar":"tutorialSidebar"},"api/interfaces/ExternalEmitterPlugin":{"id":"api/interfaces/ExternalEmitterPlugin","title":"Interface: ExternalEmitterPlugin","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/ExternalEventCommand":{"id":"api/interfaces/ExternalEventCommand","title":"Interface: ExternalEventCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/ExternalEventPlugin":{"id":"api/interfaces/ExternalEventPlugin","title":"Interface: ExternalEventPlugin","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/Init":{"id":"api/interfaces/Init","title":"Interface: Init","description":"Represents an initialization contract.","sidebar":"tutorialSidebar"},"api/interfaces/InitArgs":{"id":"api/interfaces/InitArgs","title":"Interface: InitArgs ","description":"Type parameters","sidebar":"tutorialSidebar"},"api/interfaces/InitPlugin":{"id":"api/interfaces/InitPlugin","title":"Interface: InitPlugin ","description":"Type parameters","sidebar":"tutorialSidebar"},"api/interfaces/Logging":{"id":"api/interfaces/Logging","title":"Interface: Logging ","description":"Since","sidebar":"tutorialSidebar"},"api/interfaces/MentionableSelectCommand":{"id":"api/interfaces/MentionableSelectCommand","title":"Interface: MentionableSelectCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/ModalSubmitCommand":{"id":"api/interfaces/ModalSubmitCommand","title":"Interface: ModalSubmitCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/Module":{"id":"api/interfaces/Module","title":"Interface: Module","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/ModuleManager":{"id":"api/interfaces/ModuleManager","title":"Interface: ModuleManager","description":"Since","sidebar":"tutorialSidebar"},"api/interfaces/Plugin":{"id":"api/interfaces/Plugin","title":"Interface: Plugin ","description":"Type parameters","sidebar":"tutorialSidebar"},"api/interfaces/Presence.Result":{"id":"api/interfaces/Presence.Result","title":"Interface: Result","description":"Presence.Result","sidebar":"tutorialSidebar"},"api/interfaces/RoleSelectCommand":{"id":"api/interfaces/RoleSelectCommand","title":"Interface: RoleSelectCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/SernAutocompleteData":{"id":"api/interfaces/SernAutocompleteData","title":"Interface: SernAutocompleteData","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/SernEmitterPlugin":{"id":"api/interfaces/SernEmitterPlugin","title":"Interface: SernEmitterPlugin","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/SernEventCommand":{"id":"api/interfaces/SernEventCommand","title":"Interface: SernEventCommand ","description":"Type parameters","sidebar":"tutorialSidebar"},"api/interfaces/SernEventPlugin":{"id":"api/interfaces/SernEventPlugin","title":"Interface: SernEventPlugin ","description":"Type parameters","sidebar":"tutorialSidebar"},"api/interfaces/SernEventsMapping":{"id":"api/interfaces/SernEventsMapping","title":"Interface: SernEventsMapping","description":"Properties","sidebar":"tutorialSidebar"},"api/interfaces/SernSubCommandData":{"id":"api/interfaces/SernSubCommandData","title":"Interface: SernSubCommandData","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/SernSubCommandGroupData":{"id":"api/interfaces/SernSubCommandGroupData","title":"Interface: SernSubCommandGroupData","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/SlashCommand":{"id":"api/interfaces/SlashCommand","title":"Interface: SlashCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/StringSelectCommand":{"id":"api/interfaces/StringSelectCommand","title":"Interface: StringSelectCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/TextCommand":{"id":"api/interfaces/TextCommand","title":"Interface: TextCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/UserSelectCommand":{"id":"api/interfaces/UserSelectCommand","title":"Interface: UserSelectCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/Wrapper":{"id":"api/interfaces/Wrapper","title":"Interface: Wrapper","description":"Properties","sidebar":"tutorialSidebar"},"api/modules":{"id":"api/modules","title":"@sern/handler","description":"Namespaces","sidebar":"tutorialSidebar"},"api/namespaces/CommandError":{"id":"api/namespaces/CommandError","title":"Namespace: CommandError","description":"Interfaces","sidebar":"tutorialSidebar"},"api/namespaces/Presence":{"id":"api/namespaces/Presence","title":"Namespace: Presence","description":"Interfaces","sidebar":"tutorialSidebar"},"api/namespaces/Sern":{"id":"api/namespaces/Sern","title":"Namespace: Sern","description":"Functions","sidebar":"tutorialSidebar"},"cli/build":{"id":"cli/build","title":"build","description":"Guiding Principles","sidebar":"tutorialSidebar"},"cli/clear":{"id":"cli/clear","title":"clear","description":"Implicits","sidebar":"tutorialSidebar"},"cli/extra":{"id":"cli/extra","title":"extra","description":"This command is pretty straightfoward. Install utilities into your application. Assumes you have a sern.config.json.","sidebar":"tutorialSidebar"},"cli/publish":{"id":"cli/publish","title":"publish","description":"Implicits","sidebar":"tutorialSidebar"},"cli/README":{"id":"cli/README","title":"CLI","description":"Publish commands to the API, install plugins, and use other tools provided by our cli.","sidebar":"tutorialSidebar"},"guide/getting-started/choose-ide":{"id":"guide/getting-started/choose-ide","title":"Choosing an IDE","description":"Choosing an IDE is a matter of personal preference. They make programming easier. The following are some","sidebar":"tutorialSidebar"},"guide/getting-started/preparing":{"id":"guide/getting-started/preparing","title":"Preparing to Code","description":"After installing an IDE, you need to install node.","sidebar":"tutorialSidebar"},"guide/README":{"id":"guide/README","title":"Introduction","description":"Welcome to our official guide. This guide will go through all the core features of the framework.","sidebar":"tutorialSidebar"},"guide/walkthrough/autocomplete":{"id":"guide/walkthrough/autocomplete","title":"Autocomplete","description":"Autocomplete is a special interaction where it can happen on multiple options on a single command. We\'ve handled this with a simple","sidebar":"tutorialSidebar"},"guide/walkthrough/cli":{"id":"guide/walkthrough/cli","title":"CLI","description":"Setting up the CLI is easy.","sidebar":"tutorialSidebar"},"guide/walkthrough/conclusion":{"id":"guide/walkthrough/conclusion","title":"Conclusion","description":"If you reached this far, thank you for reading! We hope you have learned the necessities you need","sidebar":"tutorialSidebar"},"guide/walkthrough/dependency-injection":{"id":"guide/walkthrough/dependency-injection","title":"Dependency Injection","description":"This contains version 2 code. Please view transitioning to v3","sidebar":"tutorialSidebar"},"guide/walkthrough/first-command":{"id":"guide/walkthrough/first-command","title":"First Command","description":"We will dissect a basic command.","sidebar":"tutorialSidebar"},"guide/walkthrough/first-event":{"id":"guide/walkthrough/first-event","title":"First Event Module","description":"We will dissect a basic event module.","sidebar":"tutorialSidebar"},"guide/walkthrough/goal":{"id":"guide/walkthrough/goal","title":"Goal","description":"This walkthrough will be written in TypeScript but will have JavaScript snippets throughout.","sidebar":"tutorialSidebar"},"guide/walkthrough/good-to-know":{"id":"guide/walkthrough/good-to-know","title":"Good to know","description":"sern.config.json","sidebar":"tutorialSidebar"},"guide/walkthrough/new-project":{"id":"guide/walkthrough/new-project","title":"Create a new project","description":"and follow the interactive prompts.","sidebar":"tutorialSidebar"},"guide/walkthrough/plugins":{"id":"guide/walkthrough/plugins","title":"Plugins","description":"TLDR: Plugins help reduce code repetition and are installable via sern plugins. Put them onto the plugins field of a command/event module.","sidebar":"tutorialSidebar"},"guide/walkthrough/sern-emitter":{"id":"guide/walkthrough/sern-emitter","title":"The SernEmitter class","description":"You\'re shipped with the SernEmitter. This EventEmitter listens to","sidebar":"tutorialSidebar"},"guide/walkthrough/services":{"id":"guide/walkthrough/services","title":"Services","description":"This is version 3 api only!!","sidebar":"tutorialSidebar"},"guide/walkthrough/transition":{"id":"guide/walkthrough/transition","title":"Transition from v2 to v3","description":"v3 comes with the new Service api. To make sure to enable intellisense","sidebar":"tutorialSidebar"},"intro":{"id":"intro","title":"Welcome!","description":"Please read the transition page if you are moving from version 2 to version 3.","sidebar":"tutorialSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.f3ae504a.js b/assets/js/935f2afb.f3ae504a.js new file mode 100644 index 000000000..688b5d8d2 --- /dev/null +++ b/assets/js/935f2afb.f3ae504a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksern_website=self.webpackChunksern_website||[]).push([[8581],{5610:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"category","label":"API","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Exports","href":"/docs/api/modules","docId":"api/modules","unlisted":false},{"type":"category","label":"Namespaces","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"CommandError","href":"/docs/api/namespaces/CommandError","docId":"api/namespaces/CommandError","unlisted":false},{"type":"link","label":"Presence","href":"/docs/api/namespaces/Presence","docId":"api/namespaces/Presence","unlisted":false},{"type":"link","label":"Sern","href":"/docs/api/namespaces/Sern","docId":"api/namespaces/Sern","unlisted":false}]},{"type":"category","label":"Enumerations","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"CommandType","href":"/docs/api/enums/CommandType","docId":"api/enums/CommandType","unlisted":false},{"type":"link","label":"EventType","href":"/docs/api/enums/EventType","docId":"api/enums/EventType","unlisted":false},{"type":"link","label":"PayloadType","href":"/docs/api/enums/PayloadType","docId":"api/enums/PayloadType","unlisted":false},{"type":"link","label":"PluginType","href":"/docs/api/enums/PluginType","docId":"api/enums/PluginType","unlisted":false},{"type":"link","label":"SernError","href":"/docs/api/enums/SernError","docId":"api/enums/SernError","unlisted":false}]},{"type":"category","label":"Classes","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"CommandExecutable","href":"/docs/api/classes/CommandExecutable","docId":"api/classes/CommandExecutable","unlisted":false},{"type":"link","label":"Context","href":"/docs/api/classes/Context","docId":"api/classes/Context","unlisted":false},{"type":"link","label":"DefaultErrorHandling","href":"/docs/api/classes/DefaultErrorHandling","docId":"api/classes/DefaultErrorHandling","unlisted":false},{"type":"link","label":"DefaultLogging","href":"/docs/api/classes/DefaultLogging","docId":"api/classes/DefaultLogging","unlisted":false},{"type":"link","label":"DefaultModuleManager","href":"/docs/api/classes/DefaultModuleManager","docId":"api/classes/DefaultModuleManager","unlisted":false},{"type":"link","label":"EventExecutable","href":"/docs/api/classes/EventExecutable","docId":"api/classes/EventExecutable","unlisted":false},{"type":"link","label":"ModuleStore","href":"/docs/api/classes/ModuleStore","docId":"api/classes/ModuleStore","unlisted":false},{"type":"link","label":"SernEmitter","href":"/docs/api/classes/SernEmitter","docId":"api/classes/SernEmitter","unlisted":false}]},{"type":"category","label":"Interfaces","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"AutocompleteCommand","href":"/docs/api/interfaces/AutocompleteCommand","docId":"api/interfaces/AutocompleteCommand","unlisted":false},{"type":"link","label":"AutocompletePlugin","href":"/docs/api/interfaces/AutocompletePlugin","docId":"api/interfaces/AutocompletePlugin","unlisted":false},{"type":"link","label":"BothCommand","href":"/docs/api/interfaces/BothCommand","docId":"api/interfaces/BothCommand","unlisted":false},{"type":"link","label":"ButtonCommand","href":"/docs/api/interfaces/ButtonCommand","docId":"api/interfaces/ButtonCommand","unlisted":false},{"type":"link","label":"ChannelSelectCommand","href":"/docs/api/interfaces/ChannelSelectCommand","docId":"api/interfaces/ChannelSelectCommand","unlisted":false},{"type":"link","label":"CommandModuleDefs","href":"/docs/api/interfaces/CommandModuleDefs","docId":"api/interfaces/CommandModuleDefs","unlisted":false},{"type":"link","label":"CommandPlugin","href":"/docs/api/interfaces/CommandPlugin","docId":"api/interfaces/CommandPlugin","unlisted":false},{"type":"link","label":"ContextMenuMsg","href":"/docs/api/interfaces/ContextMenuMsg","docId":"api/interfaces/ContextMenuMsg","unlisted":false},{"type":"link","label":"ContextMenuUser","href":"/docs/api/interfaces/ContextMenuUser","docId":"api/interfaces/ContextMenuUser","unlisted":false},{"type":"link","label":"ControlPlugin","href":"/docs/api/interfaces/ControlPlugin","docId":"api/interfaces/ControlPlugin","unlisted":false},{"type":"link","label":"Controller","href":"/docs/api/interfaces/Controller","docId":"api/interfaces/Controller","unlisted":false},{"type":"link","label":"CoreDependencies","href":"/docs/api/interfaces/CoreDependencies","docId":"api/interfaces/CoreDependencies","unlisted":false},{"type":"link","label":"CoreModuleStore","href":"/docs/api/interfaces/CoreModuleStore","docId":"api/interfaces/CoreModuleStore","unlisted":false},{"type":"link","label":"Dependencies","href":"/docs/api/interfaces/Dependencies","docId":"api/interfaces/Dependencies","unlisted":false},{"type":"link","label":"DependencyConfiguration","href":"/docs/api/interfaces/DependencyConfiguration","docId":"api/interfaces/DependencyConfiguration","unlisted":false},{"type":"link","label":"DiscordEmitterPlugin","href":"/docs/api/interfaces/DiscordEmitterPlugin","docId":"api/interfaces/DiscordEmitterPlugin","unlisted":false},{"type":"link","label":"DiscordEventCommand","href":"/docs/api/interfaces/DiscordEventCommand","docId":"api/interfaces/DiscordEventCommand","unlisted":false},{"type":"link","label":"DiscordEventPlugin","href":"/docs/api/interfaces/DiscordEventPlugin","docId":"api/interfaces/DiscordEventPlugin","unlisted":false},{"type":"link","label":"Disposable","href":"/docs/api/interfaces/Disposable","docId":"api/interfaces/Disposable","unlisted":false},{"type":"link","label":"Emitter","href":"/docs/api/interfaces/Emitter","docId":"api/interfaces/Emitter","unlisted":false},{"type":"link","label":"ErrorHandling","href":"/docs/api/interfaces/ErrorHandling","docId":"api/interfaces/ErrorHandling","unlisted":false},{"type":"link","label":"EventModuleDefs","href":"/docs/api/interfaces/EventModuleDefs","docId":"api/interfaces/EventModuleDefs","unlisted":false},{"type":"link","label":"EventPlugin","href":"/docs/api/interfaces/EventPlugin","docId":"api/interfaces/EventPlugin","unlisted":false},{"type":"link","label":"ExternalEmitterPlugin","href":"/docs/api/interfaces/ExternalEmitterPlugin","docId":"api/interfaces/ExternalEmitterPlugin","unlisted":false},{"type":"link","label":"ExternalEventCommand","href":"/docs/api/interfaces/ExternalEventCommand","docId":"api/interfaces/ExternalEventCommand","unlisted":false},{"type":"link","label":"ExternalEventPlugin","href":"/docs/api/interfaces/ExternalEventPlugin","docId":"api/interfaces/ExternalEventPlugin","unlisted":false},{"type":"link","label":"Init","href":"/docs/api/interfaces/Init","docId":"api/interfaces/Init","unlisted":false},{"type":"link","label":"InitArgs","href":"/docs/api/interfaces/InitArgs","docId":"api/interfaces/InitArgs","unlisted":false},{"type":"link","label":"InitPlugin","href":"/docs/api/interfaces/InitPlugin","docId":"api/interfaces/InitPlugin","unlisted":false},{"type":"link","label":"Logging","href":"/docs/api/interfaces/Logging","docId":"api/interfaces/Logging","unlisted":false},{"type":"link","label":"MentionableSelectCommand","href":"/docs/api/interfaces/MentionableSelectCommand","docId":"api/interfaces/MentionableSelectCommand","unlisted":false},{"type":"link","label":"ModalSubmitCommand","href":"/docs/api/interfaces/ModalSubmitCommand","docId":"api/interfaces/ModalSubmitCommand","unlisted":false},{"type":"link","label":"Module","href":"/docs/api/interfaces/Module","docId":"api/interfaces/Module","unlisted":false},{"type":"link","label":"ModuleManager","href":"/docs/api/interfaces/ModuleManager","docId":"api/interfaces/ModuleManager","unlisted":false},{"type":"link","label":"Plugin","href":"/docs/api/interfaces/Plugin","docId":"api/interfaces/Plugin","unlisted":false},{"type":"link","label":"RoleSelectCommand","href":"/docs/api/interfaces/RoleSelectCommand","docId":"api/interfaces/RoleSelectCommand","unlisted":false},{"type":"link","label":"SernAutocompleteData","href":"/docs/api/interfaces/SernAutocompleteData","docId":"api/interfaces/SernAutocompleteData","unlisted":false},{"type":"link","label":"SernEmitterPlugin","href":"/docs/api/interfaces/SernEmitterPlugin","docId":"api/interfaces/SernEmitterPlugin","unlisted":false},{"type":"link","label":"SernEventCommand","href":"/docs/api/interfaces/SernEventCommand","docId":"api/interfaces/SernEventCommand","unlisted":false},{"type":"link","label":"SernEventPlugin","href":"/docs/api/interfaces/SernEventPlugin","docId":"api/interfaces/SernEventPlugin","unlisted":false},{"type":"link","label":"SernEventsMapping","href":"/docs/api/interfaces/SernEventsMapping","docId":"api/interfaces/SernEventsMapping","unlisted":false},{"type":"link","label":"SernSubCommandData","href":"/docs/api/interfaces/SernSubCommandData","docId":"api/interfaces/SernSubCommandData","unlisted":false},{"type":"link","label":"SernSubCommandGroupData","href":"/docs/api/interfaces/SernSubCommandGroupData","docId":"api/interfaces/SernSubCommandGroupData","unlisted":false},{"type":"link","label":"SlashCommand","href":"/docs/api/interfaces/SlashCommand","docId":"api/interfaces/SlashCommand","unlisted":false},{"type":"link","label":"StringSelectCommand","href":"/docs/api/interfaces/StringSelectCommand","docId":"api/interfaces/StringSelectCommand","unlisted":false},{"type":"link","label":"TextCommand","href":"/docs/api/interfaces/TextCommand","docId":"api/interfaces/TextCommand","unlisted":false},{"type":"link","label":"UserSelectCommand","href":"/docs/api/interfaces/UserSelectCommand","docId":"api/interfaces/UserSelectCommand","unlisted":false},{"type":"link","label":"Wrapper","href":"/docs/api/interfaces/Wrapper","docId":"api/interfaces/Wrapper","unlisted":false},{"type":"link","label":"Response","href":"/docs/api/interfaces/CommandError.Response","docId":"api/interfaces/CommandError.Response","unlisted":false},{"type":"link","label":"Result","href":"/docs/api/interfaces/Presence.Result","docId":"api/interfaces/Presence.Result","unlisted":false}]}],"href":"/docs/api/"},{"type":"link","label":"Welcome!","href":"/docs/intro","docId":"intro","unlisted":false},{"type":"category","label":"CLI","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"build","href":"/docs/cli/build","docId":"cli/build","unlisted":false},{"type":"link","label":"clear","href":"/docs/cli/clear","docId":"cli/clear","unlisted":false},{"type":"link","label":"extra","href":"/docs/cli/extra","docId":"cli/extra","unlisted":false},{"type":"link","label":"publish","href":"/docs/cli/publish","docId":"cli/publish","unlisted":false}],"href":"/docs/cli/"},{"type":"category","label":"Introduction","collapsible":true,"collapsed":true,"items":[{"type":"category","label":"Getting Started","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Choosing an IDE","href":"/docs/guide/getting-started/choose-ide","docId":"guide/getting-started/choose-ide","unlisted":false},{"type":"link","label":"Preparing to Code","href":"/docs/guide/getting-started/preparing","docId":"guide/getting-started/preparing","unlisted":false}]},{"type":"category","label":"Walkthrough","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Goal","href":"/docs/guide/walkthrough/goal","docId":"guide/walkthrough/goal","unlisted":false},{"type":"link","label":"Create a new project","href":"/docs/guide/walkthrough/new-project","docId":"guide/walkthrough/new-project","unlisted":false},{"type":"link","label":"CLI","href":"/docs/guide/walkthrough/cli","docId":"guide/walkthrough/cli","unlisted":false},{"type":"link","label":"Transition from v2 to v3","href":"/docs/guide/walkthrough/transition","docId":"guide/walkthrough/transition","unlisted":false},{"type":"link","label":"First Command","href":"/docs/guide/walkthrough/first-command","docId":"guide/walkthrough/first-command","unlisted":false},{"type":"link","label":"First Event Module","href":"/docs/guide/walkthrough/first-event","docId":"guide/walkthrough/first-event","unlisted":false},{"type":"link","label":"Plugins","href":"/docs/guide/walkthrough/plugins","docId":"guide/walkthrough/plugins","unlisted":false},{"type":"link","label":"Services","href":"/docs/guide/walkthrough/services","docId":"guide/walkthrough/services","unlisted":false},{"type":"link","label":"Autocomplete","href":"/docs/guide/walkthrough/autocomplete","docId":"guide/walkthrough/autocomplete","unlisted":false},{"type":"link","label":"Dependency Injection","href":"/docs/guide/walkthrough/dependency-injection","docId":"guide/walkthrough/dependency-injection","unlisted":false},{"type":"link","label":"The SernEmitter class","href":"/docs/guide/walkthrough/sern-emitter","docId":"guide/walkthrough/sern-emitter","unlisted":false},{"type":"link","label":"Conclusion","href":"/docs/guide/walkthrough/conclusion","docId":"guide/walkthrough/conclusion","unlisted":false},{"type":"link","label":"Good to know","href":"/docs/guide/walkthrough/good-to-know","docId":"guide/walkthrough/good-to-know","unlisted":false}]}],"href":"/docs/guide/"}]},"docs":{"api/classes/CommandExecutable":{"id":"api/classes/CommandExecutable","title":"Class: CommandExecutable ","description":"Deprecated","sidebar":"tutorialSidebar"},"api/classes/Context":{"id":"api/classes/Context","title":"Class: Context","description":"Since","sidebar":"tutorialSidebar"},"api/classes/DefaultErrorHandling":{"id":"api/classes/DefaultErrorHandling","title":"Class: DefaultErrorHandling","description":"Since","sidebar":"tutorialSidebar"},"api/classes/DefaultLogging":{"id":"api/classes/DefaultLogging","title":"Class: DefaultLogging","description":"Since","sidebar":"tutorialSidebar"},"api/classes/DefaultModuleManager":{"id":"api/classes/DefaultModuleManager","title":"Class: DefaultModuleManager","description":"Since","sidebar":"tutorialSidebar"},"api/classes/EventExecutable":{"id":"api/classes/EventExecutable","title":"Class: EventExecutable ","description":"Deprecated","sidebar":"tutorialSidebar"},"api/classes/ModuleStore":{"id":"api/classes/ModuleStore","title":"Class: ModuleStore","description":"Constructors","sidebar":"tutorialSidebar"},"api/classes/SernEmitter":{"id":"api/classes/SernEmitter","title":"Class: SernEmitter","description":"Since","sidebar":"tutorialSidebar"},"api/enums/CommandType":{"id":"api/enums/CommandType","title":"Enumeration: CommandType","description":"Since","sidebar":"tutorialSidebar"},"api/enums/EventType":{"id":"api/enums/EventType","title":"Enumeration: EventType","description":"A bitfield that discriminates event modules","sidebar":"tutorialSidebar"},"api/enums/PayloadType":{"id":"api/enums/PayloadType","title":"Enumeration: PayloadType","description":"Enumeration Members","sidebar":"tutorialSidebar"},"api/enums/PluginType":{"id":"api/enums/PluginType","title":"Enumeration: PluginType","description":"A bitfield that discriminates plugins","sidebar":"tutorialSidebar"},"api/enums/SernError":{"id":"api/enums/SernError","title":"Enumeration: SernError","description":"Enumeration Members","sidebar":"tutorialSidebar"},"api/index":{"id":"api/index","title":"@sern/handler","description":"Handlers. Redefined.","sidebar":"tutorialSidebar"},"api/interfaces/AutocompleteCommand":{"id":"api/interfaces/AutocompleteCommand","title":"Interface: AutocompleteCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/AutocompletePlugin":{"id":"api/interfaces/AutocompletePlugin","title":"Interface: AutocompletePlugin","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/BothCommand":{"id":"api/interfaces/BothCommand","title":"Interface: BothCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/ButtonCommand":{"id":"api/interfaces/ButtonCommand","title":"Interface: ButtonCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/ChannelSelectCommand":{"id":"api/interfaces/ChannelSelectCommand","title":"Interface: ChannelSelectCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/CommandError.Response":{"id":"api/interfaces/CommandError.Response","title":"Interface: Response","description":"CommandError.Response","sidebar":"tutorialSidebar"},"api/interfaces/CommandModuleDefs":{"id":"api/interfaces/CommandModuleDefs","title":"Interface: CommandModuleDefs","description":"Properties","sidebar":"tutorialSidebar"},"api/interfaces/CommandPlugin":{"id":"api/interfaces/CommandPlugin","title":"Interface: CommandPlugin ","description":"Deprecated","sidebar":"tutorialSidebar"},"api/interfaces/ContextMenuMsg":{"id":"api/interfaces/ContextMenuMsg","title":"Interface: ContextMenuMsg","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/ContextMenuUser":{"id":"api/interfaces/ContextMenuUser","title":"Interface: ContextMenuUser","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/Controller":{"id":"api/interfaces/Controller","title":"Interface: Controller","description":"Properties","sidebar":"tutorialSidebar"},"api/interfaces/ControlPlugin":{"id":"api/interfaces/ControlPlugin","title":"Interface: ControlPlugin ","description":"Type parameters","sidebar":"tutorialSidebar"},"api/interfaces/CoreDependencies":{"id":"api/interfaces/CoreDependencies","title":"Interface: CoreDependencies","description":"Properties","sidebar":"tutorialSidebar"},"api/interfaces/CoreModuleStore":{"id":"api/interfaces/CoreModuleStore","title":"Interface: CoreModuleStore","description":"Represents a core module store that stores IDs mapped to file paths.","sidebar":"tutorialSidebar"},"api/interfaces/Dependencies":{"id":"api/interfaces/Dependencies","title":"Interface: Dependencies","description":"Properties","sidebar":"tutorialSidebar"},"api/interfaces/DependencyConfiguration":{"id":"api/interfaces/DependencyConfiguration","title":"Interface: DependencyConfiguration ","description":"Type parameters","sidebar":"tutorialSidebar"},"api/interfaces/DiscordEmitterPlugin":{"id":"api/interfaces/DiscordEmitterPlugin","title":"Interface: DiscordEmitterPlugin","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/DiscordEventCommand":{"id":"api/interfaces/DiscordEventCommand","title":"Interface: DiscordEventCommand ","description":"Type parameters","sidebar":"tutorialSidebar"},"api/interfaces/DiscordEventPlugin":{"id":"api/interfaces/DiscordEventPlugin","title":"Interface: DiscordEventPlugin ","description":"Type parameters","sidebar":"tutorialSidebar"},"api/interfaces/Disposable":{"id":"api/interfaces/Disposable","title":"Interface: Disposable","description":"Represents a Disposable contract.","sidebar":"tutorialSidebar"},"api/interfaces/Emitter":{"id":"api/interfaces/Emitter","title":"Interface: Emitter","description":"Methods","sidebar":"tutorialSidebar"},"api/interfaces/ErrorHandling":{"id":"api/interfaces/ErrorHandling","title":"Interface: ErrorHandling","description":"Since","sidebar":"tutorialSidebar"},"api/interfaces/EventModuleDefs":{"id":"api/interfaces/EventModuleDefs","title":"Interface: EventModuleDefs","description":"Properties","sidebar":"tutorialSidebar"},"api/interfaces/EventPlugin":{"id":"api/interfaces/EventPlugin","title":"Interface: EventPlugin ","description":"Deprecated","sidebar":"tutorialSidebar"},"api/interfaces/ExternalEmitterPlugin":{"id":"api/interfaces/ExternalEmitterPlugin","title":"Interface: ExternalEmitterPlugin","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/ExternalEventCommand":{"id":"api/interfaces/ExternalEventCommand","title":"Interface: ExternalEventCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/ExternalEventPlugin":{"id":"api/interfaces/ExternalEventPlugin","title":"Interface: ExternalEventPlugin","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/Init":{"id":"api/interfaces/Init","title":"Interface: Init","description":"Represents an initialization contract.","sidebar":"tutorialSidebar"},"api/interfaces/InitArgs":{"id":"api/interfaces/InitArgs","title":"Interface: InitArgs ","description":"Type parameters","sidebar":"tutorialSidebar"},"api/interfaces/InitPlugin":{"id":"api/interfaces/InitPlugin","title":"Interface: InitPlugin ","description":"Type parameters","sidebar":"tutorialSidebar"},"api/interfaces/Logging":{"id":"api/interfaces/Logging","title":"Interface: Logging ","description":"Since","sidebar":"tutorialSidebar"},"api/interfaces/MentionableSelectCommand":{"id":"api/interfaces/MentionableSelectCommand","title":"Interface: MentionableSelectCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/ModalSubmitCommand":{"id":"api/interfaces/ModalSubmitCommand","title":"Interface: ModalSubmitCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/Module":{"id":"api/interfaces/Module","title":"Interface: Module","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/ModuleManager":{"id":"api/interfaces/ModuleManager","title":"Interface: ModuleManager","description":"Since","sidebar":"tutorialSidebar"},"api/interfaces/Plugin":{"id":"api/interfaces/Plugin","title":"Interface: Plugin ","description":"Type parameters","sidebar":"tutorialSidebar"},"api/interfaces/Presence.Result":{"id":"api/interfaces/Presence.Result","title":"Interface: Result","description":"Presence.Result","sidebar":"tutorialSidebar"},"api/interfaces/RoleSelectCommand":{"id":"api/interfaces/RoleSelectCommand","title":"Interface: RoleSelectCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/SernAutocompleteData":{"id":"api/interfaces/SernAutocompleteData","title":"Interface: SernAutocompleteData","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/SernEmitterPlugin":{"id":"api/interfaces/SernEmitterPlugin","title":"Interface: SernEmitterPlugin","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/SernEventCommand":{"id":"api/interfaces/SernEventCommand","title":"Interface: SernEventCommand ","description":"Type parameters","sidebar":"tutorialSidebar"},"api/interfaces/SernEventPlugin":{"id":"api/interfaces/SernEventPlugin","title":"Interface: SernEventPlugin ","description":"Type parameters","sidebar":"tutorialSidebar"},"api/interfaces/SernEventsMapping":{"id":"api/interfaces/SernEventsMapping","title":"Interface: SernEventsMapping","description":"Properties","sidebar":"tutorialSidebar"},"api/interfaces/SernSubCommandData":{"id":"api/interfaces/SernSubCommandData","title":"Interface: SernSubCommandData","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/SernSubCommandGroupData":{"id":"api/interfaces/SernSubCommandGroupData","title":"Interface: SernSubCommandGroupData","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/SlashCommand":{"id":"api/interfaces/SlashCommand","title":"Interface: SlashCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/StringSelectCommand":{"id":"api/interfaces/StringSelectCommand","title":"Interface: StringSelectCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/TextCommand":{"id":"api/interfaces/TextCommand","title":"Interface: TextCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/UserSelectCommand":{"id":"api/interfaces/UserSelectCommand","title":"Interface: UserSelectCommand","description":"Hierarchy","sidebar":"tutorialSidebar"},"api/interfaces/Wrapper":{"id":"api/interfaces/Wrapper","title":"Interface: Wrapper","description":"Properties","sidebar":"tutorialSidebar"},"api/modules":{"id":"api/modules","title":"@sern/handler","description":"Namespaces","sidebar":"tutorialSidebar"},"api/namespaces/CommandError":{"id":"api/namespaces/CommandError","title":"Namespace: CommandError","description":"Interfaces","sidebar":"tutorialSidebar"},"api/namespaces/Presence":{"id":"api/namespaces/Presence","title":"Namespace: Presence","description":"Interfaces","sidebar":"tutorialSidebar"},"api/namespaces/Sern":{"id":"api/namespaces/Sern","title":"Namespace: Sern","description":"Functions","sidebar":"tutorialSidebar"},"cli/build":{"id":"cli/build","title":"build","description":"Guiding Principles","sidebar":"tutorialSidebar"},"cli/clear":{"id":"cli/clear","title":"clear","description":"Implicits","sidebar":"tutorialSidebar"},"cli/extra":{"id":"cli/extra","title":"extra","description":"This command is pretty straightfoward. Install utilities into your application. Assumes you have a sern.config.json.","sidebar":"tutorialSidebar"},"cli/publish":{"id":"cli/publish","title":"publish","description":"Implicits","sidebar":"tutorialSidebar"},"cli/README":{"id":"cli/README","title":"CLI","description":"Publish commands to the API, install plugins, and use other tools provided by our cli.","sidebar":"tutorialSidebar"},"guide/getting-started/choose-ide":{"id":"guide/getting-started/choose-ide","title":"Choosing an IDE","description":"Choosing an IDE is a matter of personal preference. They make programming easier. The following are some","sidebar":"tutorialSidebar"},"guide/getting-started/preparing":{"id":"guide/getting-started/preparing","title":"Preparing to Code","description":"After installing an IDE, you need to install node.","sidebar":"tutorialSidebar"},"guide/README":{"id":"guide/README","title":"Introduction","description":"Welcome to our official guide. This guide will go through all the core features of the framework.","sidebar":"tutorialSidebar"},"guide/walkthrough/autocomplete":{"id":"guide/walkthrough/autocomplete","title":"Autocomplete","description":"Autocomplete is a special interaction where it can happen on multiple options on a single command. We\'ve handled this with a simple","sidebar":"tutorialSidebar"},"guide/walkthrough/cli":{"id":"guide/walkthrough/cli","title":"CLI","description":"Setting up the CLI is easy.","sidebar":"tutorialSidebar"},"guide/walkthrough/conclusion":{"id":"guide/walkthrough/conclusion","title":"Conclusion","description":"If you reached this far, thank you for reading! We hope you have learned the necessities you need","sidebar":"tutorialSidebar"},"guide/walkthrough/dependency-injection":{"id":"guide/walkthrough/dependency-injection","title":"Dependency Injection","description":"This contains version 2 code. Please view transitioning to v3","sidebar":"tutorialSidebar"},"guide/walkthrough/first-command":{"id":"guide/walkthrough/first-command","title":"First Command","description":"We will dissect a basic command.","sidebar":"tutorialSidebar"},"guide/walkthrough/first-event":{"id":"guide/walkthrough/first-event","title":"First Event Module","description":"We will dissect a basic event module.","sidebar":"tutorialSidebar"},"guide/walkthrough/goal":{"id":"guide/walkthrough/goal","title":"Goal","description":"This walkthrough will be written in TypeScript but will have JavaScript snippets throughout.","sidebar":"tutorialSidebar"},"guide/walkthrough/good-to-know":{"id":"guide/walkthrough/good-to-know","title":"Good to know","description":"sern.config.json","sidebar":"tutorialSidebar"},"guide/walkthrough/new-project":{"id":"guide/walkthrough/new-project","title":"Create a new project","description":"and follow the interactive prompts.","sidebar":"tutorialSidebar"},"guide/walkthrough/plugins":{"id":"guide/walkthrough/plugins","title":"Plugins","description":"TLDR: Plugins help reduce code repetition and are installable via sern plugins. Put them onto the plugins field of a command/event module.","sidebar":"tutorialSidebar"},"guide/walkthrough/sern-emitter":{"id":"guide/walkthrough/sern-emitter","title":"The SernEmitter class","description":"You\'re shipped with the SernEmitter. This EventEmitter listens to","sidebar":"tutorialSidebar"},"guide/walkthrough/services":{"id":"guide/walkthrough/services","title":"Services","description":"This is version 3 api only!!","sidebar":"tutorialSidebar"},"guide/walkthrough/transition":{"id":"guide/walkthrough/transition","title":"Transition from v2 to v3","description":"v3 comes with the new Service api. To make sure to enable intellisense","sidebar":"tutorialSidebar"},"intro":{"id":"intro","title":"Welcome!","description":"Please read the transition page if you are moving from version 2 to version 3.","sidebar":"tutorialSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/9462.ba451a0d.js b/assets/js/9462.ba451a0d.js deleted file mode 100644 index 483d40c1e..000000000 --- a/assets/js/9462.ba451a0d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_sern_website=self.webpackChunk_sern_website||[]).push([[9462],{9462:(e,t,r)=>{function n(e,t){var r=void 0;return function(){for(var n=arguments.length,o=new Array(n),i=0;i pn});var a=function(){};function c(e){var t=e.item,r=e.items;return{index:t.__autocomplete_indexName,items:[t],positions:[1+r.findIndex((function(e){return e.objectID===t.objectID}))],queryID:t.__autocomplete_queryID,algoliaSource:["autocomplete"]}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(s){u=!0,o=s}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r e.length)&&(t=e.length);for(var r=0,n=new Array(t);r =0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n =0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t =3||2===r&&n>=4||1===r&&n>=10);function i(t,r,n){if(o&&void 0!==n){var i=n[0].__autocomplete_algoliaCredentials,a={"X-Algolia-Application-Id":i.appId,"X-Algolia-API-Key":i.apiKey};e.apply(void 0,[t].concat(p(r),[{headers:a}]))}else e.apply(void 0,[t].concat(p(r)))}return{init:function(t,r){e("init",{appId:t,apiKey:r})},setUserToken:function(t){e("setUserToken",t)},clickedObjectIDsAfterSearch:function(){for(var e=arguments.length,t=new Array(e),r=0;r 0&&i("clickedObjectIDsAfterSearch",g(t),t[0].items)},clickedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),r=0;r 0&&i("clickedObjectIDs",g(t),t[0].items)},clickedFilters:function(){for(var t=arguments.length,r=new Array(t),n=0;n 0&&e.apply(void 0,["clickedFilters"].concat(r))},convertedObjectIDsAfterSearch:function(){for(var e=arguments.length,t=new Array(e),r=0;r 0&&i("convertedObjectIDsAfterSearch",g(t),t[0].items)},convertedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),r=0;r 0&&i("convertedObjectIDs",g(t),t[0].items)},convertedFilters:function(){for(var t=arguments.length,r=new Array(t),n=0;n 0&&e.apply(void 0,["convertedFilters"].concat(r))},viewedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),r=0;r 0&&t.reduce((function(e,t){var r=t.items,n=d(t,f);return[].concat(p(e),p(function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,r=[],n=0;n 0&&e.apply(void 0,["viewedFilters"].concat(r))}}}function S(e){var t=e.items.reduce((function(e,t){var r;return e[t.__autocomplete_indexName]=(null!==(r=e[t.__autocomplete_indexName])&&void 0!==r?r:[]).concat(t),e}),{});return Object.keys(t).map((function(e){return{index:e,items:t[e],algoliaSource:["autocomplete"]}}))}function j(e){return e.objectID&&e.__autocomplete_indexName&&e.__autocomplete_queryID}function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function E(e){return function(e){if(Array.isArray(e))return P(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return P(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return P(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r 0&&C({onItemsChange:o,items:r,insights:f,state:t}))}}),0);return{name:"aa.algoliaInsightsPlugin",subscribe:function(e){var t=e.setContext,r=e.onSelect,n=e.onActive;s("addAlgoliaAgent","insights-plugin"),t({algoliaInsightsPlugin:{__algoliaSearchParameters:{clickAnalytics:!0},insights:f}}),r((function(e){var t=e.item,r=e.state,n=e.event;j(t)&&l({state:r,event:n,insights:f,item:t,insightsEvents:[D({eventName:"Item Selected"},c({item:t,items:m.current}))]})})),n((function(e){var t=e.item,r=e.state,n=e.event;j(t)&&u({state:r,event:n,insights:f,item:t,insightsEvents:[D({eventName:"Item Active"},c({item:t,items:m.current}))]})}))},onStateChange:function(e){var t=e.state;p({state:t})},__autocomplete_pluginOptions:e}}function N(e){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N(e)}function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function q(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==N(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==N(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===N(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function R(e,t,r){var n,o=t.initialState;return{getState:function(){return o},dispatch:function(n,i){var a=function(e){for(var t=1;t e.length)&&(t=e.length);for(var r=0,n=new Array(t);r 0},reshape:function(e){return e.sources}},e),{},{id:null!==(r=e.id)&&void 0!==r?r:"autocomplete-".concat(V++),plugins:o,initialState:X({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},e.initialState),onStateChange:function(t){var r;null===(r=e.onStateChange)||void 0===r||r.call(e,t),o.forEach((function(e){var r;return null===(r=e.onStateChange)||void 0===r?void 0:r.call(e,t)}))},onSubmit:function(t){var r;null===(r=e.onSubmit)||void 0===r||r.call(e,t),o.forEach((function(e){var r;return null===(r=e.onSubmit)||void 0===r?void 0:r.call(e,t)}))},onReset:function(t){var r;null===(r=e.onReset)||void 0===r||r.call(e,t),o.forEach((function(e){var r;return null===(r=e.onReset)||void 0===r?void 0:r.call(e,t)}))},getSources:function(r){return Promise.all([].concat(Q(o.map((function(e){return e.getSources}))),[e.getSources]).filter(Boolean).map((function(e){return function(e,t){var r=[];return Promise.resolve(e(t)).then((function(e){return Array.isArray(e),Promise.all(e.filter((function(e){return Boolean(e)})).map((function(e){if(e.sourceId,r.includes(e.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(e.sourceId)," is not unique."));r.push(e.sourceId);var t={getItemInputValue:function(e){return e.state.query},getItemUrl:function(){},onSelect:function(e){(0,e.setIsOpen)(!1)},onActive:a,onResolve:a};Object.keys(t).forEach((function(e){t[e].__default=!0}));var n=$($({},t),e);return Promise.resolve(n)})))}))}(e,r)}))).then((function(e){return L(e)})).then((function(e){return e.map((function(e){return X(X({},e),{},{onSelect:function(r){e.onSelect(r),t.forEach((function(e){var t;return null===(t=e.onSelect)||void 0===t?void 0:t.call(e,r)}))},onActive:function(r){e.onActive(r),t.forEach((function(e){var t;return null===(t=e.onActive)||void 0===t?void 0:t.call(e,r)}))},onResolve:function(r){e.onResolve(r),t.forEach((function(e){var t;return null===(t=e.onResolve)||void 0===t?void 0:t.call(e,r)}))}})}))}))},navigator:X({navigate:function(e){var t=e.itemUrl;n.location.assign(t)},navigateNewTab:function(e){var t=e.itemUrl,r=n.open(t,"_blank","noopener");null==r||r.focus()},navigateNewWindow:function(e){var t=e.itemUrl;n.open(t,"_blank","noopener")}},e.navigator)})}function te(e){return te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(e)}function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ne(e){for(var t=1;t e.length)&&(t=e.length);for(var r=0,n=new Array(t);r