Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create inspiration.js A script that triggers SlackerBot to publish an inspirational quote whenever someone mentions words like 'inspire', 'inspiration', or, 'motivate'. * Delete Parsers/inspiration.js * Create Inspiration.js A script that triggers SlackerBot to publish an inspirational quote whenever someone mentions the words 'inspire', 'inspiration', or 'motivation'. * Update Inspiration.js The revised code ensures that responses are triggered only by bang commands (!inspire or !inspiration). This update addresses the concern of over-triggering associated with previously used trigger words. * Update Inspiration.js I've modified my code to only check for one regex pattern, specifically '!inspiration'. A match executes the block of code that fetches an inspirational quote from the API and sends it back as a chat response.
- Loading branch information