• Stars
    star
    240
  • Rank 168,229 (Top 4 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🤖 A fully-featured discord bot template written in Typescript, intended to provide a framework that's easy to use, extend and modify

Latest version

Build state Repo size Stars count

What is TSCord

TSCord is a fully-featured discord bot template written in Typescript, intended to provide a framework that's easy to use, extend and modify.

It uses discordx and discord.js v14 under the hood to simplify the development of discord bots.

This template was created to give developers a starting point for new Discord bots, so that much of the initial setup can be avoided and developers can instead focus on meaningful bot features. Developers can simply follow the installation and the configuration instructions, and have a working bot with many boilerplate features already included!

To know how to use TSCord and all its components, check the documentation here

But TSCord is not only a Discord bot template...

Dashboard

A ready-to-use fancy dashboard for your TSCord bot!

Website

Static front homepage for your TSCord-based bot!

tscord-website.preview.mp4

CLI

A really useful CLI meant to initialize a new TSCord project, generate files by type or even manage plugins!

tscord-cli.preview.mp4

Plugins

TSCord template is fully extensible thanks to the plugin eco-system!


📜 Features

Talking about features, here are some of the core features of the template:

  • Advanced handlers for:
    • Interactions (slash, context menu, button, modal, select menu, etc)
    • Simple message commands
    • Discord events listeners
  • Guards functions, acting like middlewares on handlers with some built-ins:
    • Rate limiter
    • Maintenance mode
    • Disabling command
    • Guild only command (no DMs)
    • NSFW only command
    • Message's content match using regex
  • Internal API to interact with the bot from external services, with built-in useful endpoints
  • Multiple databases support out-of-the-box using Mikro-ORM
  • Migrations system to keep a safe database
  • Custom events handlers
  • Advanced error handler
  • Fully-typed localization (i18n)
  • Local store to manage global state through the app
  • Advanced logger with log files and discord channels support
  • Scheduler for cron jobs
  • Built-in rich statistics system
  • Automatic static assets upload to imgur
  • WebSocket server with decorators driven events system

This template is also developer friendly and follow strict design patterns to ease its maintenance:

  • Written in Typescript
  • Built around the Dependency Injection and Singleton patterns
  • Use of battle-tested libraries under the hood (discordx and discord.js)
  • Built-in debugging setup for VSCode
  • Support for running with the PM2 process manger
  • Support for running with Docker
  • CI/CD integration with Github Actions

and many more!

📚 Documentation

Check the official documentation to get started and understand how to use this template.

You can also find useful documentations at:

📢 Support

If you need support on the template or just want to exchange with us, don't hesitate to join the official Discord support server!

After joining it, select the TSCord role to access the category within the server.

🌐 Roadmap

Click here to access the milestone roadmap

📑 License

MIT License

Copyright (c) barthofu

More Repositories

1

tscord-template

🤖 A fully-featured discord bot template written in Typescript, intended to provide a framework that's easy to use, extend and modify
TypeScript
14
star
2

nautiljon-scraper

🍙 An unofficial scraping tool for https://nautiljon.com, a french anime and manga data website
JavaScript
10
star
3

tscord-dashboard

🖥️ Dashboard to manage, monitor or even visualize useful statistics of your TSCord-based bots
TypeScript
6
star
4

rxeta

🌐 Reactive state management written in TypeScript with a minimal API and full power of RxJS
TypeScript
5
star
5

mega-link-checker

🔍 Little tool that checks if a mega.nz shared link is valid or not
JavaScript
4
star
6

tscord-website

💻 Static front homepage for your TSCord-based bot!
TypeScript
4
star
7

saveqlite

♻ Incremental backup system for SQLite databases written in TypeScript
TypeScript
4
star
8

stockbot

📦 Bot Discord français de référencement de liens de téléchargement de contenu multimédia (anime/manga/films/séries/etc)
JavaScript
4
star
9

tscord-plugins

🧩 Plugins intended to extend the TSCord bot template
TypeScript
3
star
10

discord-bot-template

🤖 A little discord.js v13 bot template that will satisfy all your needs!
JavaScript
3
star
11

tscord-docs

📃 Documentation for TSCord
MDX
2
star
12

github-ide-preview

💻 Open a github repo in an online code editor with one click
JavaScript
2
star
13

todoly

✅ A list based todolist web app, heavily inspired from manuelernestog/weektodo
TypeScript
2
star
14

portfolio

💻 Personal website containing informations about me, my projects, technologies i use and many more!
TypeScript
2
star
15

tscord-cli

🔧 CLI to manage your TSCord-based discord bot
JavaScript
2
star
16

tuto-iut-informatique-lyon1

📜 Différents tutos fait un peu à l'arrache pour mon IUT
1
star
17

barthofu

📃 My profile's readme
1
star
18

manga-shop

📚 HTML/CSS exercise for school
CSS
1
star
19

spawnise

🪄 Promisify the native node.js spawn function
TypeScript
1
star
20

disquettes.old

💕[WIP] Un site qui génère des disquettes en se basant sur des critères
JavaScript
1
star
21

calculator

🧮 Basic web calculator
CSS
1
star
22

playshelf

🎮 Like Plex, but for your DRM-free video games collection
Rust
1
star
23

microshop

📚 School evaluation project about docker and kubernetes
Dockerfile
1
star
24

space

🚀 Browser space shooter game written from scratch in TS following a pure ECS design pattern
TypeScript
1
star
25

iut-families

👥 [WIP] Une API couplée à une base de donnée MySQL qui permet d'accéder (et de modifier sur authentification) la généalogie des familles IUT
JavaScript
1
star
26

glowjob

TypeScript
1
star
27

longhorn-volume-manager

Helm chart used by myself to manage my Longhorn volumes and backups
Python
1
star
28

gamelib

📚 Video game library manager in WPF
C#
1
star