Merge branch 'master' of github.com:Zomatree/revolt.py

This commit is contained in:
Zomatree
2022-01-03 20:51:22 +00:00
3 changed files with 9 additions and 13 deletions
+3 -7
View File
@@ -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
+2 -2
View File
@@ -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()
+4 -4
View File
@@ -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/",
},
)