Discord bot script for sending multiple media files to a discord channel according to discord limitations.

Overview

Discord Bulk Image Sending Bot

Send bulk images to Discord channel.

This is a bot script that will allow you to send multiple images to Discord channel avoiding the 10 media per time limitation + Bypass for file size limitation.

Requiremens:

  • Python 3.9
  • Discord.py (pip install discord)
  • Discord bot with the following permissions:
  • Send Messages.
  • Send Messages in Threads.
  • Send TTS Messages.
  • Embed Links (In case you need to send a link as a footer.).
  • Attach Files.
  • Use Slash Commands.

Features

  • Bypass Discord limitation of 10 media files per Message.
  • Fully automatic.
  • Doesn't try to send files bigger than Discord Limitations (10mb).
  • Unlimited File Count.
  • No need for cloud host, works on your machine, open source, no chance for token steal.
  • PREFIX - !dib

Installation

DIB requires Python 3.9 to run.

Install the dependencies via Python Console / Linux Terminal.

Run using: cd DiscordBulkImageBot python3 main.py

pip install discord
pip install os #Just in case you are missing the package for some reason.

Variables

Footer # OPTIONAL #:

link = ''         #OPTIONAL: You can add anything to be send to the channel after the images are done sending, EG Invite link, socials, etc.

Path to Folder # REQUIRED #:

path = ''          #REQUIRED: Add directory to your image folders path on your local machine.

TOKEN # REQUIRED #:

TOKEN = ''      #Bot Token goes here. See Discord Developer Portal for more info.

Log in Console # OPTIONAL #:

#print(f'{username}: {user_message} ({channel})')    #Uncomment if you want the bot to log all messages in the console.

Infinite Loop Protection # REQUIRED #:

if message.author == client.user:                   #Avoid infinite loop. DO NOT REMOVE.

Size Limiter # REQUIRED #:

if os.path.getsize(path + filename) < 10000000:       #If file is >10mb, it gets skipped and logged in Console due to Discord limitations.

Final Log # OPTIONAL #:

#print(f'Sucessfully uploaded {count} files.')   Final log. Uncomments if you want to get log in console of how many files were transfered.

Bot Initialization # REQUIRED #:

client.run(TOKEN) #initialization.

License

MIT

Free Software, Hell Yeah!

You might also like...
Frwdit-V1 - A Simple Bot can copy any media to a private channel provided

📠 Auto Forward V2 A Simple Bot can copy any media to a private channel provided

YouTube playlist Files downloaded by FDM are not organized according to the original order on YouTube

Youtube-Playlist-File-Organizer YouTube playlist Files downloaded by Free Download Manager are not organized according to the original order on YouTub

Python bot for send videos of a Youtube channel to a telegram group , channel or chat
Python bot for send videos of a Youtube channel to a telegram group , channel or chat

py_youtube_to_telegram Usage: If you want to install ytt and use it, run this command: sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/nima

A Bot Telegram Anti Users Channel to automatic ban users who using channel to send message in group.

Tg_Anti_UsersChannel A Bot Telegram Anti Users Channel to automatic ban users who using channel to send message in group. Features: Automatic ban Whit

WBMS automates sending of message to multiple numbers via WhatsApp Web
WBMS automates sending of message to multiple numbers via WhatsApp Web

WhatsApp Bulk Message Sender - WBMS WBMS automates sending of message to multiple numbers via WhatsApp Web. Report Bug · Request Feature Love the proj

Rhythm bot clone for discord written in Python and uses YouTube to get media files.

Tunebot About Rhythm bot clone for discord written in Python and uses YouTube to get media files. Usage You need a .env file within the same directory

An attendance bot that joins google meet automatically according to schedule and marks present in the google meet.
An attendance bot that joins google meet automatically according to schedule and marks present in the google meet.

Google-meet-self-attendance-bot An attendance bot which joins google meet automatically according to schedule and marks present in the google meet. I

A Discord bot that rewards players in Minecraft for sending messages on Discord

MCRewards-Discord-Bot A Discord bot that rewards players in Minecraft for sending messages on Discord How to setup: Download this git as a .zip, or cl

A Advanced Auto Filter Bot Which Can Be Used In Many Groups With Multiple Channel Support....

Adv Auto Filter Bot This Just A Simple Hand Auto Filter Bot For Searching Files From Channel... Just Sent Any Text I Will Search In All Connected Chat

Releases(discord)
  • discord(Jan 13, 2022)

    Discord Bulk Image Sending Bot

    Send bulk images to Discord channel.

    This is a bot script that will allow you to send multiple images to Discord channel avoiding the 10 media per time limitation + Bypass for file size limitation.

    Requiremens:

    • Python 3.9
    • Discord.py (pip install discord)
    • Discord bot with the following permissions:
    • Send Messages.
    • Send Messages in Threads.
    • Send TTS Messages.
    • Embed Links (In case you need to send a link as a footer.).
    • Attach Files.
    • Use Slash Commands.

    Features

    • Bypass Discord limitation of 10 media files per Message.
    • Fully automatic.
    • Doesn't try to send files bigger than Discord Limitations (10mb).
    • Unlimited File Count.
    • No need for cloud host, works on your machine, open source, no chance for token steal.
    • PREFIX - !dib

    Installation

    DIB requires Python 3.9 to run.

    Install the dependencies via Python Console / Linux Console.

    pip install discord
    pip install os #Just in case you are missing the package for some reason.
    

    Variables

    Footer # OPTIONAL #:

    link = ''         #OPTIONAL: You can add anything to be send to the channel after the images are done sending, EG Invite link, socials, etc.
    

    Path to Folder # REQUIRED #:

    path = ''          #REQUIRED: Add directory to your image folders path on your local machine.
    

    TOKEN # REQUIRED #:

    TOKEN = ''      #Bot Token goes here. See Discord Developer Portal for more info.
    

    Log in Console # OPTIONAL #:

    #print(f'{username}: {user_message} ({channel})')    #Uncomment if you want the bot to log all messages in the console.
    

    Infinite Loop Protection # REQUIRED #:

    if message.author == client.user:                   #Avoid infinite loop. DO NOT REMOVE.
    

    Size Limiter # REQUIRED #:

    if os.path.getsize(path + filename) < 10000000:       #If file is >10mb, it gets skipped and logged in Console due to Discord limitations.
    

    Final Log # OPTIONAL #:

    #print(f'Sucessfully uploaded {count} files.')   Final log. Uncomments if you want to get log in console of how many files were transfered.
    

    Bot Initialization # REQUIRED #:

    client.run(TOKEN) #initialization.
    

    License

    MIT

    Free Software, Hell Yeah!

    Source code(tar.gz)
    Source code(zip)
Owner
Nikola Arbov
Nikola Arbov
Python package and CLI for user-friendly integration with SAS Viya

sasctl A user-friendly Python interface for SAS Viya. Full documentation: https://sassoftware.github.io/python-sasctl Table of Contents Overview Prere

SAS Software 30 Dec 14, 2022
Some examples regarding how to use the Twitter APIs for academic research

Twitter Developer Platform: Using Twitter APIs for Academic Research All the scripts require a config.ini file in which the keys are put. There is a t

Federico Bianchi 6 Feb 13, 2022
Python Bot that attends classes, answers polls, and then again waits for classes to start.

LPU_myclass_Bot LPU_myclass_Bot is a Python bot that waits for class to start, attends class, answers polls, and then again waits for another class to

Saurabh Kumar 6 Apr 07, 2022
Die wichtigsten APIs Deutschlands in einem Python Paket.

Deutschland A python package that gives you easy access to the most valuable datasets of Germany. Installation pip install deutschland Geographic data

Bundesstelle für Open Data 921 Jan 08, 2023
This is a simple Python bot to identify sentiments in tweets

Twitter-Sentiment 👋 Hi There! 📱 This is a simple Python bot to identify sentiments in tweets 👨‍💻 This project was made for study, and pratice. You

Guilherme Silva 1 Oct 28, 2021
Enables you to execute scripts and perform API requests in MikroTik router

HomeAssistant component: MikroTik API The mikrotik_api platform enables you to execute scripts and perform API requests in MikroTik router To enable M

Pavel S 6 Aug 12, 2022
BeeDrive: Open Source Privacy File Transfering System for Teams and Individual Developers

BeeDrive For privacy and convenience purposes, more and more people try to keep data on their own hardwires instead of third-party cloud services such

Xuansheng Wu 8 Oct 31, 2022
A WhatsApp Crashing Tool for Termux

CrashW A WhatsApp Crashing Tool For Termux Users Installing : apt update && apt upgrade -y pkg install python3 pkg install git git clone git://gith

Gokul Mahato 20 Dec 27, 2022
Online Marketplace API

Online Marketplace API Table of Contents Setup Instructions Documentation Setup instructions Make sure you have python installed Clone the repository

Kanat 3 Jul 13, 2022
A file-based quote bot written in Python

Let's Write a Python Quote Bot! This repository will get you started with building a quote bot in Python. It's meant to be used along with the Learnin

1 Jan 19, 2022
Posts word definitions on Twitter daily

Word Of The Day bot Post daily word definitions on social media. Twitter account: https://twitter.com/WordOfTheDay_B Introduction The goal of this pro

Lucas Rijllart 1 Jan 08, 2022
Easy to use Google Pub/Sub

Relé makes integration with Google PubSub straightforward and easy. Motivation and Features The Publish-Subscribe pattern and specifically the Google

Mercadona 188 Jan 06, 2023
A code that can make your 5 accounts stay 24/7 in a discord voice channel!

Voicecord A code that can make your 5 accounts stay 24/7 in a discord voice channel! Usage ・Fork the repo ・Clone it to replit ・Install the required pa

DraKenCodeZ 3 Jan 09, 2022
An App to get Ko-Fi payment updates on Telegram.

Deployments. Heroku.com 🚀 Replit.com 🌀 Make sure your app runs 24*7 Zeet.co 💪 Use this :~ Get Bot token from @botfather 🤖 Get ID where you want to

Jainam Oswal 16 Nov 12, 2022
Slam Mirror Bot is a multipurpose Telegram Bot written in Python for mirroring files on the Internet to our beloved Google Drive.

Slam Mirror Bot is a multipurpose Telegram Bot written in Python for mirroring files on the Internet to our beloved Google Drive.

Abinash939 1 Oct 10, 2021
Python implementation for PetitPotam

PetitPotam Coerce NTLM authentication from Windows hosts Installtion $ pip3 install impacket Usage usage: petitpotam.py [-h] [-debug] [-port [destinat

Oliver Lyak 137 Dec 28, 2022
Export Statistics for a Telegram Group Chat

Telegram Statistics Export Statistics for a Telegram Group Chat How to Run First, in main repo directory, run the following code to add src to your PY

Ali Hejazizo 22 Dec 05, 2022
Python wrapper for Gmailnator

Python wrapper for Gmailnator

h0nda 11 Mar 19, 2022
HASOKI DDOS TOOL- powerful DDoS toolkit for penetration tests

DDoS Attack Panel includes CloudFlare Bypass (UAM, CAPTCHA, GS ,VS ,BFM, etc..) This is open source code. I am not responsible if you use it for malic

Rebyc 1 Dec 02, 2022
WBMS automates sending of message to multiple numbers via WhatsApp Web

WhatsApp Bulk Message Sender - WBMS WBMS automates sending of message to multiple numbers via WhatsApp Web. Report Bug · Request Feature Love the proj

Akshay Parakh 3 Jun 26, 2022