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
google-resumable-media Apache-2google-resumable-media (🥉28 · ⭐ 27) - Utilities for Google Media Downloads and Resumable.. Apache-2

google-resumable-media Utilities for Google Media Downloads and Resumable Uploads See the docs for examples and usage. Experimental asyncio Support Wh

Google APIs 36 Nov 22, 2022
Force-Subscribe-Bot - A Telegram Bot to force users to join a specific channel before sending messages in a group

Introduction A Telegram Bot to force users to join a specific channel before sen

LG Bot Updates 0 Jan 16, 2022
A Telegram bot to download youtube playlists and upload them to telegram. (may be slow becoz youtube limitations)

YTPlaylistDL ?? A Telegram bot to download youtube playlists and upload them to telegram. (may be slow becoz youtube limitations) ?? Follow me and sta

Anjana Madu 43 Dec 28, 2022
Pogodasbot - Telegram bot sending channel weather info

Pogodasbot - Telegram bot sending channel weather info

Qayrat Sultan 1 Dec 15, 2022
A script to forward mass number of media to another group/channel. Heroku deploy

Telegram Forward Script ?? This is a Script to Forward Large Number of Files to Another Telegram Channel. Star එකක් දාල fork එකක් ගහපියව් ?? If You Tr

Anjana Madu 17 Oct 21, 2022
It connects to Telegram's API. It generates JSON files containing channel's data, including channel's information and posts.

It connects to Telegram's API. It generates JSON files containing channel's data, including channel's information and posts. You can search for a specific channel, or a set of channels provided in a text file (one channel per line.)

Esteban Ponce de Leon 75 Jan 2, 2023
A Script to automate fowarding all new messages from one/many channel(s) to another channel(s), without the forwarded tag.

Channel Auto Message Forward A script to automate fowarding all new messages from one/many channel(s) to another channel(s), without the forwarded tag

null 16 Oct 21, 2022
A Script to automate fowarding all new messages from one/many channel(s) to another channel(s), without the forwarded tag.

Channel Auto Message Post A script to automate fowarding all new messages from one/many channel(s) to another channel(s), without the forwarded tag. C

null 16 Oct 21, 2022
A simple Telegram bot that can add caption to any media on your channel

Channel Auto Caption This bot can add a caption for any media/document sent to a channel. Just deploy bot and add bot as admin to a channel. Deploy to

null 22 Nov 14, 2022
A Bot To Get Info Of Telegram messages , Media , Channel id Group ID etc.

Info-Bot A Bot To Get Info Of Telegram messages , Media , Channel id Group ID etc. Get Info Of Your And Messages , Channels , Groups ETC... How to mak

Vɪᴠᴇᴋ 23 Nov 12, 2022