Skip to content

A Discord Python bot that gives you ability to retrieve a lot of memes in a discord channel, and ability to retrieve them back through a BOT.

Notifications You must be signed in to change notification settings

3oFiz4/Discord-memes-fetcher-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python meme Magician 🧙‍♂️

Welcome to Python meme Magician! A script where your one-stop solution for meme retrieval and random meme generation in the blink of an eye! 🚀

🌈 What's Inside?

  • Meme Fetcher: This Python script allows you to summon memes of your choice by fetching .png, .jpeg, or any other image (optional format) format from a designated meme channel.

  • Meme Bot: With this Python script that can deliver a joy by presenting you with a random meme or one of your specified meme ID. ✨

🚀 How to Use?

  1. Fetch Memes: Invoke the fetcher.py by providing it with the expected format, channel id you seek.
  2. Summon Random Meme: Activate the Meme Bot, at this step, I assume you know how to create a python bot. If you do not have any idea how, follow this URL: Discord Bot tutorial

📜 Instructions:

  1. Clone the repository:
git clone https://github.com/DaemonPooling/Discord-memes-fetcher-bot.git
  1. Navigate to the Project Folder:
cd Discord-memes-fetcher-bot
  1. Install Dependencies:
pip install -r requirements.txt
  1. Configure the environment variables (important): Configure these variables below. If you do not know how, follow after the code:
# .env file
YOUR_DISCORD_ACCOUNT_TOKEN='put_your_discord_token_here'
YOUR_BOT_ACCOUNT_TOKEN='put_your_discord_bot_token_here'
FILE_NAME='what_is_the_file_name_looks_like'

1. Setting up your discord's token:

  1. Go to your discord.
  2. Open the Developer console, or Inspect element then go to Console, you can simply Press F12. image
  3. In the console paste this and enter.
(webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.getToken!==void 0).exports.default.getToken()

image

2. Setting up your discord's bot token:

  1. I can't really show them much, since the steps itself are comprehensive and I am trying to make this README.md short. Though, you can visit this link for the tutorial Discord Bot tutorial

  2. Run fetcher.py:

python source/fetcher.py
  1. Run bot.py (YOU SHOULD HAVE YOUR DISCORD BOT PREPARED):
python source/bot.py

About

A Discord Python bot that gives you ability to retrieve a lot of memes in a discord channel, and ability to retrieve them back through a BOT.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages