1
0
Fork 0
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:
diamondburned 2022-12-10 06:03:57 -08:00
parent ced922d377
commit 3b98cde06f
No known key found for this signature in database
GPG key ID: D78C4471CE776659

View file

@ -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