Skip to main content

nextcord-ext-activities

| PyPi | Docs | Support server | GitHub repo |
nextcord.ext.activities is an extension that helps you to launch activities on Discord.

Quick example

import nextcord
from nextcord.ext import activities, commands

bot = commands.Bot(command_prefix="$")


@bot.event
async def on_ready():
    print(f"Logged in as {str(bot.user)} (ID {bot.user.id})")


@bot.command()
async def poker(ctx, channel: nextcord.VoiceChannel):
    invite_link = await channel.create_activity_invite(activities.Activity.poker)
    await ctx.send(invite_link.url)


@bot.command()
async def betrayal(ctx, channel: nextcord.VoiceChannel):
    invite_link = await channel.create_activity_invite(activities.Activity.betrayal)
    await ctx.send(invite_link.url)


bot.run("token here")

You can find more example in the example directory.

Powered by Nextcord

Release files for nextcord-ext-activities 2022.6.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nextcord-ext-activities 2022.6.11
File Size Uploaded
nextcord-ext-activities-2022.6.11.tar.gz 5.0 kB Details

Release files / nextcord-ext-activities-2022.6.11.tar.gz

Download URL nextcord-ext-activities-2022.6.11.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2b66178b68151d0ea74d852efd9b4585a567138ef6c24442c330efc839ebaec0
BLAKE2b-256 checksum
How to use checksums
7efe22e950c8ed1218be770fe32344cdf1c1ce032fc84e2aefc5e84cfe7758f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page