Removed endpoint variables and moved to restapi.go

This commit is contained in:
Bruce Marriner 2015-11-09 15:09:56 -06:00
parent 6778771309
commit 0840d1003d

View file

@ -10,16 +10,6 @@
package discordgo package discordgo
// These will absolutely change. I already don't like them.
// Constants that define the different Discord API URLs.
const (
discordUrl = "http://discordapp.com"
discordApi = discordUrl + "/api/"
servers = discordApi + "guilds"
channels = discordApi + "channels"
users = discordApi + "users"
) // TODO: make this do something, better names, move to restapi.go
// A Discord structure represents a all-inclusive (hopefully) structure to // A Discord structure represents a all-inclusive (hopefully) structure to
// access the Discord REST API for a given authenticated user. // access the Discord REST API for a given authenticated user.
type Discord struct { type Discord struct {