[PR #16] [CLOSED] Add Client.run #57

Closed
opened 2026-02-15 23:16:27 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/stoatchat/python-client-sdk/pull/16
Author: @Dark42ed
Created: 9/21/2021
Status: Closed

Base: masterHead: master


📝 Commits (2)

📊 Changes

2 files changed (+17 additions, -13 deletions)

View changed files

📝 README.md (+3 -9)
📝 revolt/client.py (+14 -4)

📄 Description

Discord.py has a run method for ease of access that automatically creates the asyncio loop and starts the client. I was thinking about adding that to here because it would help simplify the process of creating and running a bot.
Note: We could put the runner() method into the class such as _run_async instead of having it inside the run method.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/stoatchat/python-client-sdk/pull/16 **Author:** [@Dark42ed](https://github.com/Dark42ed) **Created:** 9/21/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`b2cfc90`](https://github.com/stoatchat/python-client-sdk/commit/b2cfc90aa4e160bdc4d9e51eda7ed520061e494a) Add client.run and change arguments - [`a8ded3e`](https://github.com/stoatchat/python-client-sdk/commit/a8ded3eeb056d15a31c0fd044650c0d89bd10df7) Update example ### 📊 Changes **2 files changed** (+17 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+3 -9) 📝 `revolt/client.py` (+14 -4) </details> ### 📄 Description Discord.py has a run method for ease of access that automatically creates the asyncio loop and starts the client. I was thinking about adding that to here because it would help simplify the process of creating and running a bot. Note: We could put the `runner()` method into the class such as `_run_async` instead of having it inside the run method. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 23:16:27 -05:00
yindo closed this issue 2026-02-15 23:16:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/python-client-sdk#57