Reminder-Bot is a Discord bot that allows users to keep track of what tasks they have throughout the week or even today. In addition, if the user is in the database, it tells you what tasks you planned on that given day by sending you a direct message. This bot uses a database coded in SQL and keeps track of the user and their preference when they want to be messaged in the morning. In addition, it keeps track of the user's task and if they are completed or not.
Not interested in downloading bot to your computer, you can add bot to your server here
Follow these steps to run the Discord application and add it to your server.
-
If you are not an author, fork the repository here.
-
Clone the repository.
git clone https://github.com/pedropa140/Reminder-Bot.git
-
Install Dependencies
- Make sure your pip version is up-to-date:
pip install --upgrade pip
pip install -r requirements.txt
- Make sure your pip version is up-to-date:
-
Create Discord Application
- Go to https://discord.com/developers/applications
- Click on New Application
- Give it a name
- Agree to Developer Terms and Services and Developer Policy
- Go to the Bot tab
-
Click on Reset Token to receive Discord Application Token
-
Go back to the Github clone and create a .env file
-
Type
DISCORD_TOKEN = '**REPLACE WITH DISCORD TOKEN THAT YOU JUST COPIED**'
-
- Go to the OAuth2 tab
-
For OAuth2 URL Generator, click on bot on the second column
-
For General Permissions, click on
- Read Messages/View Channels
- Manage Events
- Create Events
- Moderate Members
- View Server Insights
- View Creator Monetization Insights
-
For Text Permissions, click on
- Send Messages
- Create Public Threads
- Create Private Threads
- Send Messages in Threads
- Send TTS Messages
- Manage Messages
- Manage Threads
- Embed Links
- Attach Files
- Read Message History
- Read Message History
- Mention Everyone
- Use External Emojis
- Use External Stickers
- Add Reactions
- Use Stash Commands
- Use Embedded Activities
-
For Voice Permissions, click on
- Use Embedded Activites
-
-
Copy the Generated URL and paste it in your web browser.
-
Click on the Discord server you would like to add the bot into.
-
In a terminal, find the directory where main.py is located and run this command:
python main.py- /hello
- returns a friendly greeting!
- /time
- tells the current time.
- /adduser [REMINDER-TIME]
- adds user to the database.
- /userinfo
- returns user information from the database.
- /changereminder [REMINDER-TIME]
- changes the time that the user wants to be notified of the tasks.
- /deleteuser
- deletes user from the database.
- /addtask [TASK-NAME] [TASK-START-TIME] [TASK-END-TIME]
- adds a task to the task list.
- /todaytask
- displays the tasks that end on the current date.
- /alltasks
- shows all uncompleted tasks.
- /removetask [TASK-NAME]
- removes tasks from tasks list.
- /pomodoro [WORK-TIME] [BREAK-TIME] [REPEATS]
- initializes the pomodoro method.
- /help
- shows the help menu.