Jewish Discord bot
Requirements:
- Discord.js for obvious reasons
- Dotenv to enable project-specific environment variables
- Moment.js for human-friendly date formatting
Installation:
- Create a new Discord bot here
- Set the
BOT_TOKEN
environment variable - Create a Geonames.com user account
- Set the
GEONAMES_USERNAME
environment variable npm i
npm start
Commands:
!parsha
returns this week's parsha!haftarah
returns this week's haftarah!daf
returns today's daf!shkiah
or!zmanim
followed by the city name return Shabbat times for that city- Referencing a source in square brackets (ex:
[Sotah 49b:19]
) returns a Sefaria link to the text (if possible)