Commit graph

55 commits

Author SHA1 Message Date
Bruce Marriner
bc6be21108 Pointless 2015-11-13 22:19:24 -06:00
Bruce Marriner
85cf9d62ad Removed duplicated JoinedAt.. 2015-11-13 19:48:12 -06:00
Bruce Marriner
1505c7ede6 Updated Guild struct, fixed embed_channel_id to be a int from string. 2015-11-13 19:46:52 -06:00
Bruce Marriner
3794c1a31e Added Guild Role Update handler 2015-11-13 19:38:35 -06:00
Bruce Marriner
b122bd3013 Fixed member struct to correctly store guildid as int. 2015-11-13 10:01:43 -06:00
Bruce Marriner
f885ce38d2 Added support for GUILD_UPDATE event 2015-11-13 09:48:56 -06:00
Bruce Marriner
3d9e980619 Several bug fixes causing json unmarshal errors. 2015-11-13 09:36:11 -06:00
Bruce Marriner
ecbaed46ab Renamed server.go to guild.go 2015-11-13 09:36:01 -06:00
Bruce Marriner
074d1bcdae Huge update to Websocket support.
Changed "Server" to "Guild" to remain consistant with Discords
API naming.
2015-11-12 23:25:48 -06:00
Bruce Marriner
666adbe0b4 Updated readme. 2015-11-12 15:10:18 -06:00
Bruce Marriner
f4445fb782 Commented out file, as it's not being used now. 2015-11-12 12:21:10 -06:00
Bruce Marriner
e8b77083df Inital implementation for callback funcs handling Websocket events 2015-11-12 09:59:37 -06:00
Bruce Marriner
a5d3e9378e Made session in Discord strut a pointer. Probably will change that again :) 2015-11-12 09:59:02 -06:00
Bruce Marriner
c858d08208 Fixed login, so it works :) 2015-11-09 15:42:52 -06:00
Bruce Marriner
4cb734f809 Fixed AU_ consts 2015-11-09 15:31:45 -06:00
Bruce Marriner
7738fea746 Comments, TODO list. 2015-11-09 15:10:10 -06:00
Bruce Marriner
0840d1003d Removed endpoint variables and moved to restapi.go 2015-11-09 15:09:56 -06:00
Bruce Marriner
6778771309 Added all known endpoints as variables, updated funcs to use them. 2015-11-09 14:55:31 -06:00
Bruce Marriner
2c3ca777f9 Clean up, notes 2015-11-09 14:22:36 -06:00
Bruce Marriner
778a62b747 renamed examples folder. 2015-11-09 14:19:15 -06:00
Bruce Marriner
dc0996ad4f removed notes 2015-11-08 23:04:47 -06:00
Bruce Marriner
fff4fa20e9 Clean up 2015-11-08 21:57:49 -06:00
Bruce Marriner
e6789fde74 Inital add of Websockets 2015-11-08 21:42:16 -06:00
Bruce Marriner
adac11495a Inital addition of Websocket handling. Lots of moving things around. 2015-11-08 19:26:46 -06:00
Bruce Marriner
14dc3f3e79 Proper GFM. 2015-11-07 12:01:03 -06:00
Bruce Marriner
fcf2f62b2c Typo. 2015-11-07 11:59:35 -06:00
Bruce Marriner
33fc3d6cb0 HTTP API is pretty stable, functional, and handles basic stuff. 2015-11-07 11:58:34 -06:00
Bruce Marriner
665c468c33 Updated Request func to handle POST as well. Updated other
functions to use it.  Now all HTTP API calls run though the
Request function to make the actual call.
2015-11-07 11:48:27 -06:00
Bruce Marriner
f3ddf16ff7 Removed Mentions struct, as its the same as User 2015-11-07 11:31:46 -06:00
Bruce Marriner
c99caaf2d7 Used a map for something! Added notes.. nothing big. 2015-11-04 07:52:33 -06:00
Bruce Marriner
ed73bdb004 Added list of working features and comment regarding demo.go 2015-11-03 11:25:40 -06:00
Bruce Marriner
7b7b1d381c Added SendMessage function to client.go and example of it to demo.go 2015-11-03 11:25:22 -06:00
Bruce Marriner
9abd4e829a Added PrivateChannels function example 2015-11-03 11:15:16 -06:00
Bruce Marriner
782fbe2bc9 Added Message func to client.go to pull channel messages 2015-11-03 10:56:09 -06:00
Bruce Marriner
8a0bb9fd9a Added demo.go file to, well, demo the discordgo pacakge :) 2015-11-03 09:29:18 -06:00
Bruce Marriner
ec6f07259d Renamed Close to Logout. Removed unneeded sprintf calls. 2015-11-03 09:28:15 -06:00
Bruce Marriner
302f4976a9 Renamed RequestToken to Login 2015-11-03 08:51:21 -06:00
Bruce Marriner
66da5a3ae4 Created a client.go with low level access functions and started
working on "easy access" methods in each data structure that point
to the low level client.go functions.  Added channel.go, server.go
2015-11-03 08:35:58 -06:00
Bruce Marriner
b8b42f4898 Added Close function to disconnect (logout) from Discord REST API 2015-11-02 20:09:34 -06:00
Bruce Marriner
a878ca687a Should have been a pointer, I think :) 2015-11-02 19:36:34 -06:00
Bruce Marriner
535c10752d Slightly improved comments 2015-11-02 19:31:31 -06:00
Bruce Marriner
e6c91f2fb2 Adding some notes for reference 2015-11-02 18:55:13 -06:00
Bruce Marriner
37e3e53527 Rearanged a bit more. 2015-11-02 18:53:12 -06:00
Bruce Marriner
09728d6ffe Removed client.go (well, renamed and heavily modified) 2015-11-02 18:51:08 -06:00
Bruce Marriner
c0f68b4bd5 Refactoring stuff, moved things around :) 2015-11-02 16:43:10 -06:00
Bruce Marriner
49ca49f6de Moving structures to structs.go to clean up client file some.
Will probably move these all into individual files later
2015-11-02 11:09:52 -06:00
Bruce Marriner
6483db9add Clarification 2015-11-01 19:33:33 -06:00
Bruce Marriner
1e1ad5940b Initial add of client.go 2015-11-01 19:00:21 -06:00
Bruce Marriner
6f4049d383 Spelling.. 2015-11-01 18:59:22 -06:00
Bruce Marriner
8847fad999 Update README.md 2015-11-01 18:21:00 -06:00