
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
discord.js-together
Advanced tools
A simple package for Discord.JS for creating activities invites.
With NPM
npm install discord.js-together
With yarn
yarn add discord.js-together
Note: This package uses the lastest version of Discord.JS
For creating any invite, you can only do that with VoiceChannel structure, in other words you can't create this invites in StageChannels.
Example coding:
require('discord.js-together') //You have to do that to apply discord.js-together functions.
const { Client } = require('discord.js');
const client = new Client(/*Your options here.*/);
client.on('ready', () => {
const channel = client.channels.cache.get('Your voice channel ID.');
channel.createYoutubeTogetherInvite()
.then(invite => console.log(invite.url));
});
//You also can use this in a message event.
client.on('messageCreate', message => {
message.member.voice.channel.createYoutubeTogetherInvite()
.then(invite => message.reply(invite.url));
});
client.login('Your Discord Bot token here.');
Note: All functions returns a promise with Invite structure.
/**
* Create a youtube together invite.
*
* @param {Object} options - You can pass parameter "dev" for creating a development youtube together,
* all the other options you can find [here](https://discord.js.org/#/docs/main/stable/typedef/CreateInviteOptions)
*/
VoiceChannel.createYoutubeTogetherInvite(options)
/**
* Create a poker invite.
*
* @param {Object} options - Default invite options,
* you can find then [here](https://discord.js.org/#/docs/main/stable/typedef/CreateInviteOptions)
*/
VoiceChannel.createPokerInvite(options)
/**
* Create a betrayal invite.
*
* @param {Object} options - Default invite options,
* you can find then [here](https://discord.js.org/#/docs/main/stable/typedef/CreateInviteOptions)
*/
VoiceChannel.createBetrayalInvite(options)
/**
* Create a fishing invite.
*
* @param {Object} options - Default invite options,
* you can find then [here](https://discord.js.org/#/docs/main/stable/typedef/CreateInviteOptions)
*/
VoiceChannel.createFishingInvite(options)
/**
* Create a chess invite.
* REQUIRES A SERVER BOOST TIER 1 OR UPPER TO CREATE
*
* @param {Object} options - You can pass parameter "dev" for creating a development chess,
* all the other options you can find [here](https://discord.js.org/#/docs/main/stable/typedef/CreateInviteOptions)
*/
VoiceChannel.createChessInvite(options)
/**
* Create a letter tile invite.
*
* @param {Object} options - Default invite options,
* you can find then [here](https://discord.js.org/#/docs/main/stable/typedef/CreateInviteOptions)
*/
VoiceChannel.createLetterTileInvite(options)
/**
* Create a word snack invite.
*
* @param {Object} options - Default invite options,
* you can find then [here](https://discord.js.org/#/docs/main/stable/typedef/CreateInviteOptions)
*/
VoiceChannel.createWordSnackInvite(options)
/**
* Create a doodle crew invite.
*
* @param {Object} options - Default invite options,
* you can find then [here](https://discord.js.org/#/docs/main/stable/typedef/CreateInviteOptions)
*/
VoiceChannel.createDoodleCrewInvite(options)
/**
* Create an awkword invite.
*
* @param {Object} options - Default invite options,
* you can find then [here](https://discord.js.org/#/docs/main/stable/typedef/CreateInviteOptions)
*/
VoiceChannel.createAwkwordInvite(options)
/**
* Create a spell cast invite.
* REQUIRES A SERVER BOOST TIER 1 OR UPPER TO CREATE
*
* @param {Object} options - Default invite options,
* you can find then [here](https://discord.js.org/#/docs/main/stable/typedef/CreateInviteOptions)
*/
VoiceChannel.createSpellCastInvite(options)
/**
* Create a checkers invite.
* REQUIRES A SERVER BOOST TIER 1 OR UPPER TO CREATE
*
* @param {Object} options - Default invite options,
* you can find then [here](https://discord.js.org/#/docs/main/stable/typedef/CreateInviteOptions)
*/
VoiceChannel.createCheckersInvite(options)
/**
* Create a putt party invite.
* REQUIRES A SERVER BOOST TIER 1 OR UPPER TO CREATE
*
* @param {Object} options - Default invite options,
* you can find then [here](https://discord.js.org/#/docs/main/stable/typedef/CreateInviteOptions)
*/
VoiceChannel.createPuttPartyInvite(options)
/**
* Create a sketch heads invite.
*
* @param {Object} options - Default invite options,
* you can find then [here](https://discord.js.org/#/docs/main/stable/typedef/CreateInviteOptions)
*/
VoiceChannel.createSketchHeadsInvite(options)
/**
* Create an ocho invite.
*
* @param {Object} options - Default invite options,
* you can find then [here](https://discord.js.org/#/docs/main/stable/typedef/CreateInviteOptions)
*/
VoiceChannel.createOchoInvite(options)
FAQs
A simple package for creating activities invites.
We found that discord.js-together demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.