Akhildotexe / discord-together

An unofficial module that allows the use of the Discord's BETA feature, Party Games - like YouTube together or Poker Night.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

discord-together logo

Discord Together

discord-together downloads discord-together version


πŸ‘‹ 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!


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.


πŸ”© Installation

pip install discord-together

Package dependencies only include discord.py


πŸ”‘ Features

  • Easy to use and lightweight

  • Actively maintained and updated with latest activites

  • Dynamic error handling with custom errors

  • Debug mode for invalid invites


πŸ’» 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.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!

πŸ“· Image

Invite link

⚠️ Advisory Note:

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.


YouTube Together


πŸš€ Others

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



Made with ❀ by Bxllistic#4444

Credits to @RemyK888 for application IDs and foundations

About

An unofficial module that allows the use of the Discord's BETA feature, Party Games - like YouTube together or Poker Night.

License:MIT License


Languages

Language:Python 100.0%