MapleLeaf 86aa408897 ensure pruneNullishValues is called with plain objects
it would probably be better to add an actual check and error for this, but meh
2022-01-11 16:22:29 -06:00
2022-01-09 17:36:42 -06:00
2021-12-29 14:36:54 -06:00
2022-01-11 00:33:13 -06:00
2021-12-16 11:48:18 -06:00
2022-01-11 00:33:13 -06:00
2021-12-29 14:36:54 -06:00
2021-12-29 02:14:37 -06:00
2022-01-11 00:33:13 -06:00
2022-01-11 00:33:13 -06:00
2021-12-29 13:19:46 -06:00
2022-01-09 17:40:15 -06:00
2022-01-10 15:33:29 -06:00
2022-01-11 15:28:49 -06:00

reacord

Create interactive Discord messages using React!

Installation

# 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

Languages
TypeScript 99.9%