Commit graph

970 commits

Author SHA1 Message Date
Bruce Marriner
10cf7cee6c Link to GoDoc 2015-11-16 14:47:16 -06:00
Bruce Marriner
03f00298d3 More concise 2015-11-16 14:38:59 -06:00
Bruce Marriner
afae8a76ba Cleanup. 2015-11-16 14:38:07 -06:00
Bruce Marriner
17a5668f0c Added example code. 2015-11-16 14:30:26 -06:00
Bruce Marriner
a5336e53da Inital add of example bot 2015-11-16 14:08:29 -06:00
Bruce Marriner
f9c5f2bdc8 Updated to match current state of package 2015-11-16 13:24:34 -06:00
Bruce Marriner
91207ece15 Large additions to REST API and Websocket API. 2015-11-16 13:05:56 -06:00
Bruce Marriner
a3903aaa50 Fixes to GuildRole events 2015-11-14 21:23:01 -06:00
Bruce Marriner
05ff822438 Stop trying to fight Discord's Int's as Strings and just use strings. 2015-11-14 21:02:35 -06:00
Bruce Marriner
f87340f1e8 Fixed bugs from last commit :) 2015-11-14 17:47:59 -06:00
Bruce Marriner
2448f72489 Major rewrite of REST API to include constants for all endpoints 2015-11-14 15:46:33 -06:00
Bruce Marriner
9076028987 Added VoiceRegions and VoiceIce. Clean up endpoint constants 2015-11-14 11:22:00 -06:00
Bruce Marriner
4fc845b7eb Added structs for voice regions and ice 2015-11-14 11:14:30 -06:00
Bruce Marriner
c94dfba12d Added struct for user settings 2015-11-14 11:14:14 -06:00
Bruce Marriner
c721f61059 Removing demo, replacing it with new. 2015-11-13 22:19:45 -06:00
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