@answeroverflow/reacord
TypeScript icon, indicating that this package has built-in type declarations

0.5.11 • Public • Published

Reacord: Create interactive Discord messages using React

Installation ∙ npm

# 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.

Example

import * as React from "react"
import { Embed, Button } from "reacord"

function Counter() {
  const [count, setCount] = React.useState(0)
  return (
    <>
      <Embed title="Counter">
        This button has been clicked {count} times.
      </Embed>
      <Button onClick={() => setCount(count + 1)}>
        +1
      </Button>
    </>
  )
}

Counter demo

Package Sidebar

Install

npm i @answeroverflow/reacord

Weekly Downloads

1

Version

0.5.11

License

MIT

Unpacked Size

589 kB

Total Files

11

Last publish

Collaborators

  • rhyssullivan