Skip to content

Commit 14be63e

Browse files
committed
Correct base url
1 parent 6b2e110 commit 14be63e

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
}
7373

7474
extlinks = {
75-
"apidocs": ("https://some-random-api.ml/docs/%s", None),
75+
"apidocs": ("https://some-random-api.com/docs/%s", None),
7676
}
7777

7878

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ More Examples in the `Examples <https://github.com/Soheab/somerandomapi.py/blob/
4141
Links
4242
------
4343

44-
**API**: https://some-random-api.ml/
44+
**API**: https://some-random-api.com/
4545
**API Discord**: https://discord.gg/tTUMWFd
4646

4747
**Library Discord**: https://discord.gg/yCzcfju

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ authors = [
66
]
77
requires-python = ">=3.9"
88
keywords = [
9+
"https://some-random-api.com",
910
"some-random-api",
1011
"api",
1112
"somerandomapi",

somerandomapi/clients/chatbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ class Chatbot:
199199
- 3: 60 requests per 60 seconds
200200
201201
_handle_ratelimit: :class:`bool`
202-
https://some-random-api.ml/docs/welcome/ratelimits#chatbot
202+
https://some-random-api.com/docs/welcome/ratelimits#chatbot
203203
Whether to handle the ratelimit automatically. This is subject to change and should not be relied on.
204204
If this is set to ``True``, you must provide either a client or a key and a key_tier.
205205
"""

somerandomapi/internals/http.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262
__all__ = ()
6363

6464

65-
# source: https://github.com/Rapptz/discord.py/blob/master/discord/http.py
6665
async def json_or_text(response: aiohttp.ClientResponse) -> Union[dict[str, Any], str]:
6766
text = await response.text(encoding="utf-8")
6867
if response.content_type == "application/json":

0 commit comments

Comments
 (0)