disnake-together-1.0.3
توضیحات
A 3rd party library to use discord's VC Party Games feature with disnake
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | disnake-together-1.0.3 |
| نام | disnake-together |
| نسخه کتابخانه | 1.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Het Naik |
| ایمیل نویسنده | awesomehet@gmail.com |
| آدرس صفحه اصلی | https://github.com/awesomehet2124/disnake_together |
| آدرس اینترنتی | https://pypi.org/project/disnake-together/ |
| مجوز | MIT |
# disnake-together
## Table of Contents
- [About](#about)
- [Examples](#examples)
- [prerequisites](#prerequisites)
- [Contributing](#contributing)
## About <a name = "about"></a>
A 3rd party library for Discord's BETA feature of VC Party Games
<br>
### Prerequisites
You should have disnake installed in order to use this package
<br>
To install disnake, run the following code in a terminal
```
pip install disnake
```
### Examples <a name = "examples"></a>
Generate a link for YouTube Together
```py
from disnake.ext import commands
from disnake_together import DisnakeTogether
client = commands.Bot(command_prefix = "*")
togetherControl = DisnakeTogether(client)
@client.command()
async def youtubeTogether(self, ctx):
togetherControl = DiscordTogether(self.client)
# To check if the user is in a vc
try:
vc = ctx.author.voice.channel.id
except:
await ctx.channel.send("You are not in a VC, please join one and then use the command")
# Get invite link
link = await togetherControl.create_link(vc, 'youtube')
await ctx.send(f"Click the link 👇\n{link}")
```
You can replace `youtube` with the other interactions i.e betrayal, chess, fishing, poker
### Contributing <a name = "contributing"></a>
- [LamerGamerYT](https://github.com/lamergameryt)
- [Bxllistic](https://github.com/apurv-r)
نحوه نصب
نصب پکیج whl disnake-together-1.0.3:
pip install disnake-together-1.0.3.whl
نصب پکیج tar.gz disnake-together-1.0.3:
pip install disnake-together-1.0.3.tar.gz