Discord.py and Mongo DB link for Discord Bot

Job ID: 30805374

Budget: $30 – $250 USD

I am working on a project that I don't want to spend more time on trying to figure a method out. First and foremost this is a discord bot, the freelancer who gets awarded this project must know how to change out variables so that they can test and make sure the bot continues to work and then soon finish up my request.

#1. ) START AND FINISH A MONGO DB LINK
I have started to create a link for the discord bot but just got annoyed with trying to finish it up as I have other things to work on. The link between discord and MongoDB is to store 3 elements inside each record, a userID, username (NO DISCRIMINTATOR), as well as a reputation that I have awarded to the user (always starts from 0).
The bot as of now has other commands that are fully functional the one I am trying to finish up is a command called rep. The goal of the command after calling it is to pass in a userID which the Mongo DB will find and in that corresponding record output an integer that is stored from the reputation part of the record. After outputting the current stored value of reputation, begin to change the selected user's current nickname to reflect that.
If the user already has rep and is not starting from 0 update the record +1 rep, and edit the nickname from Anthony (1) to Anthony (2). If the user has no rep, get the current name of them in the server and edit it to go from Anthony to Anthony (1). Once a user's rep reaches 15, upon gaining their 15th rep award a role (Frequent Renter).


e.g.
Calling command: *rep
Output: Insert user ID

input: ##############

output:
User selected:
@User
User's current Rep: # (VALUE STORED IN DB)

output:
@User is now
@User (1) (THIS IS DONE VIA NICKNAME)



PRINCIPALS ABOUT THE DATABASE/COMMAND:
1. Every user that joins the discord gets added to the database, the same goes for everyone leaving, their whole record gets destroyed.
2. Update the database every ~2 minutes to prevent spam. While updating the database output an embed to the current set log channel variable with what the update did, add user delete user every hour starting at :00 to keep organization,
e.g.
Database Refresh Report since 12AM: (USE 12 HR INTERVALS)
`#` - Users Left the Server
`#` - Users Joined the Server
`#` - Users Gained Rep

3. Maintain the embed structure set in place in the file.
4. Only the Bot Owner can use this command (you can see in the file that there are other commands like this as well)
5. Output to the log channel if there is an error, connection, record update, and so on.

#2 FIX RESTART COMMAND FOR ERROR HANDLING (if possible)
Make sure that this command is similar to the shutdown one in place. The command can only be used by the bot owner, and if the person trying to use the command isn't the bot owner, then simply, output an error similar to the shutdown one.

THINGS TO NOTE:
Users don't have the ability to change nicknames only I do (as the server owner)
Users nicknames will only be changed via the bot command
Maintain the clean code structure already in place.
This project is going to be pushed to Heroku for hosting, so keep that in mind.

If you are interested please contact me for further details.

Attached is a screenshot of the command functionality I got up to.
Related categories: Python MongoDB