Skip to content

discord bot for displaying crypto prices using cryptoprices.cc

Notifications You must be signed in to change notification settings

rssnyder/discord-bot-cryptoprices

Repository files navigation

discord-bot-cryptoprices

a simple discord bot that displays crypto status from cryptoprices.cc

image

GitHub all releases

Usage of ./discord-bot-cryptoprices:
  -activityMsg string
        bot activity
  -metrics string
        address for prometheus metric serving (default ":8080")
  -nicknameHeader string
        bot nickname
  -refresh string
        seconds between refresh (default "120")
  -setNickname string
        to update nickname (default "true")
  -status string
        0: playing, 1: listening, 2: watching (default "2")
  -symbol string
        crypto to watch
  -token string
        discord bot token

make sure the bot has "change nickname" permissions in the server if using that feature

docker compose

---
version: "3"
services:
  discord-bot:
    image: ghcr.io/rssnyder/discord-bot
    environment:
      TOKEN: XXX..XXX
      NICKNAME: some nickname
      ACTIVITY: some activity
      STATUS: 0
      REFRESH: 5

helm

helm repo add discord-bot-cryptoprices https://rssnyder.github.io/discord-bot-cryptoprices

helm repo update discord-bot-cryptoprices

helm upgrade -i eth --namespace discord-bot-cryptoprices --create-namespace \
  discord-bot-cryptoprices/discord-bot-cryptoprices \
  --set token=xxxx-xxx-xxx-xxxx \
  --set symbol=ETH

command line

curl -L https://github.com/rssnyder/discord-bot-cryptoprices/releases/download/v<version>/discord-bot-cryptoprices_<version>_<os>_<arch>.tar.gz -o discord-bot-cryptoprices.tar.gz
tar zxf discord-bot-cryptoprices.tar.gz

./discord-bot -token "XXX..XXX" -nickname "some nickname" -activity "some activity" -status "0" -refresh "5"

About

discord bot for displaying crypto prices using cryptoprices.cc

Resources

Stars

Watchers

Forks

Packages