mirror of
https://github.com/stoatchat/python-client-sdk.git
synced 2026-07-25 16:35:33 -04:00
[PR #16] [CLOSED] Add Client.run #57
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stoatchat/python-client-sdk/pull/16
Author: @Dark42ed
Created: 9/21/2021
Status: ❌ Closed
Base:
master← Head:master📝 Commits (2)
b2cfc90Add client.run and change argumentsa8ded3eUpdate example📊 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_asyncinstead of having it inside the run method.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.