diff --git a/packages/reacord/scripts/manual-test.tsx b/packages/reacord/scripts/manual-test.tsx deleted file mode 100644 index 07f5809..0000000 --- a/packages/reacord/scripts/manual-test.tsx +++ /dev/null @@ -1,188 +0,0 @@ -import { ChannelType, Client, IntentsBitField, TextChannel } from "discord.js" -import "dotenv/config" -import { kebabCase } from "lodash-es" -import * as React from "react" -import { useState } from "react" -import { ReacordClient } from "../library/reacord-client" -import { Button } from "../library/react/button" -import { useInstance } from "../library/react/instance-context" -import { Option } from "../library/react/option" -import { Select } from "../library/react/select" - -const client = new Client({ intents: IntentsBitField.Flags.Guilds }) - -const reacord = new ReacordClient({ - token: process.env.TEST_BOT_TOKEN!, -}) - -type TestCase = { - name: string - run: (channel: TextChannel) => void | Promise -} - -const tests: TestCase[] = [ - { - name: "basic", - run: async (channel) => { - await channel.send("hello world") - }, - }, - { - name: "counter", - run: (channel) => { - const Counter = () => { - const [count, setCount] = React.useState(0) - return ( - <> - count: {count} -