Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

ryanccn/blahaj

Repository files navigation


Blåhaj

A multipurpose, fun Discord bot for Ryanland.

Made with discord.js and TypeScript.

The bot is hosted on a VPS; the Stable Diffusion API is hosted on Modal.

Features

  • Configurable starboard
  • Presence customization
  • Trivia games
  • GitHub code block link expansion
  • Bottom encoding / decoding
  • cat /dev/uwurandom
  • Chatbot powered by OpenAI
  • Special friend category handling
  • Context menu translation
  • Stable Diffusion metadata parsing
  • Stable Diffusion generation (powered by Modal)
  • System stats command
  • Username migration (aka Pomelo) statistics
  • Color preview command
  • Direct Message logging
  • Advanced error handling and logging

Development

Set environment variables according to the schema defined in src/env.ts.

Run pnpm dev to start the bot in development mode; run pnpm start in production.