discord bot

a general purpose (or no-purpose) discord bot | back

this is probably the largest typescript project i've ever done. which is not saying much. i learned some valuable lessons from it.

thoughts

typescript is a joy, or at least as much of a joy as anything javascript-based can be. the combination of interfaces and plain javascript objects is really versatile and made for a great declarative way to add new commands to the bot.

it also turns out that parsing commands is hard, and sharing state between commands even harder. i'd love to try writing a discord bot with an actual arg parsing library someday.

and then adding dependabot killed the project by overwhelming me with PRs :/

future plans

i might add slash commands, but it isn't likely. i have heard mixed things about them, and from the little research i've done the developer experience is not terrific. if i do implement slash commands, it will probably be in another bot.