Metadata-Version: 2.1
Name: discord-py-slash-command
Version: 1.0.1
Summary: Simple Discord Slash Command extension for discord.py.
Home-page: https://github.com/eunwoo1104/discord-py-slash-command
Author: eunwoo1104
Author-email: sions04@naver.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# discord-py-slash-command
Simple Discord Slash Command extension for [discord.py](https://github.com/Rapptz/discord.py).

## Example
```py
import discord
from discord.ext import commands
from discord_slash import SlashCommand
from discord_slash.model import SlashContext

bot = commands.Bot(command_prefix="!", intents=discord.Intents.all())
slash = SlashCommand(bot)


@slash.slash(name="test")
async def _test(ctx: SlashContext):
    embed = discord.Embed(title="embed test")
    await ctx.send(text="test", embeds=[embed])


bot.run("discord_token")
```

## Installation
`pip install -U discord-py-slash-command`

## DOCS
https://discord-py-slash-command.readthedocs.io/en/latest/  
See [discord-api-docs](https://github.com/discord/discord-api-docs/blob/feature/interactions/docs/interactions/Slash_Commands.md) for some more information
about some formats.


