Skip to content
This repository was archived by the owner on Jun 29, 2022. It is now read-only.

DarinMao/ManPageBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

177 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord top.gg status top.gg servers Version ManPage Bot Join Discord Add ManPage Bot

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

Self Hosting

  1. Create a Discord bot and a bot user.
  2. 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"
      ]
    }
  3. 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
    
  4. Return to the root directory and start the bot
    npm install
    node index.js
    

About

Discord bot to fetch manual pages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors