No description
- Go 100%
|
|
||
|---|---|---|
| .github/workflows | ||
| tests | ||
| .gitattributes | ||
| .gitignore | ||
| amari.go | ||
| go.mod | ||
| LICENSE | ||
| README.md | ||
| structs.go | ||
AmariGo
AmariGo is a Go library for the AmariBot API.
Installation
go get github.com/sleepyyui/amari-go
Usage Example
package main
import (
"fmt"
"github.com/sleepyyui/amari-go"
)
func main() {
bot := amarigo.New("token")
user, err := bot.GetGuildMember("guildId", "userId")
if err != nil {
panic(err)
}
fmt.Println(user.Username)
}
License
This project is licensed under the MIT License. See the LICENSE file for details.