AdamLearns / Abbott

A bot specifically for the Adam Learns show (Twitch, Discord, etc.).
8 stars 2 forks source link

Abbott

A bot specifically for the Adam Learns show (Twitch, Discord, etc.).

Expectations

This code is publicly viewable, but it isn't exactly "open-source":

Running

Typical development flow

Running Docker images locally

Just run the pnpm script from the root package.json, e.g. pnpm run docker:web.

Linting/correctness

Testing

Migrations

Manually building the Docker images

Notes:

ircv3

I had to install the ircv3 package specifically for one issue: ChatMessage has a target that is only provided as a result of ircv3's PrivateMessage class, so this line of code would have a TypeScript error without installing ircv3. This is partially because @types/ircv3 does not exist.

Initial setup

Ansible

Post-Ansible steps

How to run get-tokens with a test database from my Mac

Getting YouTube tokens

Register Discord bot

Troubleshooting

Generic issues

Are you building everything? Run pnpm watch. The typical problem is that I'll make changes in the database package and then not be able to run that code from another package. It's because nothing is building database.