https://github.com/answeroverflow/reacord
Create interactive Discord messages using React. ⚛
https://github.com/answeroverflow/reacord
Last synced: 3 months ago
JSON representation
Create interactive Discord messages using React. ⚛
- Host: GitHub
- URL: https://github.com/answeroverflow/reacord
- Owner: AnswerOverflow
- License: mit
- Fork: true (itsMapleLeaf/reacord)
- Created: 2022-11-29T21:33:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-03T04:39:34.000Z (about 2 years ago)
- Last Synced: 2025-01-19T14:57:36.792Z (3 months ago)
- Homepage: https://reacord.mapleleaf.dev/
- Size: 2.22 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Installation ∙ [](https://www.npmjs.com/package/reacord)
```console
# npm
npm install reacord react discord.js# yarn
yarn add reacord react discord.js# pnpm
pnpm add reacord react discord.js```
## Get Started
[Visit the docs to get started.](https://reacord.mapleleaf.dev/guides/getting-started)
## Example
```tsx
import * as React from "react"
import { Embed, Button } from "reacord"function Counter() {
const [count, setCount] = React.useState(0)
return (
<>
This button has been clicked {count} times.
setCount(count + 1)}>
+1
>
)
}
```