All Projects → KevinNovak → Discord-Bot-TypeScript-Template

KevinNovak / Discord-Bot-TypeScript-Template

Licence: MIT License
Discord bot - A discord.js bot template written with TypeScript.

Programming Languages

typescript
32286 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to Discord-Bot-TypeScript-Template

suggestions-bot
A Discord bot designed to build better communities by encouraging a positive and constructive relationship between community and staff.
Stars: ✭ 22 (-74.42%)
Mutual labels:  discordjs, discord-bot, discord-api, sharding, discord-js, discordbot
Discord-Reposter
Bot for reposting Discord messages (work in progress)
Stars: ✭ 62 (-27.91%)
Mutual labels:  discordjs, discord-bot, discord-api, discord-js, discordbot
mass-dm-discord
A MassDM selfbot which is working in 2021. Only for educational purposes 🥱🚀
Stars: ✭ 87 (+1.16%)
Mutual labels:  discordjs, discord-bot, discord-api, discord-js, discordbot
sharedsharder
Shard your discord.js bot across devices!
Stars: ✭ 18 (-79.07%)
Mutual labels:  discordjs, discord-bot, sharding, discord-js, discordbot
LenoxBot
🖥️ LenoxBot is a Discord bot that offers many cool new features to your Discord server!
Stars: ✭ 218 (+153.49%)
Mutual labels:  discordjs, discord-bot, discord-api, discord-js, discordbot
Discord-BOT-Dashboard
This version is outdated, please check out Discord BOT Dashboard v2
Stars: ✭ 32 (-62.79%)
Mutual labels:  discordjs, discord-bot, discord-api, discord-js, discordbot
discord-voice
⏲️ A complete framework to facilitate the tracking of user voice time using discord.js
Stars: ✭ 33 (-61.63%)
Mutual labels:  discordjs, discord-bot, discord-api, discord-js, discordbot
DiscordBot-Template
A boilerplate / template for discord.js bots with 100% coverage of Discord API, command handler, error handler based on https://discordjs.guide/
Stars: ✭ 129 (+50%)
Mutual labels:  discordjs, discord-bot, discord-api, discord-js, discord-bot-template
Welcome-Bot
A cool multi-purpose discord bot that solves all your problems. I have features such as Moderation, ModLog, Welcome & Goodbye logs, Fun, Music
Stars: ✭ 73 (-15.12%)
Mutual labels:  discordjs, discord-bot, discord-js, discordbot
Luki
[Deprecated] The official repository for Luki the Discord bot
Stars: ✭ 21 (-75.58%)
Mutual labels:  discordjs, discord-api, discord-js, discordbot
KannaKamuiBot
A multipurpose bot for fun, emotes, anime, utility, music, nsfw, valorant, moderation, and welcome/leave messages.
Stars: ✭ 64 (-25.58%)
Mutual labels:  bots, discordjs, discord-js, discordbot
Aometry
An awesome multipurpose discord bot build using discord.js v13 with support for slash commands and context menus
Stars: ✭ 51 (-40.7%)
Mutual labels:  discordjs, discord-api, discord-js, discordbot
Discord-BOT-Dashboard-V2
Discord BOT Dashboard V2 is made to make Discord BOT Development easy, designed to help create applications without writing a single line of code while using a user friendly Web-Dashboard!
Stars: ✭ 120 (+39.53%)
Mutual labels:  discordjs, discord-api, discord-js, discordbot
Discord-Bot-Choo-Choo
Coding Train Example Discord Bot
Stars: ✭ 35 (-59.3%)
Mutual labels:  discordjs, discord-bot, discord-js, discordbot
nextcord
A Python wrapper for the Discord API forked from discord.py
Stars: ✭ 956 (+1011.63%)
Mutual labels:  bots, bot-framework, discord-api, discordbot
Commando
[DEPRECATED] ⚫ Commando Discord bot built on discord.js-commando.
Stars: ✭ 78 (-9.3%)
Mutual labels:  discordjs, discord-bot, discord-api, discord-js
discord-clock
A simple clock script for your bot to show what time it is in your server | Discord.js v13 ready!
Stars: ✭ 29 (-66.28%)
Mutual labels:  discordjs, discord-api, discord-js, discordbot
Discord-Tools
VSCode extension allowing the integration of a Discord chat, bot templates, snippets, themes and more!
Stars: ✭ 91 (+5.81%)
Mutual labels:  discordjs, discord-bot, discord-js, discordbot
SparkV
🤖⚡ | The most POWERFUL multipurpose chat/meme bot that will boost the activity in your server.
Stars: ✭ 24 (-72.09%)
Mutual labels:  discordjs, discord-bot, discord-js, discordbot
partner-bot
Automates partnerships in the big community of discord.
Stars: ✭ 119 (+38.37%)
Mutual labels:  discordjs, discord-bot, discord-js, discordbot

Discord Bot TypeScript Template

discord.js License Stars Pull Requests

Discord bot - A discord.js bot template written with TypeScript.

Introduction

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 copy this repo, follow the setup instructions below, and have a working bot with many boilerplate features already included!

For help using this template, feel free to join our support server!

Discord Shield

Features

Built-In Bot Features:

  • Basic command structure.
  • Rate limits and command cooldowns.
  • Welcome message when joining a server.
  • Shows server count in bot status.
  • Posts server count to popular bot list websites.
  • Support for multiple languages.

Developer Friendly:

  • Written with TypeScript.
  • Uses the discord.js framework.
  • Built-in debugging setup for VSCode.
  • Written with ESM for future compatibility with packages.
  • Support for running with the PM2 process manger.
  • Support for running with Docker.

Scales as Your Bot Grows:

  • Supports sharding which is required when your bot is in 2500+ servers.
  • Supports clustering which allows you to run your bot on multiple machines.

Commands

This bot has a few example commands which can be modified as needed.

Help Command

A /help command with a bot description, list of commands, and important links.

Help Command

Test Command

A generic command, /test, which can be copied to create additional commands.

Test Command

Info Command

An /info command, which shows more information and relevant links.

Info Command

Dev Command

A /dev command, which shows detailed information that may be helpful to developers.

Dev Command

Link Command

A /link command, which provides relevant links (invite, support, docs, vote, donate).

Misc Commands

Welcome Message

A welcome message is sent to the server and owner when the bot is added.

Welcome Message

Setup

  1. Copy example config files.
    • Navigate to the config folder of this project.
    • Copy all files ending in .example.json and remove the .example from the copied file names.
      • Ex: config.example.json should be copied and renamed as config.json.
  2. Obtain a bot token.
    • You'll need to create a new bot in your Discord Developer Portal.
      • See here for detailed instructions.
      • At the end you should have a bot token.
  3. Modify the config file.
    • Open the config/config.json file.
    • You'll need to edit the following values:
      • client.id - Your discord bot's user ID.
      • client.token - Your discord bot's token.
  4. Install packages.
    • Navigate into the downloaded source files and type npm install.
  5. Register commands.
    • In order to use slash commands, they first have to be registered.
    • Type npm run commands:register to register the bot's commands.
      • Run this script any time you change a command name, structure, or add/remove commands.
      • This is so Discord knows what your commands look like.
      • It may take up to an hour for command changes to appear.

Start Scripts

You can run the bot in multiple modes:

  1. Normal Mode
    • Type npm start.
    • Starts a single instance of the bot.
  2. Manager Mode
    • Type npm run start:manager.
    • Starts a shard manager which will spawn multiple bot shards.
  3. PM2 Mode
    • Type npm run start:pm2.
    • Similar to Manager Mode but uses PM2 to manage processes.

Bots Using This Template

A list of Discord bots using this template.

Bot Servers
Birthday Bot
QOTD Bot
Friend Time
Bento
NFT-Info
Skylink-IF
Topcoder TC-101

Don't see your bot listed? Contact us to have your bot added!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].