Discord Bot for Hack_NCState's annual hackathon. Check out our website.
- Create a google sheet with a list of announcements with the following columns:
date time type title description location eventTime URL thumbnailURL imageURL
- the code will only read in the range
A2:J, if you want to add more info columns, update this in the code - location, time, and URLs are optional
- Copy the sheets ID (the part of the URL after
https://docs.google.com/spreadsheets/d/and before/edit)
- clone the repo locally
- create a Google Cloud application and enable the sheets API, download the auth file, and place it in the repo
- edit the
.env.examplefile by adding the bot token and other necessary config data and renaming it to.env - in a terminal, run
npm run startornpm run dev(if you're actively developing)