Coder Social home page Coder Social logo

x-rubick / discord-massdm-bot Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 3.0 15 KB

A Discord mass DM bot for sending messages to multiple users at once.

License: MIT License

JavaScript 100.00%
bot discord discord-bot discord-js discord-mass discord-mass-dm discord-mass-dm-tool discord-massdm discordjs

discord-massdm-bot's Introduction


Discord Mass DM Bot

This is a simple Discord bot created with JavaScript using the Discord.js library that allows the BOT OWNER to send a message to multiple users through direct messages from a server.

Installation

To install and use the bot, follow these steps:

  1. Clone the repository to your local machine.

  2. Install the dependencies by running the following command in the terminal: npm install

  3. Start the bot by running the following command in the terminal: node index.js

Setting Up

In order to use the bot, you will need to create a config.json file. You can use the example file provided as a base. Your config.json file should look something like this:

{
  "prefix": "$", 
  "token": "YOUR_BOT_TOKEN_HERE",
  "Id": "YOUR_DISCORD_USER_ID_HERE"
}

Make sure to replace YOUR_BOT_TOKEN_HERE with your actual bot token. Additionally, replace YOUR_DISCORD_USER_ID_HERE with your personal Discord user ID, as the $dm command can only be run by the bot owner.

Once you have created the config.json file and added the necessary information, you can run the bot using your preferred programming environment or platform.

Usage

To use the bot, type the prefix followed by the command. The available commands are:

  • $dm <message>: Sends the message that the bot owner executed to all users who are members of the server where the $dm command was executed.

Please note that this command can only be used in a server text channel. It will not work in a DM convo.

Contributing

If you would like to contribute to the project, feel free to submit a pull request or open an issue.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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.