About Project
This bot will detect the Sad messages in the public channels and Encourage the person with motivational quotes.
Inspiration
Discord is one of the best social engagement platforms. There are quite many useful bots on Discord but EncourageMe Bot helps them with inspirational quotes. This bot can also add up new lines which can be used as an inspiration for others.
Learning
While creating this bot I learned about python Environment variables through which I can hide credentials from being exposed. Used REPL.IT Database so users can also store data and the bot can generate accordingly. Also, I learn how to use API and JSON.
How to Clone
git clone https://github.com/adilshehzad786/Discord-Encouraging-Bot.git
How to setup
Setting up Discord Developer Portal
First, Go to the following link: https://discord.com/developers/applications
Click on new Application (add a name and then click on create)
on the left side, Click on Bot and Copy the Token
How to start
Create a new file inside the root directory and name it with
.envAdd
TOKEN= You copy previously paste here
How Bot Works
These are the following commands for the working of the bot on your discord channel
Random Quotes
$inspire command can be used for the random quotes
Add new Inspiration line
$new You are the best bot
Checking your Inspiration Lines List
$list - command can be used to check how many words users have added up inside your bot database.
Delete Line from Database
$del 0 - 0 is the index of your array
Built With
- Python
- Repl Database
Built With
- python
- repldatabase
Log in or sign up for Devpost to join the conversation.