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!
Use the docs for discord-together for detailed usage guide.
As of v1.1.1, this BETA feature is only supported on web and updated PC app versions of Discord and is not supported on mobile.
Install discord-together
pip install discord-together
Package dependencies only include discord.py
-
Easy to use and lightweight
-
Actively maintained and updated with latest activites
-
Dynamic error handling with custom errors
-
Debug mode for invalid invites
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.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")
View the docs for more detailed/advanced examples (like cogs) and explanations!
At least one person needs to click on the BLUE LINK, not the 'Play' button, in order to start the activity! Once the activity is started, people can join by clicking 'Play'.
Multiple people clicking the blue link at once can cause a "Activity Ended" error screen, however it's not a common occurence.
This package is under MIT license. Appropriately tested PR's are more than welcome.
Note: This package is not affiliated with Discord or YouTube.
If you have any problems or enquiries, join the discord-together Support Server or you can contact me personally on Discord: Bxllistic#4444
.
This project was converted to support discord.py from the npm package discord-together made by RemyK888
Credits to @RemyK888 for application IDs and foundations