An open API service indexing awesome lists of open source software.

https://github.com/hebilicious/discordjs-typescript


https://github.com/hebilicious/discordjs-typescript

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

---
title: Discord TypeScript bot
description: A Discord bot written in TypeScript
tags:
- discord.js
- typescript
---

# Discord.js Example

This example starts a Discord bot using [discord.js](https://discord.js.org) and [TypeScript](https://www.typescriptlang.org/).

[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new?template=https%3A%2F%2Fgithub.com%2Frailwayapp%2Fexamples%2Ftree%2Fmaster%2Fexamples%2Fdiscordjs-typescript&envs=DISCORD_TOKEN&DISCORD_TOKENDesc=Token+of+your+Discord+bot)

## ✨ Features

- Discord.js
- TypeScript

## 💁‍♀️ How to use

- Install dependencies `yarn`
- Connect to your Railway project `railway link`
- Start the bot `railway run yarn dev`

## 📝 Notes

The server started launches a Discord bot with a couple of basic commands. The code is located at `src/index.ts`.