Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to install ? #1

Closed
efsysefsys opened this issue Aug 27, 2019 · 2 comments
Closed

how to install ? #1

efsysefsys opened this issue Aug 27, 2019 · 2 comments

Comments

@efsysefsys
Copy link

i download install npm modules but i got , [LOG] ERROR: Env variable DISCORD_API_KEY does not exists or is empty!Please add config file? or install guide

@atomy
Copy link
Owner

atomy commented Aug 29, 2019

The bot is supposed to run with docker, see docker-compose.yml.

I mean, you can also run it without, in this case, set the required ENV variables before running bot.js, which are:

  • DISCORD_API_KEY (api-key for your discord bot)
  • STEAM_API_KEY (api-key for your steam web-api access)
  • STEAM_APPID (id of steam game, see sites like https://steamdb.info/apps/ to find it)

e.g.:
$ export DISCORD_API_KEY=kl23j4j234 && export STEAM_API_KEY=lkjasdfjklasdf && export STEAM_APPID=123456 && node bot.js

I'll get a firm documentation up soon.

@atomy
Copy link
Owner

atomy commented Sep 20, 2022

Think I added some documentation here some while ago, closing.

@atomy atomy closed this as completed Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants