No description
Find a file
2024-03-03 16:51:21 +01:00
.github/workflows fix test var bug 2024-03-03 16:51:04 +01:00
tests add env var test 2024-03-03 16:47:51 +01:00
.gitattributes Initial commit 2023-08-29 18:36:11 +02:00
.gitignore Update .gitignore 2023-09-02 12:47:59 +02:00
amari.go refactor var "bot" to be "api" 2024-03-03 16:33:57 +01:00
go.mod Initial commit 2023-08-29 18:36:11 +02:00
LICENSE add license 2023-08-29 19:17:12 +02:00
README.md Create README.md 2023-09-02 13:51:36 +02:00
structs.go Add Member Struct, fix useless returns 2023-09-02 14:11:18 +02:00

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.

Contributors