https://github.com/echobind/discordjs
https://github.com/echobind/discordjs
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/echobind/discordjs
- Owner: echobind
- Created: 2021-07-14T21:59:41.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-14T21:59:45.000Z (almost 5 years ago)
- Last Synced: 2025-02-16T12:13:56.151Z (over 1 year ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
---
title: Discord bot
description: A Discord bot written in JavaScript
tags:
- discord.js
- javascript
---
# Discord.js Example
This example starts a Discord bot using [discord.js](https://discord.js.org/#/).
[](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`.