From 0840d1003dbc5386d87382011a4700165eb91949 Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Mon, 9 Nov 2015 15:09:56 -0600 Subject: [PATCH] Removed endpoint variables and moved to restapi.go --- discord.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/discord.go b/discord.go index 3d1c29f..aaaaf2d 100644 --- a/discord.go +++ b/discord.go @@ -10,16 +10,6 @@ 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 // access the Discord REST API for a given authenticated user. type Discord struct {