Skip to content

A discord bot written in python that uses Nasa's APOD API

Notifications You must be signed in to change notification settings

exitflynn/DeGrasse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeGrasse

A Discord bot written in python for sharing interesting information about Space, Science and Technology.

The bot, in it's current state, uses NASA's APOD API to send NASA's Astronomy Picture of the Day.

Installation and Setup:

(0. Sign-up on https://api.nasa.gov/#signUp and get the API key. Then go to the Discord Developers Portal and create a new bot. Check all the three intents given under 'Privileged Gateway Intents' Under the OAuth2 section check bot scope and check administrator in the permissions section)

  1. Clone the repository:
$ git clone https://github.com/exitflynn/DeGrasse.git
  1. Add your Discord bot key in config.py.
  2. Install the dependencies.
$ pip install -r requirements.txt
  1. Run the main.py and pass the NASA API with the -k and the --key flag.
$ python main.py -k <API_KEY>

In case of any issues feel free to raise an issue on Github. You're also more than welcome to join the Discord server at: https://discord.gg/g7dJbrdWGF

About

A discord bot written in python that uses Nasa's APOD API

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages