Back to Projects

Castor

Active A fun Discord bot rewritten in TypeScript.

Overview

Castor is a Discord bot based off of KSJaay's Castor, completely rewritten in TypeScript with discord.js v14 and a lot more features. It was primarily made for the No Text To Speech community.

Features

Games & Entertainment

  • 8Ball - Ask the magic 8ball a question
  • Coin Flip - Flip a coin for heads or tails
  • Dice - Roll dice with custom sides
  • Slots - Play a slot machine game
  • Tic Tac Toe - Play tic-tac-toe against friends
  • Rock Paper Scissors - Classic RPS game
  • Leaderboard - View game leaderboards

Fun Commands

  • Dad Jokes - Get random dad jokes from the database
  • Meme Generator - Add Impact font text to images
  • Caption - Add captions to images
  • Speech Bubble - Add speech bubbles to images
  • Act - Roleplay actions

Utility

  • Ping - Check bot latency
  • Browser - Test browserless connection
  • Settings - Configure bot settings per server

Staff Commands

  • Manage Jokes - Add/remove dad jokes from the database
  • Migrate Jokes - Migrate jokes between databases

Tech Stack

  • Runtime - Node.js with TypeScript
  • Discord Library - discord.js v14
  • Databases - MongoDB (user data), MariaDB (jokes, configuration)
  • Image Processing - Playwright-core, Sharp, Browserless
  • Build Tools - TypeScript, tsc-alias