{"id":25739215,"url":"https://github.com/GenericNerd/pyrevolt","last_synced_at":"2025-02-26T08:02:01.025Z","repository":{"id":38297720,"uuid":"471419418","full_name":"pyrevolt/pyrevolt","owner":"pyrevolt","description":"A Python library to wrap the Revolt API, made to be easy-to-use but powerful and feature rich","archived":false,"fork":false,"pushed_at":"2024-07-20T20:26:08.000Z","size":241,"stargazers_count":7,"open_issues_count":8,"forks_count":1,"subscribers_count":1,"default_branch":"production","last_synced_at":"2025-02-22T19:02:24.782Z","etag":null,"topics":["revolt","revolt-api-wrapper","revolt-chat"],"latest_commit_sha":null,"homepage":"https://pyrevolt.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyrevolt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-18T15:24:25.000Z","updated_at":"2025-01-17T23:08:17.000Z","dependencies_parsed_at":"2024-01-14T19:14:17.831Z","dependency_job_id":"c11f3d1b-2d77-420d-a327-53dcb1a12cf4","html_url":"https://github.com/pyrevolt/pyrevolt","commit_stats":null,"previous_names":["genericnerd/pyrevolt"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrevolt%2Fpyrevolt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrevolt%2Fpyrevolt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrevolt%2Fpyrevolt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrevolt%2Fpyrevolt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyrevolt","download_url":"https://codeload.github.com/pyrevolt/pyrevolt/tar.gz/refs/heads/production","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240814850,"owners_count":19861955,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["revolt","revolt-api-wrapper","revolt-chat"],"created_at":"2025-02-26T08:01:41.822Z","updated_at":"2025-02-26T08:02:00.913Z","avatar_url":"https://github.com/pyrevolt.png","language":"Python","funding_links":[],"categories":["💻 API Libraries"],"sub_categories":["Python"],"readme":"\u003ch1 align=\"center\" style=\"font-size: 48px;\"\u003epyrevolt\u003c/h1\u003e\n\u003cdiv align=\"center\"\u003e\nA Python library to wrap the Revolt API, made to be easy-to-use but powerful and feature rich.\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n\n[![Version](https://img.shields.io/badge/version-0.2.7--a-red)](https://img.shields.io/badge/version-0.2.7--a-red) [![Stability](https://img.shields.io/badge/stability-Exceptions%20likely-yellowgreen)](https://img.shields.io/badge/stability-Exceptions%20likely-yellowgreen) [![Support Server](https://img.shields.io/badge/support-Revolt%20Server-informational)](https://app.revolt.chat/invite/mNygJpqw) [![Documentation Status](https://readthedocs.org/projects/pyrevolt/badge/?version=production)](https://pyrevolt.readthedocs.io/en/production/?badge=production)\n\u003c/div\u003e\n\n## Installing pyrevolt\n**Python 3.10 or greater is required**\n\nTo install pyrevolt, you can run the following command:\n```python\n# Linux/macOS command\npython3 -m pip install pyrevolt\n# Windows\npy -m pip install pyrevolt\n```\n\n## Using pyrevolt\nThis shows a very quick example of how to use pyrevolt. As a note, pyrevolt is still under heavy development and this example and the library as a whole may change.\n```py\nimport pyrevolt\n\nbot = pyrevolt.Bot(prefix=\"!\")\n\n@pyrevolt.ReadySimplified()\nasync def onReady() -\u003e None:\n    print(\"Ready!\")\n\n@bot.on(pyrevolt.GatewayEvent.OnMessage)\nasync def onMessage(message: pyrevolt.Message) -\u003e None:\n    print(f\"{message.author.username} said: {message.content}\")\n\n@bot.commands.Command(name=\"ping\")\nasync def ping(message: pyrevolt.Message) -\u003e None:\n    await message.Send(content=f\"Pong {message.author.username}!\", embed=pyrevolt.Embed.Create(title=\"Pong!\", description=f\"{message.author.mention}!\", colour=\"#0000ff\"), replies=[pyrevolt.Reply(message.messageID, True)])\n\n@bot.commands.Command(name=\"hello\", aliases=[\"hi\"])\nasync def hello(message: pyrevolt.Message, name: str) -\u003e None:\n    await message.Send(content=f\"Hello {name}!\")\n@hello.Error\nasync def helloError(message: pyrevolt.Message, error: Exception) -\u003e None:\n    await message.Send(content=f\"{str(error)}\")\n\nbot.Run(token=\"TOKEN\")\n```\n\nAs the library expands, more examples will be added, but we expect users during the very initial development phases to read through the documentation and see how to use the library. If you have any questions, please join the support server and ask for help.\n\n### Useful Information\n#### Code Quality\n[![CodeFactor](https://www.codefactor.io/repository/github/pyrevolt/pyrevolt/badge)](https://www.codefactor.io/repository/github/pyrevolt/pyrevolt)\n[![CircleCI](https://circleci.com/gh/pyrevolt/pyrevolt.svg?style=shield)](https://app.circleci.com/pipelines/github/pyrevolt/pyrevolt)\n#### Repository Information\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Percentage of issues still open](http://isitmaintained.com/badge/open/GenericNerd/pyrevolt.svg)](http://isitmaintained.com/project/GenericNerd/pyrevolt \"Percentage of issues still open\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGenericNerd%2Fpyrevolt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGenericNerd%2Fpyrevolt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGenericNerd%2Fpyrevolt/lists"}