This is a Discord bot that fetches Linux and Windows manual pages. Version 6 is a complete rewrite with new features for Discord Hack Week.
Use !help or view the command list
- Create a Discord bot and a bot user.
- Create config.json, enter the bot token, a default prefix, and a list of owner IDs. For example,
{ "prefix": "!", "token": "NCAFAKEzTOKENTMxOrQ1FAKE.TOKENQ.QFAKEyTOKENvysEdFAKE-TOKENh", "owners": [ "288477253535399937", "217322331385757697" ] }
- Set up the Windows documentation repositories
mkdir windows cd windows git clone https://github.com/MicrosoftDocs/windowsserverdocs cd windowsserverdocs git checkout master cd .. git clone https://github.com/MicrosoftDocs/PowerShell-Docs cd PowerShell-Docs git checkout staging - Return to the root directory and start the bot
npm install node index.js



