Skip to main content

Utilize the BETA Discord VC Party Games feature!

Project description

Discord Together

PyPI - Downloads Made for discord.py

forthebadge

👋 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

Invite link

Note: you have to click on the BLUE LINK, not the 'Play' button, in order to start the activity !


YouTube Together


🚀 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

Github repository


Made with ❤ by Bxllistic#4444


Credits to @RemyK888 for application IDs and foundations

Thanks to @VineyS for shifting from requests to aiohttp

Project details


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page