No description
Find a file
Raphael dde334bdfa
Some checks failed
CheckBuild / Build & Typecheck (push) Has been cancelled
feat(events/guild): Adding the handling of guildBanRemove event
2025-12-05 12:25:02 +01:00
.github/workflows core(git/workflows): now the workflow will accept warning 2025-11-25 15:25:44 +01:00
.husky fix(eslint): now is activated and normed using ts comparaison 2025-08-18 14:45:46 +02:00
assets fix(assets/emoji): removing the closing ',' 2025-11-25 15:25:44 +01:00
prisma style(prima/guild): Changing the default joining message 2025-11-25 15:25:44 +01:00
src feat(events/guild): Adding the handling of guildBanRemove event 2025-12-05 12:25:02 +01:00
.gitignore chore(gitignore): removing the eslint configuration from ignore 2025-08-18 11:44:54 +02:00
bun-types.d.ts feat(bun): adding the configuration for better developpement 2025-10-14 00:37:34 +02:00
bunfig.toml feat(bun): adding the configuration for better developpement 2025-10-14 00:37:34 +02:00
eslint.config.js style(eslint/config): removing useless configuration 2025-10-14 00:37:34 +02:00
flake.nix 🚀 v0.1.0-alpha – Protection System, Anti-Raid & Core Stability (#39) 2025-10-01 14:25:03 +02:00
LICENSE core(git/license): GNU Affero General Public License v3 2025-11-15 00:48:44 +01:00
package.json core(packages): update the packages 2025-11-25 15:25:44 +01:00
README.md feat(git/readme): updating the old liscence to the french version 2025-11-23 00:48:40 +01:00
tsconfig.json feat(bun): adding the configuration for better developpement 2025-10-14 00:37:34 +02:00

TTY Discord Bot

[🇫🇷 Version française ci-dessous | French version below]


English

TTY is a Discord bot developed with Bun, designed to provide custom features for your Discord servers.
This project is ideal for learning, experimenting, or enhancing your Discord experience with custom commands.

Main Features

  • Custom commands
  • Easily extensible
  • Fast, thanks to Bun

Requirements

Installation

Clone the repository and install dependencies with Bun:

git clone https://github.com/EniumRaphael/TTY.git
cd TTY
bun install

Configuration

Before running the bot, create a .env file at the root of the project and add your Discord token:

DSC_TOKEN='Your discord bot token'

DATABASE_URL="url of your database"

CLIENT_ID=Your client ID

Add other environment variables if needed (e.g. PREFIX, etc.).

Development Usage

To run the bot in development mode (hot reload):

bun run dev

Build and Run in Production

To build the project to JavaScript:

bun run build

Then run the built bot:

node dist/index.js

Contributing

Contributions are welcome!
Feel free to open an issue or pull request to suggest an improvement or report a bug.

License

GNU Affero General Public License v3.0


🇫🇷 Français

TTY est un bot Discord développé avec Bun, conçu pour offrir des fonctionnalités personnalisées sur vos serveurs Discord.
Ce projet est idéal pour apprendre, expérimenter ou enrichir votre expérience Discord avec des commandes personnalisées.

Fonctionnalités principales

  • Commandes personnalisées
  • Facilement extensible
  • Rapide grâce à Bun

Prérequis

Installation

Clonez le dépôt, puis installez les dépendances avec Bun :

git clone https://github.com/EniumRaphael/TTY.git
cd TTY
bun install

Configuration

Avant de lancer le bot, créez un fichier .env à la racine du projet et ajoutez votre token Discord :

DSC_TOKEN='Ton discord Token'

DATABASE_URL="Ton lien de ta base de donnee"

CLIENT_ID=L'identifiant de ton client

Ajoutez dautres variables denvironnement si besoin (par exemple PREFIX, etc.).

Utilisation en développement

Pour lancer le bot en mode développement (hot reload) :

bun run dev

Build et lancement en production

Pour compiler le projet en JavaScript :

bun run build

Puis pour lancer le bot compilé :

node dist/index.js

Contribution

Les contributions sont les bienvenues !
Nhésitez pas à ouvrir une issue ou une pull request pour proposer une amélioration ou signaler un bug.

Licence

GNU Affero General Public License v3.0