
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
discordjs-activity
Advanced tools
An simple package to create an Activity in Discord Voice Channel using Discord.js v12
An simple package to create an Activity in Discord Voice Channel using Discord.js
npm install discordjs-activity
# (or)
yarn add discordjs-activity
const { Client } = require("discord.js")//Importing client
const client = new Client()//creating a new discord.js client
require("discordjs-activity")(client)//Importing this package and initiating it with the client
require("discordjs-activity")//Import first
const { Client } = require("discord.js")
const client = new Client()
client.on("message", async (message) => {
if(message.author.bot)return
if(message.content === "youtube"){
let VoiceChannel = client.channels.cache.get("Voice Channel ID")//Voice Channel ID
let Invite = await VoiceChannel.activityInvite("youtube_together")//Application Name [youtube_together, fishington, chess_in_the_park, betrayal, poker_night, chess_in_the_park_dev]
if(Invite) {
message.channel.send("https://discord.com/invite/"+Invite.code)// send's invite link in the channel
}
}
})
client.login("Super secret token")
All of our Examples and activites are in examples.js If you have any other problems/questions, you can join our Support Server!
Application Name: poker_night
Client ID: 755827207812677713
Application Name: betrayal
Client ID: 880218394199220334
Application Name: youtube_together
Client ID: 755600276941176913
Application Name: watch_together_dev
Client ID: 880218832743055411
Application Name: fishington
Client ID: 814288819477020702
Application Name: chess_in_the_park
Client ID: 832012774040141894
Application Name: chess_in_the_park_dev
Client ID: 832012586023256104
Application Name: doodlecrew
Client ID: 878067389634314250
Application Name: wordsnacks
Client ID: 879863976006127627
Application Name: lettertile
Client ID: 879863686565621790
Even more coming soon in future
FAQs
An simple package to create an Activity in Discord Voice Channel using Discord.js v12
The npm package discordjs-activity receives a total of 295 weekly downloads. As such, discordjs-activity popularity was classified as not popular.
We found that discordjs-activity 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.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.