iloily
bot developer & moderator

← bots

root bots & apps ✦

Root is a newer community platform with its own SDK. I ported ily to it from scratch in TypeScript, then started building apps that run inside Root itself.

ily for Root

Published on the Root store

The same ily, rewritten for Root: same prefix, same voice, same command names wherever Root allows. Root has no embeds, buttons or DMs for bots, so every feature was redesigned around plain messages, reactions and Root notifications.

more about ily for Root
commands
300+
feature modules
67
test suites
12

What it does

  • Moderation: bans, mutes, jail, cases and a mod log
  • Raid protection: raid mode, account-age gates and a review queue for held joins
  • Automod: filters, slowmode and mutes enforced by the bot itself
  • Tickets and applications for staff and support
  • Community: giveaways, polls, reminders, starboard and suggestions
  • Engagement: levels, economy, quests, poker and word games

How it's built

TypeScript on Root's server SDK. Every message runs through guards, then the command, then watchers, so automod and mutes can stop a message before anything else sees it. An offline test harness boots the real bot against an in-memory fake Root community and plays through every feature, including a suite that tries known attacks like role climbing and link laundering.

  • TypeScript
  • Node.js
  • Root SDK
  • test harness
ily's help menu in a Root community, listing command categories from moderation to config
ily's help menu on Root.

sofi games

Published on the Root store

A multiplayer game hub that runs as an app inside Root. Members collect anime character cards, battle and train them, play party games together, and bet chips that carry over between games.

more about sofi games
  • Anime cards: roll and claim from 2,000 popular characters, with wishlists, holo and full art, print numbers and frames
  • Card battles: power, mastery and training, plus a kakera shop with luck potions
  • Packs and events: card packs, seasonal events, and a profile tab for your collection
  • Party games: word bomb, skribbl, gartic phone, hangman, typing race and anime guess
  • Board games: tic tac toe, connect four, battleship, minesweeper, and chess with clocks
  • Casino: blackjack, Texas hold'em, slots, plinko and roulette

How it's built

A React client and a TypeScript server talking over one generic action call, so adding a game needs no protocol change. Tests check that no game creates or loses chips outside its payouts, a per-community lock stops double-spending, and players only ever receive their own cards.

  • TypeScript
  • React
  • Vite
  • Root app SDK
The sofi games home screen with anime cards, word bomb, tic tac toe and chess
The game picker.
Rolling an anime character card in sofi games
Rolling a card.

GoLive

Published on the Root store

A bot that posts in your community the moment a Twitch streamer goes live. Each streamer can get their own channel, role ping and message.

more about GoLive
  • Up to 50 streamers per community, each with its own channel
  • Role pings so the right people hear about it
  • Custom messages with {creator}, {title}, {game} and {link}
  • Checks every 1 to 60 minutes, your choice

How it's built

It checks Twitch's Helix API and remembers each stream it has announced, so it posts once per stream even if the connection drops partway through.

  • TypeScript
  • Node.js
  • Root bot SDK
  • Twitch Helix API
A GoLive alert in a Root stream-alerts channel saying CozyClara is live on Twitch, with the stream title, game and link
A go-live alert in a Root channel.

Server Wrapped

Published on the Root store

Your server's year as a tap-through story, plus a personal wrapped for every member that ends on a card they can share.

more about Server Wrapped
  • Server story: top chatters, busiest day and hour, top channels, emoji and words of the year
  • Your wrapped: personal stats and a shareable card for every member
  • Ready right away: reads this year's history on install, then counts live
  • Opt out any time: members can hide themselves

How it's built

It stores counts only, never message text, so every story is built from numbers rather than anything anyone wrote.

  • TypeScript
  • React
  • Root app SDK
Three Server Wrapped story cards showing total messages for the year, the busiest month and the top channels
The server story.

puzzles

Published on the Root store

A daily jigsaw that is the same for everyone on Root, plus freeplay with public-domain paintings from The Met.

more about puzzles
  • Daily puzzle: 48 pieces, or 100 on Sundays, the same for everyone
  • Freeplay: Met paintings from 12 to 200 pieces, and your progress saves
  • Streaks for coming back every day
  • Leaderboards for players and servers across Root

How it's built

A React app inside Root, with Supabase keeping times, streaks and saved freeplay progress.

  • TypeScript
  • React
  • Root app SDK
  • Supabase
Solving today's 48-piece jigsaw of Cézanne's Trees and Houses Near the Jas de Bouffan, with loose pieces around the half-built picture
Halfway through a daily puzzle.

Block Blitz

Published on the Root store

A daily block puzzle with the same pieces for everyone on Root, plus Endless and Practice modes.

more about Block Blitz
  • Its own twists: Hold, Bloom (a one-colour line scores triple), Streaks up to x4, and Weeds
  • 22 original pieces
  • Leaderboards for today, this week and all time, across Root or just your server

How it's built

The server replays every run before a score counts.

  • TypeScript
  • Root app SDK
  • Supabase Edge Functions
A Block Blitz daily run in progress, with coloured blocks on the board and the next pieces and hold slot below
A daily run in progress.

Crowned

Published on the Root store

A daily logic puzzle: place one crown in every row, column and realm, with no two crowns touching.

more about Crowned
  • Daily puzzle: one ranked try, and the fastest time wins
  • Freeplay from 5x5 to 10x10, with hints and lives
  • 12 skins and 6 themes
  • Leaderboards for times, streaks and servers

How it's built

Every grid is generated with a solver so it has exactly one answer, and the server checks each crown.

  • TypeScript
  • Root app SDK
  • Supabase
Crowned's daily puzzle, a grid of coloured realms with a few crowns placed, three hearts and a running timer
The daily puzzle.

Wordy

Published on the Root store

A new 5-letter word every day for all of Root, with six tries to get it.

more about Wordy
  • Daily word: one ranked try, and time breaks ties
  • Freeplay with 4 to 7 letters and a hard mode
  • Colorblind-friendly tiles
  • Leaderboards for today, streaks and servers

How it's built

One daily word is shared by every server, and Supabase keeps the boards and streaks.

  • TypeScript
  • Root app SDK
  • Supabase
Wordy's daily word in progress, with CRANE and PLATE guessed and the tiles coloured to show which letters are right
Guessing the daily word.

ily app

In development

A moderation dashboard that opens inside Root and works alongside ily for Root. Staff get a review queue for flagged messages, member reports, appeals, case history, tickets and an activity overview without typing a command.

more about ily app

Root doesn't let bots and apps talk to each other directly, so the two sync through a signed bridge I host on Vercel.

  • TypeScript
  • React
  • protobuf
  • Upstash Redis

my discord bots ✧

open →