diff --git a/src/components/Documentation.vue b/src/components/Documentation.vue
index 311f062..947ec53 100644
--- a/src/components/Documentation.vue
+++ b/src/components/Documentation.vue
@@ -115,13 +115,14 @@
{{ link.label }}
-
- {{ item.label }}
-
+
+
+ {{ item.label }}
+
+
@@ -179,9 +180,7 @@ import { Dialog, DialogOverlay, TransitionChild, TransitionRoot } from '@headles
import { documentation } from '../utils/Navigation'
import { CalendarIcon, ChartBarIcon, FolderIcon, HomeIcon, InboxIcon, MenuIcon, UsersIcon, XIcon, MenuAlt2Icon } from '@heroicons/vue/outline'
-defineProps<{
- title: string
-}>()
+defineProps<{ title: string }>()
const sidebarOpen = ref(false)
diff --git a/src/templates/modules/documentation/Routes.ts b/src/templates/modules/documentation/Routes.ts
index 0ea8eca..2259df5 100644
--- a/src/templates/modules/documentation/Routes.ts
+++ b/src/templates/modules/documentation/Routes.ts
@@ -10,6 +10,8 @@ import Middleware from './base/Middleware.vue'
import Hook from './base/Hook.vue'
import Deployment from './advanced/Deployment.vue'
import PartialHooks from './base/PartialHooks.vue'
+import ExampleSlashCommand from './examples/SlashCommand.vue'
+import ExampleButtons from './examples/Buttons.vue'
const routes: RouteRecordRaw[] = [
{ path: '/documentation/getting-started', component: GettingStarted },
@@ -24,6 +26,9 @@ const routes: RouteRecordRaw[] = [
{ path: '/documentation/hooks', component: Hook },
{ path: '/documentation/deployment', component: Deployment },
+
+ { path: '/documentation/examples/deployment', component: ExampleSlashCommand },
+ { path: '/documentation/examples/buttons', component: ExampleButtons },
]
export default routes
\ No newline at end of file
diff --git a/src/templates/modules/documentation/examples/Buttons.vue b/src/templates/modules/documentation/examples/Buttons.vue
new file mode 100644
index 0000000..128cc8e
--- /dev/null
+++ b/src/templates/modules/documentation/examples/Buttons.vue
@@ -0,0 +1,65 @@
+
+
+
+ In the near future, slash commands will completely replace the "prefixed" commands we all know.
+ Even if these "old commands" will still work because they are based on the messageCreate event, it is important to learn how to use this new medium that discord is introducing.
+
+
+
+
Basic reply with embed
+
+ Returns the instance of the Discord Client linked to the bot.
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/templates/modules/documentation/examples/SlashCommand.vue b/src/templates/modules/documentation/examples/SlashCommand.vue
new file mode 100644
index 0000000..c6385ed
--- /dev/null
+++ b/src/templates/modules/documentation/examples/SlashCommand.vue
@@ -0,0 +1,64 @@
+
+
+
+ In the near future, slash commands will completely replace the "prefixed" commands we all know.
+ Even if these "old commands" will still work because they are based on the messageCreate event, it is important to learn how to use this new medium that discord is introducing.
+
+
+
+
Basic reply with embed
+
+ Returns the instance of the Discord Client linked to the bot.
+
+
+
+
+ Returns the instance of the Discord Client linked to the bot.
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/utils/Navigation.ts b/src/utils/Navigation.ts
index b603e95..170e56b 100644
--- a/src/utils/Navigation.ts
+++ b/src/utils/Navigation.ts
@@ -37,4 +37,12 @@ export const documentation = [
{ label: 'Deployment', href: '/documentation/deployment', isMenu: false },
]
},
+ {
+ label: 'Example',
+ isMenu: true,
+ child: [
+ { label: 'Slash Command', href: '/documentation/examples/deployment', isMenu: false },
+ { label: 'Buttons', href: '/documentation/examples/buttons', isMenu: false },
+ ]
+ },
]