A bot for monitoring and supporting the Jellify Discord server
- Written in TypeScript, runs on Bun
- Loads environment variables from
.env(see.env.example) - Modular slash command system (add commands in
src/commands) /ping— Replies with Pong!/gd-history— Fetches a random Grateful Dead show from today's date on archive.org
- Install dependencies:
bun install
- Copy
.env.exampleto.envand fill in your Discord credentials:DISCORD_TOKEN(your bot token)DISCORD_CLIENT_ID(your bot's client ID)DISCORD_GUILD_ID(optional, for guild-specific commands)
- Start the bot:
bun start
- Add new files to
src/commandsand export them viasrc/commands/index.ts. - Use the
SlashCommandtype for strong typing and autocompletion.
- The
/gd-historycommand fetches a random Grateful Dead show that happened on today's month and day, across all years of the band's history (1965–1995). - It uses the Internet Archive API to search for shows by date, looping through each year and collecting all matching shows.
- The result is formatted with a clean date and a direct link to the archive.org page for the show.
- To the Grateful Dead, their crew, and the audience members that archived these shows for us all to enjoy, even years later. ✨
- To the Internet Archive — without their incredible preservation work, this functionality (and so much more) would not exist!