Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yutakobayashidev/discordjs-sample
🤖 Discord.js starter kit.
https://github.com/yutakobayashidev/discordjs-sample
discord-bot discord-js stater-kit
Last synced: 2 days ago
JSON representation
🤖 Discord.js starter kit.
- Host: GitHub
- URL: https://github.com/yutakobayashidev/discordjs-sample
- Owner: yutakobayashidev
- License: mit
- Created: 2022-02-28T15:09:04.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-01T07:24:35.000Z (almost 3 years ago)
- Last Synced: 2025-01-29T12:13:33.822Z (10 days ago)
- Topics: discord-bot, discord-js, stater-kit
- Language: JavaScript
- Homepage: https://discord.com/oauth2/authorize?client_id=947872812146769930&permissions=18432&scope=applications.commands%20bot
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# discordjs-sample
Discord.js starter kit.
## Demo
You can invite the BOT from the following URL.
https://discord.com/api/oauth2/authorize?client_id=947872812146769930&permissions=18432&scope=applications.commands%20bot
## Function
- Notify a specific channel when a BOT is added to the server.
- You can enter the /help command.## Usage
### environment variable
Create .env with the following contents on project root dir.
```bash
BOT_TOKEN='foo' # Discord BOT TOKEN
BOT_JOIN_LOG_CHANNEL_ID='bar' # Channel ID to be notified
```### start
Execute the following command in a terminal
```bash
# install packages
$ npm install
# start local server
$ node index.js
Bot is online and running in 0 servers!
```## BOT Development Server
https://discord.gg/S2w4tAZCxC