Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/brandonbloom/discordjs


https://github.com/brandonbloom/discordjs

Last synced: 16 days ago
JSON representation

Awesome Lists containing this project

README

        

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

# Discord.js Example

testing....

This example starts a Discord bot using [discord.js](https://discord.js.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&envs=DISCORD_TOKEN&DISCORD_TOKENDesc=Token+of+the+Discord+account+used)

## ✨ Features

- Discord.js
- JavaScript

## 💁‍♀️ 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.js`.