From 43fb48eb0875623072f9f6b4d23085b7005d5397 Mon Sep 17 00:00:00 2001 From: Zyrafaq <121723407+zyrafaq@users.noreply.github.com> Date: Tue, 15 Jul 2025 10:36:05 +0200 Subject: [PATCH 1/2] Link sync_oauth.py and async_oauth.py in README.md Basically use a hyperlink instead of normal formatted text for async support in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 89ef100..38bac88 100644 --- a/README.md +++ b/README.md @@ -60,4 +60,4 @@ app.run("0.0.0.0", 8080) ``` ### Async usage -Asynchronous usage is also supported, you can use the async version of the library by importing `discordoauth2.AsyncClient` instead of `discordoauth2.Client`. The methods are the same, but they’re coroutines. +Asynchronous usage is also supported, you can use the async version of the library by importing [`discordoauth2.AsyncClient`](https://github.com/treeben77/discord-oauth2.py/blob/main/discordoauth2/sync_oauth.py) instead of [`discordoauth2.Client`](https://github.com/treeben77/discord-oauth2.py/blob/main/discordoauth2/async_oauth.py]. The methods are the same, but they’re coroutines. From bd2bb0d69277153b307839a9a23c8c84052b1fd2 Mon Sep 17 00:00:00 2001 From: Zyrafaq <121723407+zyrafaq@users.noreply.github.com> Date: Tue, 15 Jul 2025 10:37:22 +0200 Subject: [PATCH 2/2] Fix markdown --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 38bac88..c9593a4 100644 --- a/README.md +++ b/README.md @@ -60,4 +60,4 @@ app.run("0.0.0.0", 8080) ``` ### Async usage -Asynchronous usage is also supported, you can use the async version of the library by importing [`discordoauth2.AsyncClient`](https://github.com/treeben77/discord-oauth2.py/blob/main/discordoauth2/sync_oauth.py) instead of [`discordoauth2.Client`](https://github.com/treeben77/discord-oauth2.py/blob/main/discordoauth2/async_oauth.py]. The methods are the same, but they’re coroutines. +Asynchronous usage is also supported, you can use the async version of the library by importing [`discordoauth2.AsyncClient`](https://github.com/treeben77/discord-oauth2.py/blob/main/discordoauth2/sync_oauth.py) instead of [`discordoauth2.Client`](https://github.com/treeben77/discord-oauth2.py/blob/main/discordoauth2/async_oauth.py). The methods are the same, but they’re coroutines.