This is essentially a duplicate of PR#20 (which was closed unintentionally when merging other PR's).
Create a src/sbot.rs module with the relevant files
Rename Sbot::init() to Sbot::connect()
This is to make it clearer that we are connecting to an sbot instance and not instantiating the sbot from within golgi
Address all clippy warnings
Update paths in the example code
This is essentially a duplicate of [PR#20](https://git.coopcloud.tech/golgi-ssb/golgi/pulls/20) (which was closed unintentionally when merging other PR's).
- Create a `src/sbot.rs` module with the relevant files
- Rename `Sbot::init()` to `Sbot::connect()`
- This is to make it clearer that we are connecting to an sbot instance and not instantiating the sbot from within golgi
- Address all clippy warnings
- Update paths in the example code
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This is essentially a duplicate of PR#20 (which was closed unintentionally when merging other PR's).
src/sbot.rsmodule with the relevant filesSbot::init()toSbot::connect()