Sign inSign up

wisehackermonkey/loki-discord-bot

By wisehackermonkey

Updated over 5 years ago

my first discord bot

Image
0

346

wisehackermonkey/loki-discord-bot repository overview

loki_discord_bot

my first disord bot

loki_bot_v1

how to run locally

create .env file

touch .env 

add to .env file

API_TOKEN=<discord api token>
ENVIRONMENT=dev or production
npm install 
npm start

Docker run (Local)

docker build -t loki_discord_bot .
docker run -p 80 -it --rm --env-file=.env --name=loki loki_discord_bot  

Docker-compose run

docker-compose build

docker-compose up -d

Docker publish

docker tag

Screenshot_4

TODO

  • deploy to server
  • heroku deploy
  • auto publish docker container github actions

Tag summary

Content type

Image

Digest

Size

31.2 MB

Last updated

over 5 years ago

docker pull wisehackermonkey/loki-discord-bot