Giter Site home page Giter Site logo

alexlyee / massdm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from discordsmh/massdm

42.0 8.0 139.0 8.79 MB

MassDM v3, a bot to send mass DMs to members of your Discord server.

License: Apache License 2.0

JavaScript 80.93% Batchfile 19.07%
discord bot massdm server

massdm's Introduction

massdm

Build Status Build status Number of Dependencies DevDependencies Known Vulnerabilities JavaScript Style Guide: Good Parts Inline docs codecov GitHub repo size Version

HitCount Discord Contributions Welcome! :) Consider donating


Use this tool at your own risk!

You will need one thing installed to make this bot work. If you're on Windows, simply run install_dep.bat. It can get the prerequisite program for you, and get the libraries needed for this bot to run! To get these libraries after installing node.js on an OS other than windows (if you are installing manually), simply open up a terminal in the bot folder and type "npm install -d" without the quotes.

Open config.json in your code editor and edit the token with your bot token. [or remove the "REM" and replate "YOUR TOKEN" in start.bat]

  • Additionally, you can change the prefix, modify the ID of the user who will control the bot, and the [randomized] delay between each send. If you increase this delay, you will be more safe, decrease it at your own risk. Once you have that done, save the file. Of course, you must properly configure the permissions of the bot. Give it administrative-level permissions in your server.

Once you have completed all of the above, you may run start.bat.

If you are not running Windows, you need to open a terminal in the bot folder and type "node app.js" without quotes. If you are running into problems and are unsure whether or not it is a bug, please reference tutorials on how to use Discord bots BEFORE reaching out, because I've been contacted for the same few usage errors countless times.

Ideas for development:

  • customize bot status
  • further permissions checks

-- Sincerely,
Alex

GitHub Twitter

massdm's People

Contributors

snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

massdm's Issues

Error dmall

An error occurred while running the command: ReferenceError: Permissions is not defined

Issue with permission or with dmall command

When I try to use the bot and write this command
mass! dmall Hello Everyone

I saw this error in the channel

@🎈Feh 鬼, An error occurred while running the command: ReferenceError: Permissions is not defined
You shouldn't ever receive an error like this.
Please contact :balloon:Feh 鬼#5999.```

Doesnt work!

gives me this error:
(node:11636) DeprecationWarning: Collection#filterArray: use Collection#filter instead
and after that only dms 4 people,It says
sending all 4 members (server name)
i tried it in mine,my friends,and an another server from me and none of them worked

Rate limit

Hey
when you start dmall at large servers(+1000 guild members), after reaching to 1000 users, it will be disconnected and token has been reset...

any solution?

I can´t DM

When I use the commands dmonline and dmrole an error appears:
An error occurred while running the command: ReferenceError: Permissions is not defined
You shouldn't ever receive an error like this.

What I have to do?
The bot has all the permissions on the server.

dmonline Doesn't Work

If I type 'mass!dmonline BOT TEST'
It says:
"An error occurred while running the command: TypeError: Cannot read property 'length' of undefined"
"You shouldn't ever receive an error like this."
"you did not enter any input!"

bot sends the MS Time as #NUMBER

for example when I mass!dmall text;

I see the message like;

text
#7963

and on the console is like;

Waited: 7963ms. DMing BLABLA

how can I delete that timer

It only sends messages to me and itself helpp

i just hop in a test server with 10 people and they are all online and i get this in console whats wrong?

Responding to mertcan : Sending message to all 2 members of Test server.
(node:120) DeprecationWarning: Collection#filterArray: use Collection#filter instead
Waited 76ms. |1| DMing mertcan
Waited 112ms. / DMing lol
Sent 2 messages successfully, 0 bots were skipped.
Unhandled promise rejection: DiscordAPIError: Cannot send messages to this user
at C:\Users\Mertcan\Desktop\SADSA\node_modules\discord.js\src\client\rest\RequestHandlers\Sequential.js:79:15
at C:\Users\Mertcan\Desktop\SADSA\node_modules\snekfetch\src\index.js:215:21
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
name: 'DiscordAPIError',
message: 'Cannot send messages to this user',
path: '/api/v7/users/555063767667310613/channels',
code: 50007,
method: 'POST'

Only Sees 16 People

When i put in my user token, it only sees 16 users and there are 117, why is that?

Multiple Issues

Multiple Issues like :

Token getting flagged as spam
Sending additional data (Some #%%%% %- being a number)
Want to add additional whitelisted IDs, or maybe even a role ID

I am willing to pay for a fully featured complete and working bot. Please do contact me.

timeout

the bot auto goes offline after few minutes even when i used the mass dm command after dming 30 people the bot auto goes offline please solve this thanks...
massdm

DMOnline, DMRole not working

DmAll works but role and online doesn't it will say:

@myDiscord, An error occurred while running the command: ReferenceError: Permissions is not defined
You shouldn't ever receive an error like this.
Please contact mydiscord.

auto stooped

after dming 20 people the bot auto paused and says (press any key) after pressing key the start.bat file closed and bot goes offline can u please solve trhis iszsue thanks buddy for such awesome bot

What does this mean?

Unhandled promise rejection: Error: Incorrect login details were provided.
at WebSocketConnection. (/Users/akram/Desktop/massdm-master/node_modules/discord.js/src/client/ClientManager.js:48:41)
at Object.onceWrapper (events.js:422:26)
at WebSocketConnection.emit (events.js:315:20)
at WebSocketConnection.onClose (/Users/akram/Desktop/massdm-master/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:390:10)
at WebSocket.onClose (/Users/akram/Desktop/massdm-master/node_modules/ws/lib/event-target.js:124:16)
at WebSocket.emit (events.js:315:20)
at /Users/akram/Desktop/massdm-master/node_modules/ws/lib/websocket.js:220:12
at Receiver.cleanup (/Users/akram/Desktop/massdm-master/node_modules/ws/lib/receiver.js:535:15)
at WebSocket.finalize (/Users/akram/Desktop/massdm-master/node_modules/ws/lib/websocket.js:206:20)

not show in discord channel

its only showing progress in console log but not in discord channel..need to show progress bar in discord....can u please solve it???

bot doesnt reply

i changed the prefix to !ag and the bot doesnt reply. After running the start.bat it said to type !aghelp and i did but no reply again. can you please help me out

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.