DMall is a simple discord.js bot that DM all the users from a server.
Originally created with <3 by Ituriel.
This is the original source code, make sure you follow the licence when you're using it.
THIS PROGRAM IS FOR EDUCATIONAL PURPOSES ONLY. IT IS EXPLOITING DISCORD API.
Before editing this source code, in order to follow GPL license, make sure to fork it and mention that it is open source please.
Requirements
- node.js
- npm
Setup
- clone this repository / download it
- run
npm i
to install the required dependencies - edit
config.js
with your token and prefix - run
node index.js
:D
The bot is creating an array which contains all the GuildMember
objects. Then it scrapes the user ID of each GuildMember
object, and sends a private message to it.
Pretty simple :p
Note that the bot needs admin permissions to work the right way. If you face bugs, check your server permssions before opening github issues please <3