Skip to content

A twitch bot for fetching the last low price of an item from the tarkov.dev graphql service: https://tarkov.dev/api/

Notifications You must be signed in to change notification settings

Andbeav/tarkov-price-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tarkov-price-bot

A twitch bot for fetching the last low price of an item from the tarkov.dev graphql service.

Running the bot

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

About

A twitch bot for fetching the last low price of an item from the tarkov.dev graphql service: https://tarkov.dev/api/

Topics

Resources

Stars

Watchers

Forks