Skip to content

Commit c0723e3

Browse files
committed
Added gif management
1 parent a0be204 commit c0723e3

File tree

5 files changed

+6
-0
lines changed

5 files changed

+6
-0
lines changed

JHDBot/.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
gifs

JHDBot/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM python:3.7.8-alpine
22

33
RUN mkdir -p /usr/src/app
4+
RUN mkdir /usr/src/app/gifs
45
WORKDIR /usr/src/app
56

67
RUN apk add --update --no-cache \

JHDBot/gifs/ban.csv

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
https://tenor.com/view/blob-banned-ban-hammer-blob-ban-emoji-gif-16021044,https://tenor.com/view/banned-thor-banned-thor-ban-thor-admin-gif-12850590,https://tenor.com/view/salt-bae-ban-banned-gif-10497201

JHDBot/gifs/kick.csv

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
https://tenor.com/view/anime-kick-go-out-gif-14290462,https://tenor.com/view/kick-knock-out-hurt-ouch-gif-4799973,https://tenor.com/view/drop-kicked-watch-this-gif-12761359

docker-compose.yml

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ services:
1616
build: JHDBot/.
1717
container_name: jhd-bot
1818
restart: "always"
19+
volumes:
20+
- ./JHDBot/gifs:/usr/src/app/gifs:rw
1921
environment:
2022
- DISCORD_API_TOKEN=${DISCORD_API_TOKEN}
2123
- BOT_PREFIX_CHARACTER=${BOT_PREFIX_CHARACTER}

0 commit comments

Comments
 (0)