Skip to content

Commit

Permalink
tldr: a lot of changes / modified guides
Browse files Browse the repository at this point in the history
  • Loading branch information
Faf4a committed Sep 18, 2023
1 parent c74d926 commit a605eae
Show file tree
Hide file tree
Showing 1,381 changed files with 2,194 additions and 47,275 deletions.
8 changes: 5 additions & 3 deletions .github/contributing-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ $functionName[parameter;parameter]

## Example(s)

[description - what the example does]:
[description - what the example does]: ```javascript

```javascript
bot.command({...});

// Example in non-handler format using bot.command and JS code-highlighting
```

```
```
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
# Trigger the workflow every time you push to the `main` branch
# Using a different branch name? Replace `main` with your branch’s name
push:
branches: [ main ]
branches: [main]
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:

Expand All @@ -21,7 +21,8 @@ jobs:
- name: Checkout your repository using git
uses: actions/checkout@v3
- name: Install, build, and upload your site
uses: withastro/action@v0
uses:
withastro/action@v0
# with:
# path: . # The root location of your Astro project inside the repository. (optional)
# node-version: 16 # The specific version of Node that should be used to build your site. Defaults to 16. (optional)
Expand All @@ -36,4 +37,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v1
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# Production
.env
.astro
/dist

# Generated files
.docusaurus
Expand Down
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,22 +89,23 @@ const bot = new AoiClient({
},
});

// Create Interaction Ping
// Create Interaction Ping Command
bot.command({
name: "create",
code: `$createApplicationCommand[$guildID;ping;Pong!;true;slash]`,
});

// Ping Interaction Command
bot.interactionCommand({
name: "ping",
prototype: "slash",
code: `$interactionReply[Pong! $pingms;;;;everyone;false]`,
});
```

## Contribution

[Refer to contribution documentation for more information](https://github.com/AkaruiDevelopment/aoi.js/blob/v6/.github/CONTRIBUTING.md)

## Our ♥️ Contributors

### Aoi.js

[![AkaruiDevelopment/aoi.js](https://contrib.rocks/image?repo=AkaruiDevelopment/aoi.js)](https://github.com/AkaruiDevelopment/aoi.js)

### Documentation

[![aoijs/website](https://contrib.rocks/image?repo=aoijs/website)](https://github.com/aoijs/website)
112 changes: 94 additions & 18 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@ import starlight from "@astrojs/starlight";
import { rehypeHeadingIds } from "@astrojs/markdown-remark";
import rehypeAutolinkHeadings from "rehype-autolink-headings";
import react from "@astrojs/react";
import expressiveCode from "astro-expressive-code";

// https://astro.build/config
export default defineConfig({
site: "https://aoi.js.org",
integrations: [
expressiveCode({
frames: {
showCopyToClipboardButton: true,
},
}),
starlight({
title: "aoi.js",
favicon: "/favicon.png",
Expand All @@ -30,32 +37,97 @@ export default defineConfig({
},
},
{
tag: 'meta',
attrs: { property: 'og:site_name', content: "aoi.js | Akarui Development" },
},
tag: "meta",
attrs: {
property: "og:site_name",
content: "aoi.js | Akarui Development",
},
},
{
tag: 'meta',
attrs: { property: 'og:image', content: "https://raw.githubusercontent.com/aoijs/website/master/assets/images/aoijs-banner.png" },
},
{
tag: 'meta',
attrs: { property: 'twitter:image', content: "https://raw.githubusercontent.com/aoijs/website/master/assets/images/aoijs-banner.png" },
},
tag: "meta",
attrs: {
property: "og:image",
content:
"https://raw.githubusercontent.com/aoijs/website/master/assets/images/aoijs-banner.png",
},
},
{
tag: "meta",
attrs: {
property: "twitter:image",
content:
"https://raw.githubusercontent.com/aoijs/website/master/assets/images/aoijs-banner.png",
},
},
{
tag: 'meta',
attrs: { property: 'theme-color', content: "#89CFF0" },
},
tag: "meta",
attrs: {
property: "theme-color",
content: "#89CFF0",
},
},
],
sidebar: [
{
label: "Introduction",
link: "/guides/setup",
},
{
label: 'Extensions',
autogenerate: { directory: 'extensions' },
collapsed: true
},
label: "Extensions",
items: [
{
label: "Showcase",
link: "/extensions/showcase/",
},
{
label: "@akarui",
items: [
{
label: "aoi.panel",
autogenerate: {
directory: "extensions/aoipanel",
},
collapsed: true,
},
{
label: "aoi.music",
items: [
{
label: "Getting Started",
link: "/extensions/aoi.music/",
},
{
label: "Events",
link: "/extensions/aoimusic/events",
},
{
label: "Functions",
autogenerate: {
directory: "extensions/aoimusic/functions",
},
collapsed: true,
},
],
collapsed: true,
},
],
},
{
label: "Community Extensions",
items: [
{
label: "aoi.canvas",
link: "extensions/aoicanvas",
},
{
label: "aoi.js-library",
link: "extensions/aoijs-library",
},
],
},
],
collapsed: true,
},
{
label: "Guides",
items: [
Expand Down Expand Up @@ -205,7 +277,11 @@ export default defineConfig({
rehypeAutolinkHeadings,
{
behavior: "wrap",
properties: { ariaHidden: true, tabIndex: -1, class: "heading-link" },
properties: {
ariaHidden: true,
tabIndex: -1,
class: "heading-link",
},
},
],
],
Expand Down
31 changes: 0 additions & 31 deletions dist/404.html

This file was deleted.

1 change: 0 additions & 1 deletion dist/CNAME

This file was deleted.

1 change: 0 additions & 1 deletion dist/_astro/404.d87e5be7.css

This file was deleted.

This file was deleted.

32 changes: 0 additions & 32 deletions dist/_astro/client.401dfeec.js

This file was deleted.

Binary file removed dist/_astro/favicon.1918804b.png
Binary file not shown.
Binary file removed dist/_astro/favicon.1918804b_ZswTT2.webp
Binary file not shown.
1 change: 0 additions & 1 deletion dist/_astro/hoisted.4a5f2415.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/_astro/ui-core.ff0b859a.js

This file was deleted.

Binary file removed dist/_astro/wrenchicon.f83d8ead.webp
Binary file not shown.
Binary file removed dist/_astro/wrenchicon.f83d8ead_2isvXb.webp
Binary file not shown.
Binary file removed dist/aoicanvasbanner.png
Binary file not shown.
121 changes: 0 additions & 121 deletions dist/custom.js

This file was deleted.

Binary file removed dist/docsicon.webp
Binary file not shown.
Binary file removed dist/erroricon.webp
Binary file not shown.
87 changes: 0 additions & 87 deletions dist/extensions/aoicanvas/index.html

This file was deleted.

61 changes: 0 additions & 61 deletions dist/extensions/aoimusic/events/index.html

This file was deleted.

134 changes: 0 additions & 134 deletions dist/extensions/aoimusic/functions/addfilter/index.html

This file was deleted.

62 changes: 0 additions & 62 deletions dist/extensions/aoimusic/functions/autoplay/index.html

This file was deleted.

43 changes: 0 additions & 43 deletions dist/extensions/aoimusic/functions/clearqueue/index.html

This file was deleted.

This file was deleted.

43 changes: 0 additions & 43 deletions dist/extensions/aoimusic/functions/getfilters/index.html

This file was deleted.

43 changes: 0 additions & 43 deletions dist/extensions/aoimusic/functions/hasplayer/index.html

This file was deleted.

93 changes: 0 additions & 93 deletions dist/extensions/aoimusic/functions/joinvc/index.html

This file was deleted.

62 changes: 0 additions & 62 deletions dist/extensions/aoimusic/functions/leavevc/index.html

This file was deleted.

62 changes: 0 additions & 62 deletions dist/extensions/aoimusic/functions/loopmode/index.html

This file was deleted.

43 changes: 0 additions & 43 deletions dist/extensions/aoimusic/functions/loopstatus/index.html

This file was deleted.

43 changes: 0 additions & 43 deletions dist/extensions/aoimusic/functions/pausetrack/index.html

This file was deleted.

43 changes: 0 additions & 43 deletions dist/extensions/aoimusic/functions/playerstatus/index.html

This file was deleted.

43 changes: 0 additions & 43 deletions dist/extensions/aoimusic/functions/playprevioustrack/index.html

This file was deleted.

68 changes: 0 additions & 68 deletions dist/extensions/aoimusic/functions/playtrack/index.html

This file was deleted.

197 changes: 0 additions & 197 deletions dist/extensions/aoimusic/functions/queue/index.html

This file was deleted.

43 changes: 0 additions & 43 deletions dist/extensions/aoimusic/functions/queuelength/index.html

This file was deleted.

133 changes: 0 additions & 133 deletions dist/extensions/aoimusic/functions/removefilter/index.html

This file was deleted.

43 changes: 0 additions & 43 deletions dist/extensions/aoimusic/functions/resetfilter/index.html

This file was deleted.

43 changes: 0 additions & 43 deletions dist/extensions/aoimusic/functions/resumetrack/index.html

This file was deleted.

62 changes: 0 additions & 62 deletions dist/extensions/aoimusic/functions/seek/index.html

This file was deleted.

134 changes: 0 additions & 134 deletions dist/extensions/aoimusic/functions/setfilter/index.html

This file was deleted.

43 changes: 0 additions & 43 deletions dist/extensions/aoimusic/functions/shufflequeue/index.html

This file was deleted.

62 changes: 0 additions & 62 deletions dist/extensions/aoimusic/functions/skipto/index.html

This file was deleted.

43 changes: 0 additions & 43 deletions dist/extensions/aoimusic/functions/skiptrack/index.html

This file was deleted.

191 changes: 0 additions & 191 deletions dist/extensions/aoimusic/functions/songinfo/index.html

This file was deleted.

43 changes: 0 additions & 43 deletions dist/extensions/aoimusic/functions/stopplayer/index.html

This file was deleted.

43 changes: 0 additions & 43 deletions dist/extensions/aoimusic/functions/stoptrack/index.html

This file was deleted.

43 changes: 0 additions & 43 deletions dist/extensions/aoimusic/functions/unshufflequeue/index.html

This file was deleted.

62 changes: 0 additions & 62 deletions dist/extensions/aoimusic/functions/voiceping/index.html

This file was deleted.

69 changes: 0 additions & 69 deletions dist/extensions/aoimusic/functions/volume/index.html

This file was deleted.

95 changes: 0 additions & 95 deletions dist/extensions/aoimusic/index.html

This file was deleted.

84 changes: 0 additions & 84 deletions dist/extensions/aoipanel/index.html

This file was deleted.

31 changes: 0 additions & 31 deletions dist/extensions/index.html

This file was deleted.

Loading

0 comments on commit a605eae

Please sign in to comment.