Skip to content

Commit

Permalink
chore: Added Discord Component
Browse files Browse the repository at this point in the history
Have now fully added it in, and will be working on adding it for the rest

Note: Working on making the commands look like the actual commands and adding the DBH bot's responses
  • Loading branch information
Kyro3400 committed Aug 7, 2024
1 parent 8e87c03 commit 161a5f7
Show file tree
Hide file tree
Showing 10 changed files with 5,145 additions and 7,882 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Danbot Space
Copyright (c) 2023 DanBot Hosting

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
46 changes: 23 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@mdx-js/loader": "^2.3.0",
"@mdx-js/react": "^2.3.0",
"@next/mdx": "^13.2.4",
"@skyra/discord-components-react": "^4.0.0-alpha.23",
"@skyra/discord-components-react": "^4.0.0-alpha.26",
"@tabler/icons": "1.107.0",
"@types/carbon__icons-react": "^11.16.0",
"cookies-next": "^2.1.1",
Expand Down
2 changes: 1 addition & 1 deletion pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { PanelProvider } from "@component/layout";

import type { NextPage } from "next";
import App, { AppContext, AppInitialProps } from "next/app";
import App, { AppContext, AppInitialProps, AppProps } from "next/app";
import { ReactElement } from "react";
import { ColorScheme } from "@mantine/core";
import { getCookie } from "cookies-next";
Expand Down
2 changes: 2 additions & 0 deletions pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Document, { Html, Head, Main, NextScript } from "next/document";
import { createGetInitialProps } from "@mantine/next";

import type { ReactElement } from "react";
import Script from "next/script";

const getInitialProps = createGetInitialProps();

Expand Down Expand Up @@ -41,6 +42,7 @@ export default class _Document extends Document {
<body>
<Main />
<NextScript />
<Script src="../public/discord-components.config.js" strategy="beforeInteractive" />
</body>
</Html>
);
Expand Down
Loading

0 comments on commit 161a5f7

Please sign in to comment.