Skip to content

Notifiarr/nodebot

Folders and files

NameName
Last commit message
Last commit date
Apr 7, 2024
Jan 27, 2024
Oct 8, 2023
Apr 8, 2024
Oct 8, 2023
Oct 14, 2023
Oct 8, 2023
Oct 8, 2023
Oct 8, 2023
Oct 8, 2023
Oct 14, 2023
Oct 14, 2023
Mar 9, 2024
Mar 8, 2024
Oct 8, 2023

Repository files navigation

Notifiarr NodeBot

.env

BOT_TOKEN=            # Token for the bot that is sent to discord for notifications to be sent from (required)
USER_API_KEY=         # Notifiarr apikey for the user running the bot (required)
DEV_DISCORD_USERS=    # List of dicord ids the bot will listen to when testing = true (optional)

NOTIFIARR_API_URL=    # Notifiarr API path for webhooks to be sent to (required)
BETTER_UPTIME_URL=    # Betteruptime heartbeat url for uptime checking (optional)
CRONITOR_URL=         # Cronitor heartbeat url for uptime checking (optional)

WEBHOOKS=             # Send webhooks to the Notifiarr
TESTING=              # Testing bot
LOG_LEVEL=            # Set how much output you want. Use one of: 'error', 'warn', 'info', 'http', 'verbose', 'debug', 'silly'
LOG_PATH="logs"       # The path where log files are output, default is logs folder relative to the running application, otherwise a full path should be used
UP_PING=              # Send uptime pings to Betteruptime or Cronitor
SC_PING=              # Send server count information to Notifiarr for this bot token
UPTIME_DELAY=         # How long to wait between uptime pings
COUNT_DELAY=          # How long to wait between sending user counts

Usage

The container is looking for the above environment variables so it knows what token to start the bot with and what user it belongs to