You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Why use a `hikari.GatewayBot` instead of a `hikari.RESTBot`?
132
+
### Why use a `hikari.GatewayBot` instead of a `hikari.RESTBot`?
129
133
130
134
**TL;DR:**`RESTBot`s do not receive events required for some blockbot features (e.g. starboard), so `GatewayBot` must be used instead.
131
135
132
136
`GatewayBot`s connect to Discord via a websocket, and Discord sends events (including interactions) through this websocket. `RESTBot`s run a web server which Discord sends only interactions to (not events) via HTTP requests. These events are required for specific blockbot features, like starboard (which uses reaction create/remove events).
Copy file name to clipboardExpand all lines: docs/webgroup/contributing.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,18 +27,18 @@ title: Contributing to Webgroup
27
27
28
28
- Make changes to the codebase.
29
29
30
-
> [!NOTE]
31
-
> You don't have to make all the necessary changes in one commit. It's much better to split a bigger pull request over multiple commits. This will make it easier to manage and review.
30
+
> [!NOTE]
31
+
> You don't have to make all the necessary changes in one commit. It's much better to split a bigger pull request over multiple commits. This will make it easier to manage and review.
32
32
33
33
- Stage and commit the changes.
34
34
35
35
```bash
36
-
git add <files you changed>
37
-
git commit -m "<commit message>"
36
+
git add <files you changed>
37
+
git commit -m "<commit message>"
38
38
```
39
39
40
-
> [!TIP]
41
-
> See [Writing Meaningful Commit Messages](https://reflectoring.io/meaningful-commit-messages/)
40
+
> [!TIP]
41
+
> See [Writing Meaningful Commit Messages](https://reflectoring.io/meaningful-commit-messages/)
42
42
43
43
- On GitHub, navigate to your fork repository and switch to the branch you created.

54
54
55
55
56
-
> [!TIP]
57
-
> For bigger contributions, it's advisable to open a draft pull request when you begin development so other maintainers (e.g. other members of webgroup) can review your changes and provide feedback as you work.
56
+
> [!TIP]
57
+
> For bigger contributions, it's advisable to open a draft pull request when you begin development so other maintainers (e.g. other members of webgroup) can review your changes and provide feedback as you work.
0 commit comments