discord.http


Namediscord.http JSON
Version 1.3.12 PyPI version JSON
download
home_pageNone
SummaryPython library that handles interactions from Discord POST requests.
upload_time2024-04-19 12:32:50
maintainerNone
docs_urlNone
authorNone
requires_python>=3.11.0
licenseMIT
keywords discord http api interaction quart webhook slash
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # discord.http
Python library that handles interactions from Discord POST requests.

### ✨ NOW SUPPORTS USER COMMANDS ✨

## Installing
> You need **Python >=3.11** to use this library.

Install by using `pip install discord.http` in the terminal.
If `pip` does not work, there are other ways to install as well, most commonly:
- `python -m pip install discord.http`
- `python3 -m pip install discord.http`
- `pip3 install discord.http`

## Quick example
```py <!-- DOCS: quick_example -->
from discord_http import Context, Client

client = Client(
    token="Your bot token here",
    application_id="Bot application ID",
    public_key="Bot public key",
    sync=True
)

@client.command()
async def ping(ctx: Context):
    """ A simple ping command """
    return ctx.response.send_message("Pong!")

client.start()
```

Need further help on how to make Discord API able to send requests to your bot?
Check out [the documentation](https://discordhttp.dev/pages/getting_started.html) for more detailed information.

## Resources
- Documentations
  - [Library documentation](https://discordhttp.dev)
  - [Discord API documentation](https://discord.com/developers/docs/intro)
- [Discord server](https://discord.gg/jV2PgM5MHR)


## Acknowledgements
This library was inspired by [discord.py](https://github.com/Rapptz/discord.py), developed by [Rapptz](https://github.com/Rapptz).
We would like to express our gratitude for their amazing work, which has served as a foundation for this project.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "discord.http",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11.0",
    "maintainer_email": null,
    "keywords": "discord, http, api, interaction, quart, webhook, slash",
    "author": null,
    "author_email": "AlexFlipnote <root@alexflipnote.dev>",
    "download_url": "https://files.pythonhosted.org/packages/02/41/069c807412a78f9b066f55a426bba29148969f82fb6f5eabaabdc5f34399/discord_http-1.3.12.tar.gz",
    "platform": null,
    "description": "# discord.http\r\nPython library that handles interactions from Discord POST requests.\r\n\r\n### \u2728 NOW SUPPORTS USER COMMANDS \u2728\r\n\r\n## Installing\r\n> You need **Python >=3.11** to use this library.\r\n\r\nInstall by using `pip install discord.http` in the terminal.\r\nIf `pip` does not work, there are other ways to install as well, most commonly:\r\n- `python -m pip install discord.http`\r\n- `python3 -m pip install discord.http`\r\n- `pip3 install discord.http`\r\n\r\n## Quick example\r\n```py <!-- DOCS: quick_example -->\r\nfrom discord_http import Context, Client\r\n\r\nclient = Client(\r\n    token=\"Your bot token here\",\r\n    application_id=\"Bot application ID\",\r\n    public_key=\"Bot public key\",\r\n    sync=True\r\n)\r\n\r\n@client.command()\r\nasync def ping(ctx: Context):\r\n    \"\"\" A simple ping command \"\"\"\r\n    return ctx.response.send_message(\"Pong!\")\r\n\r\nclient.start()\r\n```\r\n\r\nNeed further help on how to make Discord API able to send requests to your bot?\r\nCheck out [the documentation](https://discordhttp.dev/pages/getting_started.html) for more detailed information.\r\n\r\n## Resources\r\n- Documentations\r\n  - [Library documentation](https://discordhttp.dev)\r\n  - [Discord API documentation](https://discord.com/developers/docs/intro)\r\n- [Discord server](https://discord.gg/jV2PgM5MHR)\r\n\r\n\r\n## Acknowledgements\r\nThis library was inspired by [discord.py](https://github.com/Rapptz/discord.py), developed by [Rapptz](https://github.com/Rapptz).\r\nWe would like to express our gratitude for their amazing work, which has served as a foundation for this project.\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python library that handles interactions from Discord POST requests.",
    "version": "1.3.12",
    "project_urls": null,
    "split_keywords": [
        "discord",
        " http",
        " api",
        " interaction",
        " quart",
        " webhook",
        " slash"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c956dd73e03de186e7699409507edf91c6bc4a8a25563f248677f0e26d3a9794",
                "md5": "9e429a914274de6852063d2c2b23bd07",
                "sha256": "b506c1c9c7a89348d4237e15b1ea29d95ebf06ce28061b32fff74c19aa7120c3"
            },
            "downloads": -1,
            "filename": "discord.http-1.3.12-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9e429a914274de6852063d2c2b23bd07",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11.0",
            "size": 99825,
            "upload_time": "2024-04-19T12:32:44",
            "upload_time_iso_8601": "2024-04-19T12:32:44.905659Z",
            "url": "https://files.pythonhosted.org/packages/c9/56/dd73e03de186e7699409507edf91c6bc4a8a25563f248677f0e26d3a9794/discord.http-1.3.12-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0241069c807412a78f9b066f55a426bba29148969f82fb6f5eabaabdc5f34399",
                "md5": "a45635c4f689070d1bfb7990d8dac47b",
                "sha256": "ca1ab5f5c778ea73ad3a2c269bd2026fd8ca789a540fbb905f1f45801e0e0340"
            },
            "downloads": -1,
            "filename": "discord_http-1.3.12.tar.gz",
            "has_sig": false,
            "md5_digest": "a45635c4f689070d1bfb7990d8dac47b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11.0",
            "size": 86069,
            "upload_time": "2024-04-19T12:32:50",
            "upload_time_iso_8601": "2024-04-19T12:32:50.281891Z",
            "url": "https://files.pythonhosted.org/packages/02/41/069c807412a78f9b066f55a426bba29148969f82fb6f5eabaabdc5f34399/discord_http-1.3.12.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-19 12:32:50",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "discord.http"
}
        
Elapsed time: 0.24957s