Metadata-Version: 2.1
Name: nextcord-ext-activities
Version: 2022.2.26
Summary: An nextcord extension that helps you to launch activities on Discord.
Home-page: UNKNOWN
Author: MaskDuck
License: MIT
Keywords: activities
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
License-File: LICENSE

# nextcord-ext-activities
nextcord.ext.activities is an extension that helps you to launch activities on Discord.

# Quick example
```py
import nextcord
from nextcord.ext import commands, activities

intents = nextcord.Intents.default()
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)

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

bot.run('token here')
```
You can find more example in the [example directory](https://github.com/MaskDuck/nextcord-ext-activities/tree/main/examples)


