|
9 anos atrás | |
---|---|---|
examples | 9 anos atrás | |
LICENSE | 9 anos atrás | |
README.md | 9 anos atrás | |
channel.go | 9 anos atrás | |
discord.go | 9 anos atrás | |
guild.go | 9 anos atrás | |
restapi.go | 9 anos atrás | |
session.go | 9 anos atrás | |
structs.go | 9 anos atrás | |
users.go | 9 anos atrás | |
util.go | 9 anos atrás | |
wsapi.go | 9 anos atrás |
Discord API for Golang
This is my first Golang project and it is probably not maybe even
barely suitable for use :)
Everything here so far is likely to change as I learn Golang better and refine the API names and such. Because of that I do not yet recommend this for use with anything super important :)
Initially my goal was to write a chatbot and I started working with https://github.com/Xackery/discord as my API. But that code didn't work 100% at the time. So I started slowly making changes to it and eventually ended up with something entirely different. Anyhow, credit goes to https://github.com/Xackery/discord for getting me started.
If you're looking for a more functional Discord API for Golang check out https://github.com/gdraynz/go-discord which I recently found. It's much more complete and will likely help me learn how to improve what I have here.
Low level functions exist for the core REST API and Websocket API.