Skip to content

LadybirdBrowser/discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

025b2c4 · Apr 8, 2025
Dec 16, 2024
Apr 8, 2025
Jul 9, 2024
Sep 9, 2022
Apr 25, 2021
Apr 29, 2021
Nov 6, 2022
Dec 16, 2024
Apr 25, 2021
Apr 8, 2025
Dec 12, 2024
Dec 12, 2024
Jul 6, 2024
Jul 6, 2024

Repository files navigation

This is the source for the Ladybird Discord Bot.

Setup

The bot is written in TypeScript, bun is a pre-requisite.

Then setup your environment:

$ git clone https://github.com/LadybirdBrowser/discord-bot
$ cd discord-bot
$ bun install
$ bun start

Configuration

To configure the bot for local development you simply need to drop your discord bot token and guild ID in an .env file at the root of this project. The contents should look something like:

DISCORD_TOKEN=<your-token-goes-here>
GUILD_ID=<your-guild-id-goes-here>

See: https://www.writebots.com/discord-bot-token/

Now you can run bun start:dev and the bot will startup, and then restart as you save changes to the source files:

❯ bun start:dev
$ bun --watch ./src/index.ts
Logged in as Ladybird Bot#6714.

Running Tests

There are no tests yet, please help add some.

Credits

This was originally based off of the following discord bot template: https://github.com/MidasXIV/hive-greeter