From ccd379b24b32f36126854de821fd1336197c6ddb Mon Sep 17 00:00:00 2001 From: Ed L Date: Mon, 3 Jan 2022 20:50:16 +0000 Subject: [PATCH] update repo links, grammar (#24) * chore: update repo links, grammar * Update revolt/http.py Co-authored-by: Zomatree <39768508+Zomatree@users.noreply.github.com> --- README.md | 10 +++------- revolt/http.py | 4 ++-- setup.py | 8 ++++---- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index b7db8b8..2fbc2bb 100755 --- a/README.md +++ b/README.md @@ -1,16 +1,12 @@ # Revolt.py -An async library to interact with the https://revolt.chat api. +An async library to interact with the https://revolt.chat API. This library will **only support bots** and I will **not** implement anything exclusively for user accounts. -This library will be focused on making bots and i will not implement anything only for user accounts. - -Support server: https://app.revolt.chat/invite/FDXER6hr - -Documentation is [here](https://revoltpy.readthedocs.io/en/latest/) +You can join the support server [here](https://rvlt.gg/FDXER6hr) and find the library's documentation [here](https://revoltpy.readthedocs.io/en/latest/). ## Example -More examples in the [examples folder](https://github.com/zomatree/revolt.py/blob/master/examples) +More examples can be found in the [examples folder](https://github.com/revoltchat/revolt.py/blob/master/examples). ```py import revolt diff --git a/revolt/http.py b/revolt/http.py index e56d271..08fe5ee 100755 --- a/revolt/http.py +++ b/revolt/http.py @@ -53,7 +53,7 @@ class HttpClient: kwargs = {} headers = { - "User-Agent": "Revolt.py https://github.com/Zomatree/revolt.py", + "User-Agent": "Revolt.py (https://github.com/revoltchat/revolt.py)", "x-bot-token": self.token } @@ -88,7 +88,7 @@ class HttpClient: url = f"{self.api_info['features']['autumn']['url']}/{tag}" headers = { - "User-Agent": "Revolt.py https://github.com/Zomatree/revolt.py" + "User-Agent": "Revolt.py (https://github.com/revoltchat/revolt.py)" } form = aiohttp.FormData() diff --git a/setup.py b/setup.py index e698649..9a8d29a 100755 --- a/setup.py +++ b/setup.py @@ -15,10 +15,10 @@ with open('requirements.txt') as f: setup( name="revolt.py", version="0.1.1", - description="Python wrapper around revolt.chat", + description="Python wrapper for the revolt.chat API", long_description=long_description, long_description_content_type="text/markdown", - url="https://github.com/Zomatree/revolt.py", + url="https://github.com/revoltchat/revolt.py", author="Zomatree", classifiers=[ "Development Status :: 4 - Beta", @@ -40,7 +40,7 @@ setup( }, install_requires=requirements, project_urls={ - "Bug Reports": "https://github.com/Zomatree/revolt.py/issues", - "Source": "https://github.com/Zomatree/revolt.py/", + "Bug Reports": "https://github.com/revoltchat/revolt.py/issues", + "Source": "https://github.com/revoltchat/revolt.py/", }, )