Mrrobi / Image-Featching-Bot-using-Discord-Py

A small bot with two functions, it can fetch the image from e direct URL into your discord channel, it mainly prepared for fetching Instagram images from there URL into your channel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image-Featching-Bot-using-Discord-Py


Requirements

  1. Discord.py
  2. Selenium
  3. ChromeDriver
  4. Access to discord developer portal
  5. A discord guild/server

Setup process

  • Install discord py using pip from the above given link at first
  • then install selenium also using pip
  • Download your requrired machine chrome driver zip from the given link your gonna need this for later use
  • Replace "YOUR BOT TOKEN" with your application token inside ta bot.py script
  • unzip the chromium driver in the exact same folder where you put your bot.py file

How to run the bot

  • Create an application in discord dev portal and get your application token Tutorial Link
  • Invite your bot into your server tutorial
  • Remane the zip folder as chrome_driver and make sure the chromedriver.exe file is inside that folder (Same goes for linux as well though there wont be exe file )
  • Voila!!! You are all good to go open cmd/power shell/terminal in the exact same folder where your bot.py is
  • write python ./bot.py (for windows) / python bot.py (for linux) and press enter after few sec screen should show bot ready msg means your bot is online

About

A small bot with two functions, it can fetch the image from e direct URL into your discord channel, it mainly prepared for fetching Instagram images from there URL into your channel

License:Apache License 2.0


Languages

Language:Python 100.0%