Meme Collector Bot: Create, Save, and Fetch Memes and View Random Reddit Memes Effortlessly #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The bot is designed to enhance user engagement by allowing meme creation, voting, random meme fetching, and seamless interactions with saved memes.
Key Features:
Command /randommeme fetches a random meme from the "memes" subreddit using Reddit's API.
Filters NSFW and stickied posts for a safe and clean experience.
Command /creatememe allows users to save a custom meme by uploading an image.
Voting system with 👍 (upvote) and 👎 (downvote) reactions.
Memes require a minimum number of upvotes within a set time to remain on the server.
Automatic deletion of unverified memes after the voting period.
Tracks reaction additions and removals to update meme upvote/downvote counts in real-time.
Seamless meme retrieval as it detects messages containing the name of a saved meme.
Automatically posts the meme as an embedded message in the chat.
Uses MongoDB for storing meme data (name, URL, votes, timestamps, etc.).
Ensures efficient and persistent meme management.
Uses: https://cdn.discordapp.com/attachments/______ to store meme images to ensure the least amount of server space being used.
Uses asyncpraw to interact with Reddit, ensuring non-blocking API calls.