mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-05-19 05:31:22 +00:00
README: Fix bare minimum example
This commit is contained in:
parent
ced922d377
commit
3b98cde06f
|
@ -81,10 +81,9 @@ calling them before the state is updated.
|
||||||
**Note** that Discord discourages use of bots that do not use the interactions
|
**Note** that Discord discourages use of bots that do not use the interactions
|
||||||
API, meaning that this example should not be used for bots.
|
API, meaning that this example should not be used for bots.
|
||||||
|
|
||||||
### Bare Minimum Messaging Example
|
### Bare Minimum Bot Example
|
||||||
|
|
||||||
The least amount of code recommended to have a bot that logs all messages to
|
The least amount of code recommended to have a bot that responds to a /ping.
|
||||||
console.
|
|
||||||
|
|
||||||
```go
|
```go
|
||||||
package main
|
package main
|
||||||
|
|
Loading…
Reference in a new issue