Small experiment implementing a bot for discord
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Notibot, a simple Discord bot

Build Status Docker Pulls

It sends messages to a text channel whenever someone is leaving/joining the server.

Running standalone

Install dependencies

$ go get -v .

Run the program with a BOT user token

$ go run notibot.go -t [app bot user token]

Running through Docker

Pull the image from the Docker Hub:

$ docker pull dhedegaard/notibot

Run the image

$ docker run -d --name notibot dhedegaard/notibot app -t [app bot user token]

You might also want to add --restart always as parameter for the container to automatically restart it if/when the process crashes.