New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

asunyan-sendmessage

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asunyan-sendmessage

Small module to send messages to a specific channel with discord.js

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

asunyan-sendmessage

A simple module to send messages with discord.js to a specified channel in a specified guild.

Install

$ npm install asunyan-sendmessage

Usage

const { sendMessage } = require('asunyan-sendmessage');

const message = await sendMessage(client, guildId, channelId, data).catch((err) => console.error(err));

data can be either a string or any message create options. Example:

const message = await sendMessage(client, guildId, channelId, { embeds: [embed] }).catch((err) => console.error(err));

Keywords

send-messages

FAQs

Package last updated on 10 Nov 2025

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