Phantombot 2.3.8 or higher
php
Rename config.example.json
to config.json
Change the values based on your setup
- outputFolder: this is the folder that phantombot-cron.php is placed after being generated in step 2 and where outputs from the cron will be stored.
- port: PhantomBot's base port.
- protocol: the protocal used to talk to PhantomBot.
- url: the url to PhantomBot.
- webauth: the webauth token for PhantomBot found in
botlogin.txt
php generate.php [module names]
Module names are the names of the folders in modules
Example: php generate.php commands quotes top-100-points
Move or run phantombot-cron.php
to your server
When this is ran it will output json files to the location you setup in config.json
Make a new wordpress page template (google it)
Copy content from wordpress.php
Paste into new page template (I like to put it below the content
load block
Update the $filename
variable to point to the correct folder
In Wordpress make a new page and use the new template