Skip to content

HackNCState/AnnouncementsBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnnouncementsBot


Discord Bot for Hack_NCState's annual hackathon. Check out our website.


How to add announcements for a new year

  1. Create a google sheet with a list of announcements with the following columns:
date time type title description location eventTime URL thumbnailURL imageURL
  1. the code will only read in the range A2:J, if you want to add more info columns, update this in the code
  2. location, time, and URLs are optional
  3. Copy the sheets ID (the part of the URL after https://docs.google.com/spreadsheets/d/ and before /edit)

How to run the bot (locally)

  1. clone the repo locally
  2. create a Google Cloud application and enable the sheets API, download the auth file, and place it in the repo
  3. edit the .env.example file by adding the bot token and other necessary config data and renaming it to .env
  4. in a terminal, run npm run start or npm run dev (if you're actively developing)

About

Hack_NCState's discord bot for sending out announcements on the day of hackathon

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •