New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

discord-bot-send

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-bot-send

```js const Bot = require("discord-bot-send"), bot = new Bot("YOUR_BOT_TOKEN"); // embed is also optional.. but you need to have either the content or embed filled out.. bot.send("channelID", { content: optional_content,

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Getting Started

Example Code

const Bot = require("discord-bot-send"),
      bot = new Bot("YOUR_BOT_TOKEN");
      // embed is also optional.. but you need to have either the content  or embed filled out.. 
      bot.send("channelID", {
          content: optional_content, 
          embed: {
              title: "Test!"
          }
      })
      .then(console.log).catch(console.log) // This will log the response back from the send message or the error that the bot got while trying to send to the channel you provided.

Why even make this?

Well I was bored and found it interesting I guess. 🤷‍♀️

Keywords

FAQs

Package last updated on 06 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc