A twitch bot for fetching the last low price of an item from the tarkov.dev graphql service.
Fill in the missing config in the .env
file.
ACCESS_TOKEN
You can generate a chatbot token with just read/write access using this site.CHANNEL_NAME
The name of your twitch channel (not your full url)COMMAND_PREFIX
The symbol used before the command (defaults to!
i.e.!p noodles
)
Run using podman (or docker) compose:
$ podman-compose up --build app # --build not necessary after first run
...
Logged in as | <auth-token-user>
User id is | <auth-token-user-id>
# Testing with '!p noodles':
<username> !p noodles
The last low price of pack-of-instant-noodles was 9500 roubles.
# Stopping the bot:
^C (ctrl+c)
$ podman-compose down