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_TOKENenvironment variable - Create a Geonames.com user account
- Set the
GEONAMES_USERNAMEenvironment variable npm inpm start
Commands:
!parshareturns this week's parsha!haftarahreturns this week's haftarah!dafreturns today's daf!shkiahor!zmanimfollowed 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)