From a5d3e9378e33b675cddae9e6796a044c2e0c57c0 Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Thu, 12 Nov 2015 09:59:02 -0600 Subject: [PATCH] Made session in Discord strut a pointer. Probably will change that again :) --- discord.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/discord.go b/discord.go index aaaaf2d..2ecdcdc 100644 --- a/discord.go +++ b/discord.go @@ -6,6 +6,10 @@ * * The idea is that this file is where we pull together the wsapi, and * restapi to create a single do-it-all struct + * + * NOTE!!! Currently this file has no purpose, it is here for future + * access methods. EVERYTHING HERE will just go away or be changed + * substantially in the future. */ package discordgo @@ -13,7 +17,7 @@ package discordgo // A Discord structure represents a all-inclusive (hopefully) structure to // access the Discord REST API for a given authenticated user. type Discord struct { - Session Session + Session *Session User User Servers []Server }