Skip to content

Jellify-Music/Discord-Bot

Repository files navigation

Discord-Bot

A bot for monitoring and supporting the Jellify Discord server

Features

  • 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

Setup

  1. Install dependencies:
    bun install
  2. Copy .env.example to .env and 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)
  3. Start the bot:
    bun start

Adding Commands

  • Add new files to src/commands and export them via src/commands/index.ts.
  • Use the SlashCommand type for strong typing and autocompletion.

Dependencies

How /gd-history Works

  • The /gd-history command 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.

Special Thanks

  • 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!

About

A bot for monitoring and supporting the Jellify Discord server

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

  •  
  •  
  •  
  •  

Packages

 
 
 

Contributors