Skip to content

hammybot/hammy

Repository files navigation

Hammy

Bot built for Discord w/ Golang and discordgo.

Running hammy (local)

  • Clone the repo
  • Install Golang
  • Set environment variables:
    • DISCORD_BOT_TOKEN: Create a discord application and bot token for development testing here
  • Start docker dev (make option available)
  • Run bot with go run command

GPU acceleration

Hammy runs ML models in Ollama. The docker-compose-dev.yml file starts up an ollama container without gpu access. If you have an nvidia gpu and would like to use the gpu acceleration run make up-gpu instead which will allow the container to use the gpu as long as you have the nvidia container toolkit installed

Hammy does not currently support AMD gpu acceleration.

make up
go run ./cmd/hammy/