Utilize the BETA Discord VC Party Games feature!
Project description
Discord Together
👋 Welcome!
Discord has released a BETA feature that they call Discord Party Games to only a certain hand-picked servers. This module allows you to temporarily enable such features for your servers!
🔩 Installation
Install discord-together
pip install discord-together
Package dependencies include discord.py and aiohttp
🔑 Features
- Easy to use
- Dynamic
- Actively maintained
- discord.py support
- Lightweight
💻 Code example
This is a simple example of code using this package.
from discord.ext import commands
from discordTogether import DiscordTogether
client = commands.Bot(command_prefix="~")
togetherControl = DiscordTogether(client)
@client.event
async def on_ready():
print(f"Bot logged into {client.user}.")
@client.command()
async def startYT(ctx):
link = await togetherControl.create_link(ctx.author.voice.channel.id, 'youtube')
await ctx.send(f"Click the blue link!\n{link}")
client.run("BOT_TOKEN_HERE")
🔧 Options
- Youtube
link = await togetherControl.create_link(ctx.author.voice.channel.id, 'youtube')
- Poker
link = await togetherControl.create_link(ctx.author.voice.channel.id, 'poker')
- Chess
link = await togetherControl.create_link(ctx.author.voice.channel.id, 'chess')
- Betrayal
link = await togetherControl.create_link(ctx.author.voice.channel.id, 'betrayal')
- Fishing
link = await togetherControl.create_link(ctx.author.voice.channel.id, 'fishing')
- Custom Activity
link = await togetherControl.create_link(ctx.author.voice.channel.id, 'CUSTOM_APP_ID_HERE')
# Only use this if you know the exact ID for a application.
📷 Image
Note: you have to click on the BLUE LINK, not the 'Play' button, in order to start the activity !
🚀 Others
This package is under MIT license. Tested PR's and forks are more than welcome.
Note: This package is not affiliated with Discord or YouTube.
If you have any problems, you can contact: Bxllistic#4444
.
(Discord server will be made if needed.)
This project was converted to support discord.py
from the npm package discord-together made by RemyK888
Made with ❤ by Bxllistic#4444
Credits to @RemyK888 for application IDs and foundations
Thanks to @VineyS for shifting from requests
to aiohttp
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
discord-together-1.0.7.tar.gz
(5.6 kB
view hashes)