From a878ca687afb4897897a63bbc5d19e16306c075f Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Mon, 2 Nov 2015 19:36:34 -0600 Subject: [PATCH] Should have been a pointer, I think :) --- discord.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord.go b/discord.go index c7b8a27..09e9588 100644 --- a/discord.go +++ b/discord.go @@ -55,7 +55,7 @@ func New(email string, password string) (discord *Discord, err error) { // This will update all the user, server, and channel information that was // fetched with the New command. This is not an efficient way of doing this // but if used infrequently it does provide convenience. -func (discord Discord) Renew() (err error) { +func (discord *Discord) Renew() (err error) { discord.User, err = discord.Session.Self() discord.Servers, err = discord.Session.Servers()