Inspiration
After watching the MLH livestream I went to the autocode YouTube channel where I came across @Jacklyn's tutorial where she built a bot that would reply with Hey! to messages saying hey I thought about how I could use this concept and apply it to help people and this is what I came up with
What it does
The bot uses RegEx to find certain keywords in a message and if they are alarming the bot replies with
country specific suicide prevention helpline numbers.

How we built it
I referenced the YouTube tutorial autocode documentation by autocode on how to customise the bot and documentation by Mozilla to understand RegEx
Challenges we ran into
I am a beginner in javascript so the syntax was a little bit confusing. in my experience its the silly stuff that took most of my time to debug as I was just getting used to autocode for example I spent a few minutes trying to figure out why my prefix commands that I added were not working but it turned out I just hadn't pushed the run button.
Accomplishments that we're proud of
Even though the bot isn't very complex I am really proud of the concept behind it and being able to accomplish that in a few hours feels great.
What we learned
I learned a lot about RegEx , using Autocode as a platform , publishing Discord Bots and there's alot more to learn which I am excited to explore more about.
What's next for Suicide Helpline Bot
I want work on adding more features like motivational quotes or adding a prefix command that'll delete the users message and DM the user the hotlines as sometimes people might not want to appear vulnerable in public
Built With
- autocode
- discord
- javascript
Log in or sign up for Devpost to join the conversation.