{"id":14983212,"url":"https://github.com/remyk888/discord-together","last_synced_at":"2025-04-05T12:04:44.257Z","repository":{"id":40944373,"uuid":"362808177","full_name":"RemyK888/discord-together","owner":"RemyK888","description":"Play games or watch YouTube videos together on Discord ! More than 18 games available !","archived":false,"fork":false,"pushed_at":"2023-03-18T15:56:32.000Z","size":104,"stargazers_count":179,"open_issues_count":2,"forks_count":52,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-05T12:04:39.966Z","etag":null,"topics":["bot","discord","discord-activity","discord-activity-bot","discord-bot","discord-js","discord-together","discord-youtube-together","youtube-together"],"latest_commit_sha":null,"homepage":"","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/RemyK888.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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},"funding":{"custom":"https://www.remyk.net/","patreon":"foxcord"}},"created_at":"2021-04-29T12:23:02.000Z","updated_at":"2025-03-31T14:05:07.000Z","dependencies_parsed_at":"2024-06-18T13:40:43.988Z","dependency_job_id":"ac10fa1b-f60c-4e76-ab76-d822a0ebd4c8","html_url":"https://github.com/RemyK888/discord-together","commit_stats":{"total_commits":68,"total_committers":2,"mean_commits":34.0,"dds":0.05882352941176472,"last_synced_commit":"f2b3f323e821536c2748086d248cc001ed9f1d0f"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RemyK888%2Fdiscord-together","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RemyK888%2Fdiscord-together/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RemyK888%2Fdiscord-together/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RemyK888%2Fdiscord-together/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RemyK888","download_url":"https://codeload.github.com/RemyK888/discord-together/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332602,"owners_count":20921853,"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":["bot","discord","discord-activity","discord-activity-bot","discord-bot","discord-js","discord-together","discord-youtube-together","youtube-together"],"created_at":"2024-09-24T14:06:54.562Z","updated_at":"2025-04-05T12:04:44.224Z","avatar_url":"https://github.com/RemyK888.png","language":"JavaScript","funding_links":["https://www.remyk.net/","https://patreon.com/foxcord"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\r\n\u003ch1\u003e\u003cstrong\u003eDiscord Together\u003c/strong\u003e\u003c/h1\u003e\r\n\r\n[![NPM](https://nodei.co/npm/discord-together.png)](https://nodei.co/npm/discord-together/)\r\n\r\n[![forthebadge](https://forthebadge.com/images/badges/made-with-javascript.svg)](https://forthebadge.com)\r\n\r\n![DL](https://img.shields.io/npm/dt/discord-together?style=for-the-badge)\r\n\u003c/p\u003e\r\n\r\n# 🔩 Installation\r\n## Install [discord-together](https://www.npmjs.com/package/discord-together)\r\n```\r\n$ npm install discord-together@latest\r\n```\r\n\r\n## Install [discord.js](https://www.npmjs.com/package/discord.js)\r\n```\r\n$ npm install discord.js@latest\r\n```\r\n*Note: supports all versions of Discord.js*\r\n\r\n# 🔑 Features\r\n- Easy to use\r\n- Multiple server\r\n- Discord support\r\n- Lightweight\r\n- Works with all DJS versions\r\n- 22+ games available\r\n\r\n\u003cbr/\u003e\r\n\r\n# 💻 Code example\r\nThis is a simple example of code using this package.\r\n\r\n```js\r\nconst Discord = require('discord.js');\r\nconst client = new Discord.Client({ intents: [Discord.Intents.FLAGS.GUILDS, Discord.Intents.FLAGS.GUILD_MESSAGES] });\r\nconst { DiscordTogether } = require('discord-together');\r\n\r\nclient.discordTogether = new DiscordTogether(client);\r\n\r\nclient.on('messageCreate', async message =\u003e {\r\n    if (message.content === 'start') {\r\n        if(message.member.voice.channel) {\r\n            client.discordTogether.createTogetherCode(message.member.voice.channel.id, 'sketchheads').then(async invite =\u003e {\r\n                return message.channel.send(`${invite.code}`);\r\n            });\r\n        };\r\n    };\r\n});\r\n\r\nclient.login('your Discord bot token');\r\n```\r\n\u003cbr/\u003e\r\n\r\n# 🔧 Options\r\n- Youtube\r\n```js\r\nclient.discordTogether.createTogetherCode(message.member.voice.channel.id, 'youtube').then(async invite =\u003e {\r\n    return message.channel.send(`${invite.code}`);\r\n});\r\n```\r\nYou can also choose the development version of YouTube, use: `youtubeDev`.\r\n\r\n- Poker\r\n```js\r\nclient.discordTogether.createTogetherCode(message.member.voice.channel.id, 'poker').then(async invite =\u003e {\r\n    return message.channel.send(`${invite.code}`);\r\n});\r\n```\r\n\r\n- Chess\r\n```js\r\nclient.discordTogether.createTogetherCode(message.member.voice.channel.id, 'chess').then(async invite =\u003e {\r\n    return message.channel.send(`${invite.code}`);\r\n});\r\n``` \r\n*Or Checkers in the Park*\r\n```js\r\nclient.discordTogether.createTogetherCode(message.member.voice.channel.id, 'checkers').then(async invite =\u003e {\r\n    return message.channel.send(`${invite.code}`);\r\n});\r\n```\r\nYou can also choose the development version of chess, use: `chessDev`.\r\n\r\n- Betrayal\r\n```js\r\nclient.discordTogether.createTogetherCode(message.member.voice.channel.id, 'betrayal').then(async invite =\u003e {\r\n    return message.channel.send(`${invite.code}`);\r\n});\r\n```\r\n\r\n- Fishington\r\n```js\r\nclient.discordTogether.createTogetherCode(message.member.voice.channel.id, 'fishing').then(async invite =\u003e {\r\n    return message.channel.send(`${invite.code}`);\r\n});\r\n```\r\n\r\n- Letter Tile\r\n```js\r\nclient.discordTogether.createTogetherCode(message.member.voice.channel.id, 'lettertile').then(async invite =\u003e {\r\n    return message.channel.send(`${invite.code}`);\r\n});\r\n```\r\n\r\n- Words Snack\r\n```js\r\nclient.discordTogether.createTogetherCode(message.member.voice.channel.id, 'wordsnack').then(async invite =\u003e {\r\n    return message.channel.send(`${invite.code}`);\r\n});\r\n```\r\n\r\n- Doodle Crew\r\n```js\r\nclient.discordTogether.createTogetherCode(message.member.voice.channel.id, 'doodlecrew').then(async invite =\u003e {\r\n    return message.channel.send(`${invite.code}`);\r\n});\r\n```\r\n\r\n- SpellCast\r\n```js\r\nclient.discordTogether.createTogetherCode(message.member.voice.channel.id, 'spellcast').then(async invite =\u003e {\r\n    return message.channel.send(`${invite.code}`);\r\n});\r\n```\r\n\r\n- Awkword\r\n```js\r\nclient.discordTogether.createTogetherCode(message.member.voice.channel.id, 'awkword').then(async invite =\u003e {\r\n    return message.channel.send(`${invite.code}`);\r\n});\r\n```\r\n\r\n- Puttparty\r\n```js\r\nclient.discordTogether.createTogetherCode(message.member.voice.channel.id, 'puttparty').then(async invite =\u003e {\r\n    return message.channel.send(`${invite.code}`);\r\n});\r\n```\r\n\r\n- Sketchheads\r\n```js\r\nclient.discordTogether.createTogetherCode(message.member.voice.channel.id, 'sketchheads').then(async invite =\u003e {\r\n    return message.channel.send(`${invite.code}`);\r\n});\r\n```\r\n\r\n- Ocho\r\n```js\r\nclient.discordTogether.createTogetherCode(message.member.voice.channel.id, 'ocho').then(async invite =\u003e {\r\n    return message.channel.send(`${invite.code}`);\r\n});\r\n```\r\n\r\n# 🔨 All available games\r\n - `youtube`\r\n - `youtubedev`\r\n - `poker`\r\n - `betrayal`\r\n - `fishing`\r\n - `chess`\r\n - `chessdev`\r\n - `lettertile`\r\n - `wordsnack`\r\n - `doodlecrew`\r\n - `awkword`\r\n - `spellcast`\r\n - `checkers`\r\n - `puttparty`\r\n - `sketchheads`\r\n - `ocho`\r\n - `puttpartyqa`\r\n - `sketchyartist`\r\n - `land`\r\n - `meme`\r\n - `askaway`\r\n - `bobble`\r\n\r\n\r\n# 📷 Image \r\n\r\n![Invite link](https://media.discordapp.net/attachments/835896457454026802/837968506846183474/2021-05-01_10h26_17.png)\r\n\r\n### *Note: you have to click on the BLUE LINK, not the 'Play' button, in order to start the activity !*\r\n\r\n\u003cbr/\u003e\r\n\r\n![YouTube Together](https://media.discordapp.net/attachments/835896457454026802/837968510843093033/2021-05-01_10h27_31.png?width=1229\u0026height=676)\r\n\r\n\u003cbr/\u003e\r\n\r\n# 🌌 Example of bots made with Discord Together\r\n- [Discord Together Bot](https://github.com/RemyK888/discord-together-bot) by [RemyK](https://github.com/RemyK888)\r\n- [Lambdapse](https://github.com/lambdagit101/lambdapse) by [Lambdaguy101](https://github.com/lambdagit101)\r\n\r\n# 🚀 Others\r\n\r\n### **Thanks a lot to [3chospirits](https://github.com/3chospirits) who made the typescript declaration file !**\r\n\r\n*I would also like to thank all the amazing members of my server who are helping to make this project happen !*\r\n\r\n**This package is under MIT license.**\r\n\r\n*Note: This package is not affiliated with Discord Inc. or YouTube Inc.*\r\n\r\nIf you have any problems, you can contact: `RemyK#3876`.\r\n**Discord server:** [Server Link](https://discord.gg/GK8jFXkybz)\r\n\r\n[**Github repository**](https://github.com/RemyK888/discord-together)\r\n\r\n\u003chr\u003e\r\n\r\n## **Made with ❤ by RemyK**\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremyk888%2Fdiscord-together","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremyk888%2Fdiscord-together","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremyk888%2Fdiscord-together/lists"}