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
Tomli is a Python library for parsing TOML

Tomli A lil' TOML parser Table of Contents generated with mdformat-toc Intro Installation Usage Parse a TOML string Parse a TOML file Handle invalid T

Taneli Hukkinen 315 Jan 04, 2023
Bot per la chat live del corso di sistemi operativi UniBO

cravattaBot TL;DR: Ho fatto un bot telegram per la chat del corso di sistemi. Indice Installazione e prerequisiti Prerequisiti Installazione Setup Con

Alessandro Frau 3 May 21, 2022
Bitcoin tracker hecho con python.

Bitcoin Tracker Precio del Bitcoin en tiempo real. Script simple hecho con python. Rollercoin RollerCoin es un juego en el que puedes ganar bitcoin (y

biyivi 3 Jan 04, 2022
Aria & Qbittorent Mirror Bot

Eunha Mirror Eunha Mirror is a multipurpose Telegram Bot writen in Python for mirroring files on the Internet to our beloved Google Drive. Features su

ovin 158 Dec 19, 2022
Randomly selects two teams based on who is in a voice channel on Discord

TeamPickerDiscordBot Randomly selects two teams based on who is in a voice channel on Discord What I Learned The ins and outs of Python as this was my

Brecken Enneking 2 Jan 27, 2022
Want to get your driver's license? Can't get a appointment because of COVID? Well I got a solution for you.

NJDMV-appoitment-alert Want to get your driver's license? Can't get a appointment because of COVID? Well I got a solution for you. We'll get you one i

Harris Spahic 3 Feb 04, 2022
:globe_with_meridians: A Python wrapper for the Geocodio geolocation service API

Py-Geocodio Python wrapper for Geocodio geocoding API. Full documentation on Read the Docs. If you are upgrading from a version prior to 0.2.0 please

Ben Lopatin 84 Aug 02, 2022
Asynchronous multi-platform robot framework written in Python

NoneBot ✨ 跨平台 Python 异步机器人框架 ✨ 文档 · 安装 · 开始使用 · 文档打不开? 简介 NoneBot2 是一个现代、跨平台、可扩展的 Python 聊天机器人框架,它基于 Python 的类型注解和异步特性,能够为你的需求实现提供便捷灵活的支持。

NoneBot 3.1k Jan 04, 2023
Read API docs offline, CLI, supports DevDocs.io compatible JSON files

Read API docs offline, CLI, supports DevDocs.io compatible JSON files

Tero Karvinen 3 Oct 18, 2022
This repository contains free labs for setting up an entire workflow and DevOps environment from a real-world perspective in AWS

DevOps-The-Hard-Way-AWS This tutorial contains a full, real-world solution for setting up an environment that is using DevOps technologies and practic

Mike Levan 1.6k Jan 05, 2023
Polar devices Python API and CLI.

loophole - Polar devices API About Python API for Polar devices. Command line interface included. Tested with: A360 Loop M400 Installation pip install

[roscoe] 145 Sep 14, 2022
This program is an automated trading bot that uses TDAmeritrades Thinkorswim trading platform's scanners and alerts system.

Python Trading Bot w/ Thinkorswim Description This program is an automated trading bot that uses TDAmeritrades Thinkorswim trading platform's scanners

Trey Thomas 201 Jan 03, 2023
Reads and prints information from the website MalAPI.io

MalAPIReader Reads and prints information from the website MalAPI.io optional arguments:

Squiblydoo 16 Nov 10, 2022
Python bindings for Alexa Web Information Service (AWIS) API

Attention! This package is no longer maintained. See this ticket for more info. Wraps Alexa Web Information Service. Usage Making UrlInfo requests: ap

Atamert Ölçgen 51 Feb 12, 2022
🤖 A discord bot for Dota2 community

BOTA BOT-A is a free Discord Dota 2 bot which provides comprehensive Information of every Dota 2 characters and exciting features for the community. P

Bendang 23 Jun 29, 2022
Python SDK for Thepeer

Python SDK for Thepeer

Oluwafemi Tairu 2 Dec 22, 2021
A group management bot written in python3 using the python-telegram-bot library.

Chika Fujiwara A modular telegram Python bot running on python3 with an sqlalchemy database. Originally a Marie fork, Chika was created for personal u

Wahyusaputra 3 Feb 12, 2022
A telegram bot to download mega.nz links. (made with pyrogram).

Mega Link Downloader Bot This is a telegram bot to download mega.nz links and return them as files/videos - Made by a 100% noob! (When I mean noob I r

171 Dec 27, 2022
Please Do Not Throw Sausage Pizza Away - Side Scrolling Up The OSI Stack

Please Do Not Throw Sausage Pizza Away - Side Scrolling Up The OSI Stack

John Capobianco 2 Jan 25, 2022
Programmeertheorie 2022 - Team Trainspotters - RailNL

Trainspotters Vak: Programmeertheorie 2022 Gekozen case: RailNL Teamnaam: Trainspotters Studenten: Mijntje Meijer, Sam Bijhouwer, Maik Larooij To-do's

Maik Larooij 1 Jan 25, 2022