Update README.md

This commit is contained in:
2024-05-17 23:53:09 +02:00
parent 4a2c9942ac
commit d26dec7c19

View File

@@ -1,11 +1,27 @@
# join2create # join2create
A simple Discord Bot to provide JoinToCreate functionality. Join2Create is a Discord bot designed to facilitate JoinToCreate functionality seamlessly within your Discord channels.
Create your Application and give the bot sufficient permissions (i gave id Admin).
Put your Bot Key and your Channel ID in the docker-compose.yml or use this command ## Getting Started
```docker run -d \
1. **Create a Discord Application**: Visit the [Discord Developer Portal](https://discord.com/developers/applications) and create a new application. Make sure to grant the application sufficient permissions, preferably Administrator.
2. **Invite the Bot to Your Server**: After creating the application, invite the bot to your Discord server using the OAuth2 URL provided in the Discord Developer Portal.
3. **Configure Bot Parameters**:
- Open `docker-compose.yml` and input your bot token and channel ID.
- Alternatively, you can use the following Docker command:
```bash
docker run -d \
--name discord-bot \ --name discord-bot \
-e BOT_TOKEN=YOUR_BOT_TOKEN_HERE \ -e BOT_TOKEN=YOUR_BOT_TOKEN_HERE \
-e JOINTOCREATE_CHANNEL_ID=YOUR_JOINTOCREATE_CHANNEL_ID_HERE \ -e JOINTOCREATE_CHANNEL_ID=YOUR_JOINTOCREATE_CHANNEL_ID_HERE \
git.degnedict.de/bene/join2create:latest``` git.degnedict.de/bene/join2create:latest
```
Or use the one-liner version:
```bash
docker run -d --name discord-bot -e BOT_TOKEN=YOUR_BOT_TOKEN_HERE -e JOINTOCREATE_CHANNEL_ID=YOUR_JOINTOCREATE_CHANNEL_ID_HERE your-gitea-hub-username/discord-bot:latest
```