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
Bot playing "mathbattle" game from Telegram messenger

mathbattlebot Bot playing mathbattle game from Telegram messenger Installing: run in command line pip3 install -r requirements.txt Running: Example c

Egor 1 May 30, 2022
Date Time Userbot With Python

DATE_TIME_USERBOT An Telegram Bot By @Pythone_3 Config Vars API_ID : Telegram API_ID, get it from my.telegram.org/apps API_HASH : Telegram API_ID, get

Sinzz-sinan-m 2 Oct 20, 2021
Pixiv 爬虫,使用 Python 实现。支持批量下载、上传到图床。

用 Python 实现的 Pixiv 爬虫,支持批量下载和上传。 随机图片 API: https://loliapi.ml/ Deploy Github Action 集成部署 建议使用本方法部署,相较于本地部署,无需搭建环境,全程在线上完成。并且使用国外服务器下载、上传,网络更加通畅。 Fork

18 Feb 26, 2022
Telegram bot for downloading covid-19 vaccine certificate

cowin-certificate-bot This is the source code of @cowincertbot, A telegram bot inspired by the whatsapp bot implementation of indian government for co

ArUn Pt 30 Oct 07, 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 15, 2022
The bot I used to win a 3d printing filament giveaway.

Instagram-CommentBot-For-Giveaways This is the bot I used to win a 3d printer filament giveaway on Instagram. Usually giveaways require you to tag oth

Esad Yusuf Atik 1 Aug 01, 2022
OpenSource bot for control groups ...

⭕️ کمک به افراد برای اداره هرچه فان تره گروه 📟 همه گروه های بزرگ نیاز به یه بات خفن دارن تا از گروه مراقبت کنه این بات کارش همینه سعی کرده فیچر خیلی

Mehran Alam Beigi 2 Nov 26, 2021
A bot can be used to broadcast your messages ( Text & Media ) to the Subscribers

Broadcast Bot A Telegram bot to send messages and medias to the subscribers directly through bot. Authorized users of the bot can send messages (Texts

Shabin-k 8 Oct 21, 2022
Python Library for Accessing the Cohere API

Cohere Python SDK This package provides functionality developed to simplify interfacing with the Cohere API in Python 3. Documentation See the API's d

cohere.ai 42 Jan 03, 2023
an OSU! bot sdk based on IRC

osu-bot-sdk an OSU! bot sdk based on IRC Start! The following is an example of event triggering import osu_irc_sdk from osu_irc_sdk import models bot

chinosk 2 Dec 16, 2021
Passive income method via SerpClix. Uses a bot to accept clicks.

SerpClixBotSearcher This bot allows you to get passive income from SerpClix. Each click is usually $0.10 (sometimes $0.05 if offer isnt from the US).

Jason Mei 3 Sep 01, 2021
Remedy when Amazon ECR is not running basic scans for container CVEs.

Welcome to your CDK Python project! This is a blank project for Python development with CDK. The cdk.json file tells the CDK Toolkit how to execute yo

4n6ir 4 Nov 05, 2022
A bot to playing music in telegram vcg

Idzeroid Music|| Idzeroid Music adalah sebuah repository music bot telegram untuk memainkan suara di voice chat group anda. Fyi This repo im using for

idzeroid 1 Oct 26, 2021
A tool for creating credentials for accessing S3 buckets

s3-credentials A tool for creating credentials for accessing S3 buckets For project background, see s3-credentials: a tool for creating credentials fo

Simon Willison 138 Jan 06, 2023
Bitcoin-chance-wheel - Try your luck at getting bitcoins

Program Features - ✍️ Why did we name this tool the Lucky Wheel? - ✍️ This tool

hack4lx 20 Dec 22, 2022
PepeSniper is an open-source Discord Nitro auto claimer/redeemer made in python.

PepeSniper is an open-source Discord Nitro auto claimer made in python. It sure as hell is not the fastest sniper out there but it gets the job done in a timely and stable manner. It also supports ho

Unknown User 1 Dec 22, 2021
A Discord Bot that tracks and displays cryptocurrencies using the CoinMarketCap API

PyBo - A Crypto Inspired Discord Bot Pybo (paɪ boʊ) is a Discord bot that utilizes the discord.py API wrapper to run the bot. Pybo also integrates the

0 Nov 17, 2022
Telegram bot to download tiktok video/audio

TikTokDL (Bot) Telegram RoBot to Download Tiktok video/audio. Features: 👉 Download TikTok Video without Watermark 👉 Download TikTok Video with Water

X-Noid 23 Nov 21, 2022
Techie Sneh 19 Dec 03, 2021