Skip to content

invader1234/discord-dm-1.7.2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

159 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord DM Bot

  • discord.py 1.7.2
  • python 3.9.5
  • asyncio 3.4.3

Installation

Local Host - Windows

  • Install Python 3.9
  • During the setup check Install launcher for all users (recommended) and Add Python 3.9 to PATH when prompted.
  • Download Repository Zip & Extract it.
  • Now to Install dependencies - Run install.bat
  • Go to Discord Developers Page > Bot > Add Bot and then toggle Server Members Intent (refer below image), then get bot token
  • Add bot credentials to config.json
  • Then run bot.py
Enabling Server Members Intent

Description

A Bot which messages everyone in a Discord Server, if the member has DM's off or they have blocked the bot, they cannot be messaged


Commands

  • send <message> Sends the message to all the members' DMs.
  • dm <member> <message> Sends the messsage to the mentioned member's DMs.
  • help <optional-command-name> Displays the available commands, you can provide a command name to get more info on the command
  • latency Displays the latency / ping

Note: The bot cannot DM bots, the members who either have their DMs turned off or the members who have blocked the bot.

Features

  • You can turn off the bot logging after each DM in the command send, by setting the log_dms to off or disabled in config.json
  • You can adjust or even remove the delay (delay in between the multiple DMs) according to your will in config.json(in seconds).

Note : The more is the delay, the lesser is the chance of your bot getting rate limited (5msgs - 5s is the rate limit for messages).

Screenshots


Disclaimer

This is tool was made for educational purposes and proof of concepts. I'm not accountable for any unlawful, unprecedented action and any violation of ToS administered by a third party.

Made with Python!

About

A simple Discord DM Bot built with discord.py

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors