No description
Find a file
2025-11-15 00:41:39 +01:00
.github/workflows 🚀 v0.1.0-alpha – Protection System, Anti-Raid & Core Stability (#39) 2025-10-01 14:25:03 +02:00
.husky fix(eslint): now is activated and normed using ts comparaison 2025-08-18 14:45:46 +02:00
assets style(emoji/json): update the emoji to be on a json file 2025-07-31 23:14:31 +02:00
prisma feat(prima/Guild): Update color type to an Integer 2025-11-15 00:41:39 +01:00
src fix(events/client): now using the number to assign the embed color 2025-11-15 00:41:39 +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
package.json core(package): update the package to the newest version 2025-11-14 22:15:07 +01:00
README.md Update README to clarify custom commands section 2025-10-14 00:48:57 +02: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

MIT


🇫🇷 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

MIT