# Functions
CheckUser function check if a user exists in the database according to his discord id.
CountScorePost function calculate the total score of a post according to the provided post (postRecord), it can also return the score of a specific user on this post according to the provided db id (userDbId).
No description provided by the author
GetDiscordId function get and return the user discord id according to the provided mongodb _id.
GetUserInfo function get and return all the user infos according to the provided mongodb _id.
GetVote function fetch and return all the information about a post according to the provided postId and userId.
The Post function check if post exist in the database according to his link.
RegisterUser register a user if it doesn't exist in the database using his discord id.
The SetVote function add or remove a like to post (set with the Post function)
NOTE: it will return true if the vote has been added and false if not.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author