This bot adds the !space command that gets NASAs random image of the day and then posts it to your discord server
This project was originally made in Python but has now been moved to NodeJS, You can find all of the original files in the “OldPythonVersion” folder.
These are the commands for our hosted version they might be different if you have edited the file.
- !help – Displays all the commands the bot has
- !space – Displays NASAs random image/video of the day
- !credits – Displays the author’s credits
You will need
- NodeJS and NPM
How to install
- Make sure you have NodeJS and NPM installed
- Next download all the required files from https://github.com/EdansTech/SpaceBot and put them into a folder called SpaceBot and enter it
- Now install Discord.JS and Request by running the following commands:
- npm install Discord.js
- npm install request
- Now edit the config.json file with your discord token and NASA API key, Here you can also change the command prefix.
- Now run the command “node index.js”
- You should have a working version of spacebot!
You are allowed to rename, rebrand etc as long as credit to us (meaning egddev.com) is given and you do not claim this work to be yours. This bot also must not be used commercially.