Installation - postmortalangel/cardboardbox GitHub Wiki
If you're really wanting to use this bot yourself, let's go over what you need and how to install it.
-
gitcommand line. Install by clicking your operating system's name in this list: -
nodeversion 8.0.0 or higher. - Your Discord bot token. Read the first section of this page on how to snag it.
-
Python. Install it from here.
- Head on over to your terminal (preferrably Command Prompt) and clone the repository.
- If you want to clone to a specific folder, you have two options:
-
cdinto your desired folder. For example, if you wanted to clone the repository into Documents, open the terminal normally and runcd C:/Users/<user>/Documents. - Open the terminal in a specific folder by doing Shift-Rightclick => Open <Powershell/command terminal> here.
-
- After doing either of those steps, clone the repository by running
git clone https://github.com/rhearmas/cardboardbot.gitthrough your terminal.
- If you want to clone to a specific folder, you have two options:
- When
githas finished,cdinto the newly-created folder for the repository. - Run
npm install. This installs all the prerequisites for the bot through Node package manager, which is bundled withnode.- If you get any errors about python or msibuild.exe or binding, read the requirements section again and make sure you've installed everything.
- Run
node setup.jsto get a configuration file added.
Open your terminal and run node index.js inside the folder. Don't forget to cd into it if the folder isn't in places like your Desktop.
Generate an OAuth link for your bot. Use this delicious link to get your link. It even has a calculator for permissions!