Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.
/ comicposter Public archive

Solution to post webcomics to Discord via webhooks

License

Notifications You must be signed in to change notification settings

7bitlyrus/comicposter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

comicposter

Solution to post webcomics to Discord via webhooks

Creating configs

To create the config files required to get up and running:

  • Create the config folder.
  • Create the config/last.json file with the contents {}
  • Create and modify the config/config.js file:
let config = {
    'webhook': /* Discord webhook URL */,
    'interval': /* Polling interval in seconds (e.g. 3600) */, 
    'delay': /* Delay between each comic's poll in seconds (e.g. 10) */
}

let comics = [
    /* Repeat the following line for each comic you want to be posted.
       See the /comics/ folder for valid comic scripts.
       e.g:
       require('../comics/housepets'),
       require('../comics/xkcd')
    */
    require('../comics/COMIC'),
]

module.exports = {config, comics}

About

Solution to post webcomics to Discord via webhooks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published