Devlog 1 —
Heyyyy. I’m sweta .Today, I’ve built a discord bot and it’s called studbudie. Basically, the whole point of this is to be a study companion that lives in your discord server.
The idea came from the fact that during a study session you’re constantly switching context. you need a timer, you open a tab. you need motivation, you scroll through pinterest or insta. you need to remember to take a break, you forget entirely and return to study hours later. So, I wanted something that just lives in our server
Setup:
Wrote all the code in Visual Studio Code — in JavaScript, running on Node.js, with Discord.js v14 handling everything on the Discord side. dotenv to keep the token out of the repo, .gitignore set up early so nothing sensitive accidentally made it to github.
the actual coding was fine. what took forever was just getting the bot online for the first time. there’s this whole process — create the application on the discord developer portal, generate the token, figure out the permissions, run it and just sit there hoping the terminal doesn’t throw an error. it took a few tries. but when it finally connected and I typed !ping and it actually responded — that was a good moment and again i had to make it work 24/7 so i used railway and officallyyy made it a working bot and i have submitted it in top.gg so others (check it out) can use it.
To find it:
I have pushed it in github repo:
github.com/swyaeta/studbudie with an MIT license so anyone can use or build on it.
This is where most of the day went. ended up with 21 commands total. here’s the breakdown:
Timers —
!shorttimer — 10 min, for quick focused bursts when you don’t have much time
!timer — 25 min, the classic pomodoro
!longtimer — 50 min, for when you’re properly in flow and don’t want to break early
!extralongimer — 90 min, deep work, the serious one
Motivation —
!motivation — random motivational quote to push through when you’re dragging
!quote — inspirational quotes from people who actually did things
Knowledge and tips —
!tip — random study tip, stuff that’s actually useful
!fact — random science fact, good for a brain break without fully zoning out
Mental reset —
!breathe — walks you through a breathing exercise. underrated how much this helps mid session
!stress — stress relief tips for when things are getting to you
Session structure —
!focus — a checklist to get properly into focus mode before starting
!break — reminder of what a real break looks like (not just switching to youtube)
!morning — a full morning study routine to start the day right
!night — wind down routine for ending a study session properly
Exam specific —
!exam — exam prep tips, what to actually do in the days before
other —
!challenge — a small brain challenge, keeps things interesting
!celebrate — for when you finish something, because that matters
with this u can study without leaving discord!!!
!hello, !ping, !help, !introduction, !about — the standard stuff every bot needs
and thats all!! This was quite funnnn!!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.