https://github.com/maxhu08/discord-bot-starter
🤖 simple template for creating discord bot
https://github.com/maxhu08/discord-bot-starter
bot discord discord-bot discordjs
Last synced: 4 months ago
JSON representation
🤖 simple template for creating discord bot
- Host: GitHub
- URL: https://github.com/maxhu08/discord-bot-starter
- Owner: maxhu08
- Created: 2024-08-19T01:02:07.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2025-02-26T22:22:23.000Z (4 months ago)
- Last Synced: 2025-02-26T23:24:34.970Z (4 months ago)
- Topics: bot, discord, discord-bot, discordjs
- Language: TypeScript
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# discord-bot-starter
## info
A simple template for creating a discord bot.
## getting-started
Create a discord bot on the discord developer portal [here](https://discord.com/developers/applications).
```shell
git clone https://github.com/maxhu08/discord-bot-starter
cd discord-bot-starter
bun i
```Get your bot's token & client id from the developer portal page. Create a `.env` file with this structure and fill the BOT_TOKEN & CLIENT_ID with your bot's values.
```python
# .env
BOT_TOKEN="..."
CLIENT_ID="..."
```Go to `https://discord.com/oauth2/authorize?client_id=&scope=bot&permissions=0` to invite your bot to your server.
Start the bot by running:
```shell
bun start
```That's it! Try running `/ping`!