@miudiscord/together
Version:
Play games or watch YouTube videos together on Discord with your friends while being in a call!
157 lines (103 loc) • 4.31 kB
Markdown
<div align="center">
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
<h1><strong>Play Together</strong></h1>
[](https://forthebadge.com)
[](https://npmjs.org/@miudiscord/together)
</div>
# 🔩 Installation
## Install [@miudiscord/together](https://www.npmjs.com/package/@miudiscord/together)
```
$ npm install @miudiscord/together
```
## Install [discord.js](https://www.npmjs.com/package/discord.js)
```
$ npm install discord.js
```
# 🔑 Features
- Easy to use and understand
- Multiple server support
- Discord API support
- Fast
<br/>
# 💻 Code example
- [Javascript Example](https://github.com/miudiscord/together/blob/stable/examples/javascript/JavascriptBot.js)
- [Typescript Example](https://github.com/miudiscord/together/blob/stable/examples/typescript/TypescriptBot.ts)
# 🔧 Options
- Youtube
```js
client.together.generateTogetherCode(message.member.voice.channelID, 'youtube').then(async invite => {
return message.channel.send(`${invite.code}`);
});
```
- Poker
```js
client.together.generateTogetherCode(message.member.voice.channelID, 'poker').then(async invite => {
return message.channel.send(`${invite.code}`);
});
```
- Betrayal
```js
client.together.generateTogetherCode(message.member.voice.channelID, 'betrayal').then(async invite => {
return message.channel.send(`${invite.code}`);
});
```
- Fishing (*This most likely crashes the game*)
```js
client.together.generateTogetherCode(message.member.voice.channelID, 'fishing').then(async invite => {
return message.channel.send(`${invite.code}`);
});
```
# 🌌 Example of bots made with Play Together
#### [EZIO 2.0#7598 | 793127803041218590](https://top.gg/bot/793127803041218590)
> ***If you want your bot to be listed, Contact Xanll after joining the Discord server. Open sourced bots are greatly appreciated.***
# 📷 Images/Preview
### YouTube Together (Unlimited participants)
<details><summary>Preview Image</summary>



</details>
<br>
<details><summary>Invite Link Preview</summary>

</details>
### Poker Night (7 participants)
<details><summary>Preview Image</summary>



</details>
<br>
<details><summary>Invite Link Preview</summary>

</details>
### Betrayal.io (12 participants)
<details><summary>Preview Image</summary>



</details>
<br>
<details><summary>Invite Link Preview</summary>

</details>
### Fishington.io (Unlimited participants)
<details><summary>Preview Image</summary>



</details>
<br>
<details><summary>Invite Link Preview</summary>

</details>
# 🚀 Others
**This package is under MIT license.**
*Note: This package is not affiliated with Discord, YouTube or End Game Interactive.*
If you have any problems, you can contact the developers by joining the Discord server.
**Discord server:** [Server Link](https://discord.gg/HrHFmAceRM)
[**Github repository**](https://github.com/miudiscord/together)
<hr>
## **Made with ❤ by [Xanll#7264](https://xanll.vercel.app) & [Ayush#5234](https://ayushch.tech)**