Skip to content

Commit

Permalink
Add full support for using the pre-built Docker image instead of manu…
Browse files Browse the repository at this point in the history
…ally building it
  • Loading branch information
exil0867 committed Mar 19, 2023
1 parent 73e4bcd commit cd14f9c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# DiscordChannelCloner
A script to clone messages from a single or multipe channels into a specified channel using Discord Webhooks. [Cross-server channel cloning is supported]
A script to clone messages (along with its details) from a single or multipe channels into a specified channel using Discord Webhooks. [Cross-server channel cloning is supported]

# config.json example
```json
Expand All @@ -12,7 +12,17 @@ A script to clone messages from a single or multipe channels into a specified ch
]
```

# Deploy the script using Docker
### Note that the self-host user must have the `manage_webhooks` permission.

# Deploy using Docker Compose (Recommended)
Check the `docker-compose.yml` defined in this repository: https://github.com/exilvm/DiscordChannelCloner/blob/master/docker-compose.yml

# The docker image can be found at [GitHub's Container Registry](https://github.com/exilvm/DiscordChannelCloner/pkgs/container/discordchannelcloner):
```
docker pull ghcr.io/exilvm/discordchannelcloner:master
```

# Or you can build the image on your own
Run:
```
git clone [email protected]:exilvm/DiscordChannelCloner.git && cd DiscordChannelCloner
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.9"

services:
discord-channel-cloner:
build: .
image: ghcr.io/exilvm/discordchannelcloner:master
container_name: discord-channel-cloner
environment:
TOKEN: ${TOKEN}
Expand Down

0 comments on commit cd14f9c

Please sign in to comment.