Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Leref committed Sep 13, 2023
1 parent 75f278e commit 5cdd3ac
Show file tree
Hide file tree
Showing 3,337 changed files with 26,848 additions and 113,693 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
66 changes: 33 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,25 +46,25 @@ streamline their workflow.
const { AoiClient } = require("aoi.js");

const bot = new AoiClient({
token: "DISCORD BOT TOKEN",
prefix: "DISCORD BOT PREFIX",
intents: ["MessageContent", "Guilds", "GuildMessages"],
events: ["onMessage"],
database: {
type: "aoi.db",
db: require("@akarui/aoi.db"),
tables: ["main"],
path: "./database/",
extraOptions: {
dbType: "KeyValue"
}
}
token: "DISCORD BOT TOKEN",
prefix: "DISCORD BOT PREFIX",
intents: ["MessageContent", "Guilds", "GuildMessages"],
events: ["onMessage"],
database: {
type: "aoi.db",
db: require("@akarui/aoi.db"),
tables: ["main"],
path: "./database/",
extraOptions: {
dbType: "KeyValue",
},
},
});

// Ping Command
bot.command({
name: "ping",
code: `Pong! $pingms`
name: "ping",
code: `Pong! $pingms`,
});
```

Expand All @@ -74,32 +74,32 @@ bot.command({
const { AoiClient } = require("aoi.js");

const bot = new AoiClient({
token: "DISCORD BOT TOKEN",
prefix: "DISCORD BOT PREFIX",
intents: ["MessageContent", "Guilds", "GuildMessages"],
events: ["onMessage", "onInteractionCreate"],
database: {
type: "aoi.db",
db: require("@akarui/aoi.db"),
tables: ["main"],
path: "./database/",
extraOptions: {
dbType: "KeyValue"
}
}
token: "DISCORD BOT TOKEN",
prefix: "DISCORD BOT PREFIX",
intents: ["MessageContent", "Guilds", "GuildMessages"],
events: ["onMessage", "onInteractionCreate"],
database: {
type: "aoi.db",
db: require("@akarui/aoi.db"),
tables: ["main"],
path: "./database/",
extraOptions: {
dbType: "KeyValue",
},
},
});

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

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

Expand Down
Binary file removed assets/images/aoijs-banner.png
Binary file not shown.
Binary file removed assets/images/aoijs-logo.png
Binary file not shown.
Binary file removed assets/images/aoijs-new-v4.png
Binary file not shown.
Binary file removed assets/images/aoijs-v3.png
Binary file not shown.
Binary file removed assets/images/aoijs-v5.png
Binary file not shown.
Binary file removed assets/images/aoijslogo-v3.png
Binary file not shown.
Binary file removed assets/images/aoijslogo-v4.png
Binary file not shown.
Binary file removed assets/images/aoijslogo-v5.png
Binary file not shown.
Binary file removed assets/images/aoipanel-banner.png
Binary file not shown.
Binary file removed assets/images/aoipanel-logo-variation.png
Binary file not shown.
Binary file removed assets/images/aoipanel-logo.png
Binary file not shown.
Binary file removed assets/images/avatars/1017901559121719347.png
Binary file not shown.
Binary file removed assets/images/avatars/1029818509364047933.png
Binary file not shown.
Binary file removed assets/images/avatars/1034802804964995142.png
Binary file not shown.
Binary file removed assets/images/avatars/1060920802503036948.png
Binary file not shown.
Binary file removed assets/images/avatars/1077733015846932530.png
Binary file not shown.
Binary file removed assets/images/avatars/1096717977304453160.png
Binary file not shown.
Binary file removed assets/images/avatars/1121808241974837308.png
Binary file not shown.
Binary file removed assets/images/avatars/166181471369953280.png
Binary file not shown.
Binary file removed assets/images/avatars/405070001356275712.png
Binary file not shown.
Binary file removed assets/images/avatars/428188716641812481.png
Binary file not shown.
Binary file removed assets/images/avatars/590267498192961540.png
Binary file not shown.
Binary file removed assets/images/avatars/591690683509768223.png
Binary file not shown.
Binary file removed assets/images/avatars/608358453580136499.png
Binary file not shown.
Binary file removed assets/images/avatars/632607624742961153.png
Binary file not shown.
Binary file removed assets/images/avatars/670075847306379270.png
Diff not rendered.
Binary file removed assets/images/avatars/673858247320403988.png
Diff not rendered.
Binary file removed assets/images/avatars/689364013297041409.png
Diff not rendered.
Binary file removed assets/images/avatars/693451182617657394.png
Diff not rendered.
Binary file removed assets/images/avatars/713132410153205802.png
Diff not rendered.
Binary file removed assets/images/avatars/715755977483223081.png
Diff not rendered.
Binary file removed assets/images/avatars/715852000096419900.png
Diff not rendered.
Binary file removed assets/images/avatars/730782268175679528.png
Diff not rendered.
Binary file removed assets/images/avatars/750702238145446000.png
Diff not rendered.
Binary file removed assets/images/avatars/818377414367379487.png
Diff not rendered.
Binary file removed assets/images/avatars/837796591015821332.gif
Diff not rendered.
Binary file removed assets/images/avatars/894309600029999104.png
Diff not rendered.
Binary file removed assets/images/avatars/909238977721139200.png
Diff not rendered.
Binary file removed assets/images/avatars/920942629980635146.png
Diff not rendered.
Binary file removed assets/images/avatars/949588732498018324.png
Diff not rendered.
Binary file removed assets/images/avatars/964024743172915220.png
Diff not rendered.
Binary file removed assets/images/avatars/983386510235680888.png
Diff not rendered.
Binary file removed assets/images/previews/application-commands.png
Diff not rendered.
Binary file removed assets/images/previews/msg-formatting/channel.png
Diff not rendered.
Binary file removed assets/images/previews/msg-formatting/role.png
Diff not rendered.
Binary file removed assets/images/previews/msg-formatting/slash.png
Diff not rendered.
Binary file removed assets/images/previews/msg-formatting/user.png
Diff not rendered.
Binary file removed assets/images/previews/others/embed-buttons-3.png
Diff not rendered.
Binary file removed assets/images/previews/others/embed-buttons.png
Diff not rendered.
Binary file removed assets/images/previews/others/embed-image-footer.png
Diff not rendered.
Binary file removed assets/images/previews/others/embed-image.png
Diff not rendered.
Binary file removed assets/images/previews/slash-sub-groups.png
Diff not rendered.
218 changes: 218 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,218 @@
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import { rehypeHeadingIds } from "@astrojs/markdown-remark";
import rehypeAutolinkHeadings from "rehype-autolink-headings";
import react from "@astrojs/react";

export default defineConfig({
site: "https://aoi.js.org",
base: "/",
integrations: [
starlight({
title: "aoi.js",
favicon: "/favicon.png",
logo: {
src: "/favicon.png",
},
social: {
github: "https://github.com/aoijs/website-astro",
discord: "https://discord.com/invite/HMUfMXDQsV",
},
editLink: {
baseUrl: "https://github.com/aoijs/website-astro/edit/main/",
},
customCss: ["./src/styles/custom.css"],
head: [
{
tag: "script",
attrs: {
src: "/website-astro/custom.js",
defer: true,
},
},
{
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: 'theme-color', content: "#89CFF0" },
},
],
sidebar: [
{
label: "Introduction",
link: "/guides/setup",
},
{
label: 'Extensions',
autogenerate: { directory: 'extensions' },
collapsed: true
},
{
label: "Guides",
items: [
{
label: "Application Commands",
autogenerate: {
directory: "guides/application-cmds",
},
collapsed: true,
},
{
label: "Client",
autogenerate: {
directory: "guides/client",
},
collapsed: true,
},
{
label: "Other",
autogenerate: {
directory: "guides/other",
},
collapsed: true,
},
],
},
{
label: "Functions",
items: [
{
label: "Array",
autogenerate: {
directory: "functions/array-related",
},
collapsed: true,
},
{
label: "Awaited",
autogenerate: {
directory: "functions/awaited-related",
},
collapsed: true,
},
{
label: "Client",
autogenerate: {
directory: "functions/client-related",
},
collapsed: true,
},
{
label: "Event",
autogenerate: {
directory: "functions/event-related",
},
collapsed: true,
},
{
label: "Guild",
autogenerate: {
directory: "functions/guild-related",
},
collapsed: true,
},
{
label: "Info",
autogenerate: {
directory: "functions/info-related",
},
collapsed: true,
},
{
label: "Interaction",
autogenerate: {
directory: "functions/interaction-related",
},
collapsed: true,
},
{
label: "Invite",
autogenerate: {
directory: "functions/invite-related",
},
collapsed: true,
},
{
label: "Math",
autogenerate: {
directory: "functions/math-related",
},
collapsed: true,
},
{
label: "Message",
autogenerate: {
directory: "functions/message-related",
},
collapsed: true,
},
{
label: "Misc",
autogenerate: {
directory: "functions/misc-related",
},
collapsed: true,
},
{
label: "User",
autogenerate: {
directory: "functions/user-related",
},
collapsed: true,
},
{
label: "Util",
autogenerate: {
directory: "functions/util-related",
},
collapsed: true,
},
{
label: "Variables",
autogenerate: {
directory: "functions/variables-related",
},
collapsed: true,
},
],
collapsed: true,
},
],
}),
react(),
],
image: {
service: {
entrypoint: "astro/assets/services/sharp",
},
},
markdown: {
shikiConfig: {
langs: ["powershell"],
},
rehypePlugins: [
rehypeHeadingIds,
[
rehypeAutolinkHeadings,
{
behavior: "wrap",
properties: { ariaHidden: true, tabIndex: -1, class: "heading-link" },
},
],
],
},
redirects: {
// for easier navigation
guides: "/",
},
});
12 changes: 0 additions & 12 deletions auth/auth.js

This file was deleted.

50 changes: 0 additions & 50 deletions auth/callback.js

This file was deleted.

21 changes: 0 additions & 21 deletions auth/oauth.js

This file was deleted.

Loading

0 comments on commit 5cdd3ac

Please sign in to comment.