https://github.com/chump29/birthdaybot
BirthdayBot for Discord
https://github.com/chump29/birthdaybot
birthday bot discord
Last synced: about 1 month ago
JSON representation
BirthdayBot for Discord
- Host: GitHub
- URL: https://github.com/chump29/birthdaybot
- Owner: chump29
- License: gpl-3.0
- Created: 2026-05-22T00:04:00.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-05-23T04:58:20.000Z (about 1 month ago)
- Last Synced: 2026-05-23T06:35:33.108Z (about 1 month ago)
- Topics: birthday, bot, discord
- Language: TypeScript
- Homepage:
- Size: 196 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#  BirthdayBot
> - BirthdayBot for Discord
---
 ย
 ย
 ย


 ย


---
### What it does:
- Wishes user a Happy Birthday at midnight
- Gives user a specific role for their birthday
---
### ๐ Invite Link
[Add BirthdayBot](https://discord.com/oauth2/authorize?client_id=1507172799666458705&permissions=268453888&integration_type=0&scope=bot)
---
### ๐ฅ๏ธ Discord
#### Role Permissions:
| โ๏ธ Permission |
|:-------------:|
| EmbedLinks |
| ManageRoles |
| SendMessages |
#### Commands:
| ๐ Task | ๐ง Command | โ๏ธ Permission |
|:-------------------:|:-------------------------:|:-------------:|
| Add Birthday | `/birthday [month] [day]` | SendMessages |
| Delete Birthday | `/delete` | SendMessages |
| Info | `/info` | SendMessages |
| List Birthdays | `/list` | SendMessages |
| Ping | `/ping` | SendMessages |
| Wish Happy Birthday | `/wish [user]` | Administrator |
---
### ๐ ๏ธ Environment Management
#### NPM ([Bun](https://github.com/oven-sh/bun "Bun") toolkit):
| ๐ Task | ๐ง Command |
|:-------:|:-------------:|
| Upgrade | `bun upgrade` |
---
### ๐ฆ Dependency Management
#### Installation & Removal:
| ๐ Task | ๐ง Command (Full) | ๐ง Command (Short) |
|:----------------------:|:----------------------------------------:|:--------------------------------------:|
| Install DEV | `bun install` | `bun i` |
| Install PROD | `bun install --production` | `bun i -p` |
| Add dependency | `bun add [package][@version]` | `bun a [package][@version]` |
| Add devDependency | `bun add --save-dev [package][@version]` | `bun a -d [package][@version]` |
| Add optionalDependency | `bun add --optional [package][@version]` | `bun a --optional [package][@version]` |
| Add peerDependency | `bun add --peer [package][@version]` | `bun a --peer [package][version]` |
| Add Global | `bun add --global [package][@version]` | `bun a -g [package][@version]` |
| Remove Dependency | `bun remove [package]` | `bun r [package]` |
#### Maintenance & Quality:
| ๐ Task | ๐ง Command (Full) | ๐ง Command (Short) |
|:---------------:|:----------------------:|:-------------------:|
| Check Updates | `bun outdated` | โ |
| Update All | `bun update` | โ |
| Update Specific | `bun update [package]` | โ |
| Security Audit | `bun audit` | โ |
| Package Info | `bun info [package]` | โ |
| Run Script | `bun run [script]` | `bun [script]` |
| List | `bun list` | โ |
| List Extra | `bun list --all` | โ |
| Hierarchy | `bun pm why [package]` | `bun why [package]` |
---
### ๐งช Development
#### Scripts:
| ๐ Task | ๐ง Command (Full) | ๐ง Command (Short) |
|:--------------:|:--------------------:|:------------------:|
| Lint All (DEV) | `bun run lint` | `bun lint` |
| Lint All (CI) | `bun run lint:ci` | `bun lint:ci` |
| Lint Biome | `bun run lint:biome` | `bun lint:biome` |
| Lint ENV | `bun run lint:env` | `bun lint:env` |
| Run DEV | `bun run dev` | `bun dev` |
| Run PROD | `bun run prod` | `bun prod` |
| Test | `bun run test` | &mdash |
| Generate SQL | `bun run sql` | `bun sql` |
---
### ๐ง Docker
#### Environment Variables:
| ๐ Description | ๐ Variable | {...} Value |
|:--------------:|:-----------:|:--------------:|
| Channel ID | CHANNEL_ID | [id] |
| DB Name | DB_NAME | birthdaybot.db |
| DB Path | DB_PATH | ./db/ |
| Debug | IS_DEBUG | true/**false** |
| Server ID | GUILD_ID | [id] |
| Logo URL | LOGO_URL | [url] |
| Bot Name | NAME | BirthdayBot |
| Role ID | ROLE_ID | [id] |
| Bot Token | TOKEN | [token] |
##### From `@postfmly/logoserver`:
| ๐ Description | ๐ Variable | {...} Value |
|:-----------------:|:-----------:|:-----------------:|
| IPv4/IPv6 | LOGO_IPv6 | true/**false** |
| Logo Name | LOGO_NAME | [filename] |
| Local Path | LOGO_PATH | [path] |
| Port | LOGO_PORT | **Random**/[port] |
| Logo 2 Name | LOGO2_NAME | [filename] |
| Logo 2 Local Path | LOGO2_PATH | [path] |
##### From `@postfmly/checkrate`:
| ๐ Description | ๐ Variable | {...} Value |
|:--------------:|:-----------:|:-----------:|
| Rate Limit | RATE | 1s |
#### Deployment:
| ๐ Script | ๐ง Command |
|:-----------:|:-------------:|
| Full | `./build.sh` |
| Docker Only | `./docker.sh` |
---
### ๐ Documentation
### Generate:
```bash
./docs.sh
```
---
### ๐ฐ๏ธ Git & CI/CD
- **Pre-Commit:** Staged files are automatically linted
- **Github Actions:** Builds and pushes images to repository
- latest
- amd64
- arm64