Made session in Discord strut a pointer. Probably will change that again :)
This commit is contained in:
parent
c858d08208
commit
a5d3e9378e
1 changed files with 5 additions and 1 deletions
|
@ -6,6 +6,10 @@
|
||||||
*
|
*
|
||||||
* The idea is that this file is where we pull together the wsapi, and
|
* The idea is that this file is where we pull together the wsapi, and
|
||||||
* restapi to create a single do-it-all struct
|
* 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
|
package discordgo
|
||||||
|
@ -13,7 +17,7 @@ package discordgo
|
||||||
// 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 {
|
||||||
Session Session
|
Session *Session
|
||||||
User User
|
User User
|
||||||
Servers []Server
|
Servers []Server
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue