this bot helps you to keep track of your homework and sends you encouraging messages
what you need
- repltit
- discord (because it is a discord bot)
- a discord server to host your bot
- ensure your bot is able to send messages in the discord app setting
- uptimerobot (to make the bot run continuously)
what to do
- create a discord bot
- paste the token at the bottom of the code, where it says 'PASTE TOKEN HERE' (remember to keep the token within the '')
- run the code in replit
- copy the url generated when running the code
- go to uptimerobot and click 'add new monitor'
- select 'https' as the monitor type
- paste the url you copied from replit in the 'url' section
- click 'create monitor' and your bot should run continuously :)))))
how it works
- typing "$hello" in the chat will cause the bot to send "hello"
- if you're down and needing encouragement you can type "$encourage" and the bot will encourage you
- if you need a listening ear you can always type "$helpme" and this will direct you to hotlines you can call
- you can add work or tasks by typing "$new" in the chat followed by your task, in other words type "$new (your task)"
- you can delete tasks by typing "$del" followed by the index of task on the list, starting from zero. For instance, you just cleared your trash and it happens to be the first thing on your list, so you key in "$del 0", since the first item on your task list starts from zero
- by typing "$list" you can see the list of work you have to do
sources
- i owe much of what i learnt of bot creation to this tutorial here: https://www.freecodecamp.org/news/create-a-discord-bot-with-python/