Skip to content

Fetches new reported posts on Fandom and sends them to a Discord channel

Notifications You must be signed in to change notification settings

caburum/fandom-reported-posts-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fandom Reported Posts Bot

Fetches new reported posts from a Fandom wiki and sends them to a Discord channel. Based on polling.

Installation

To install required packages, run:

$ npm install

Configuration

Configuration is set using environment variables. You can also store them in a .env file in the same directory.

  • FANDOM_USERNAME - Fandom account username
  • FANDOM_PASSWORD - Fandom account password
  • FANDOM_WIKI - Interwiki to the Fandom wiki (e.g. test or fr.test)
  • FANDOM_DOMAIN - Domain for the wiki and Fandom services (optional, defaults to fandom.com)
  • WEBHOOK_ID - Discord webhook ID (number)
  • WEBHOOK_TOKEN - Discord webhook token
  • INTERVAL - Amount of time in seconds between checks (optional, defaults to 30)

Running

To run the bot after having it configured, use:

$ npm start

About

Fetches new reported posts on Fandom and sends them to a Discord channel

Topics

Resources

Stars

Watchers

Forks