/fonline-bot

Simple FOnline Discord status bot powered by nodejs.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

fonline-bot

Simple FOnline Discord status bot:

alt text

Running:

Docker / Podman:

  1. Build container image docker build -t fonline-bot .

  2. Create and run the container docker run -d -p 44861:44861 --name fo-bot -e TOKEN={token-goes-here} -e SERVER_ADDRESS=game.fonline-aop.net -e SERVER_PORT=4000 fonline-bot

Classic:

  1. Fill out the token, server IP address and server port number constants inside bot.js
  2. Install dependencies npm install
  3. Run the bot node bot.js

History of online can be viewed through logs of container:

docker container logs fo-bot