{"id":16620297,"url":"https://github.com/sudhanplayz/discordjs-activity","last_synced_at":"2025-05-08T17:21:57.252Z","repository":{"id":42008523,"uuid":"373388908","full_name":"SudhanPlayz/discordjs-activity","owner":"SudhanPlayz","description":"An simple package to create an Activity in Discord Voice Channel using Discord.js","archived":false,"fork":false,"pushed_at":"2024-02-24T08:28:18.000Z","size":48,"stargazers_count":59,"open_issues_count":5,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-30T03:48:08.999Z","etag":null,"topics":["activity","discord","discordjs","npm","package"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/discordjs-activity","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SudhanPlayz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-03T05:15:33.000Z","updated_at":"2024-10-22T12:15:35.000Z","dependencies_parsed_at":"2024-02-24T09:28:18.632Z","dependency_job_id":null,"html_url":"https://github.com/SudhanPlayz/discordjs-activity","commit_stats":{"total_commits":43,"total_committers":11,"mean_commits":3.909090909090909,"dds":0.5581395348837209,"last_synced_commit":"1ba361a84bf104ae50dca04ba5f45f40da62db86"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SudhanPlayz%2Fdiscordjs-activity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SudhanPlayz%2Fdiscordjs-activity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SudhanPlayz%2Fdiscordjs-activity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SudhanPlayz%2Fdiscordjs-activity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SudhanPlayz","download_url":"https://codeload.github.com/SudhanPlayz/discordjs-activity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253112364,"owners_count":21856124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["activity","discord","discordjs","npm","package"],"created_at":"2024-10-12T02:43:56.300Z","updated_at":"2025-05-08T17:21:57.232Z","avatar_url":"https://github.com/SudhanPlayz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003ediscordjs-activity\u003c/h1\u003e\n  \u003cp\u003eAn simple package to create an Activity in Discord Voice Channel using Discord.js\u003c/p\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://www.npmjs.com/package/discordjs-activity\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/discordjs-activity?maxAge=3600\" alt=\"NPM version\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/discordjs-activity\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/discordjs-activity?maxAge=3600\" alt=\"NPM downloads\" /\u003e\u003c/a\u003e\n  \u003c/p\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://www.npmjs.com/package/discordjs-activity\"\u003e\u003cimg src=\"https://nodei.co/npm/discordjs-activity.png?downloads=true\u0026stars=true\" alt=\"NPM Banner\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://media.discordapp.net/attachments/749254970003423345/849884191474057237/YPNTiGwhTl0AAAAASUVORK5CYII.png\"\u003e\n  \u003cbr\u003e\n\u003c/div\u003e\n\n## 📂 | Installation\n```sh\nnpm install discordjs-activity\n# (or)\nyarn add discordjs-activity\n```\n\n## 📜 | Setup\n```js\nconst { Client } = require(\"discord.js\")//Importing client\nconst client = new Client()//creating a new discord.js client\nrequire(\"discordjs-activity\")(client)//Importing this package and initiating it with the client\n```\n\n## ✍ | Examples\n```js\nrequire(\"discordjs-activity\")//Import first\nconst { Client } = require(\"discord.js\")\nconst client = new Client()\n\nclient.on(\"message\", async (message) =\u003e {\n    if(message.author.bot)return\n    if(message.content === \"youtube\"){\n        let VoiceChannel = client.channels.cache.get(\"Voice Channel ID\")//Voice Channel ID\n        let Invite = await VoiceChannel.activityInvite(\"youtube_together\")//Application Name [youtube_together, fishington, chess_in_the_park, betrayal, poker_night, chess_in_the_park_dev]\n        if(Invite) {\n          message.channel.send(\"https://discord.com/invite/\"+Invite.code)// send's invite link in the channel\n        }\n    }\n})\n\nclient.login(\"Super secret token\")\n```\nAll of our Examples and activites are in [examples.js](https://github.com/SudhanPlayz/discordjs-activity/blob/master/example.js)\nIf you have any other problems/questions, you can join our [Support Server!](https://discord.gg/sbySMS7m3v)\n\n## ✨ | Application Info\n### Poker Night\nApplication Name: `poker_night`\n\nClient ID: `755827207812677713`\n![](https://cdn.discordapp.com/attachments/749254970003423345/849889747794657290/unknown.png)\n### Betrayal.io\nApplication Name: `betrayal`\n\nClient ID: `880218394199220334`\n![](https://media.discordapp.net/attachments/749254970003423345/849891725144752178/unknown.png)\n### YouTube Together\nApplication Name: `youtube_together`\n\nClient ID: `755600276941176913`\n![](https://media.discordapp.net/attachments/749254970003423345/849889254327058442/unknown.png)\n### Watch Together Dev\nApplication Name: `watch_together_dev`\n\nClient ID: `880218832743055411`\n![](https://cdn.discordapp.com/attachments/859074807132192769/891890625153224755/unknown.png)\n### Fishington.io\nApplication Name: `fishington`\n\nClient ID: `814288819477020702`\n![](https://cdn.discordapp.com/attachments/749254970003423345/849892686160592937/unknown.png)\n### Chess in the Park\nApplication Name: `chess_in_the_park`\n\nClient ID: `832012774040141894`\n![](https://cdn.discordapp.com/attachments/792153217344995368/872214312163377182/unknown.png)\n### Chess in the Park Development\nApplication Name: `chess_in_the_park_dev`\n\nClient ID: `832012586023256104`\n![](https://cdn.discordapp.com/attachments/792153217344995368/872215200147832902/unknown.png)\n### Doodle Crew\nApplication Name: `doodlecrew`\n\nClient ID: `878067389634314250`\n![](https://cdn.discordapp.com/attachments/859074807132192769/891888361441210398/unknown.png)\n### Word Snacks\nApplication Name: `wordsnacks`\n\nClient ID: `879863976006127627`\n![](https://cdn.discordapp.com/attachments/859074807132192769/891889448604807209/unknown.png)\n### Letter Tile\nApplication Name: `lettertile`\n\nClient ID: `879863686565621790`\n![](https://cdn.discordapp.com/attachments/859074807132192769/891889864973377546/unknown.png)\n*Even more coming soon in future*\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n## 👥 | Support Server\n\u003cp align=\"center\" style=\"text-align: center;\"\u003e\n  \u003ca href=\"https://youtube.com/CodingWithSudhan?sub_confirmation=1\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/MikeCodesDotNET/ColoredBadges/master/png/streaming/youtube%402x.png\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://discord.gg/sbySMS7m3v\"\u003e\u003cimg src=\"https://discord.com/api/guilds/855346696258060338/widget.png?style=banner2\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudhanplayz%2Fdiscordjs-activity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsudhanplayz%2Fdiscordjs-activity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudhanplayz%2Fdiscordjs-activity/lists"}