Commit graph

328 commits

Author SHA1 Message Date
Bruce Marriner
dfb0b891fd Added support functions for guild role fetching and management, closes #21 2015-12-23 20:09:16 -06:00
Bruce Marriner
ebbe3e3828 Fixed bug in restapi.go where UserUpdate data struct was not declared correctly. 2015-12-21 11:25:37 -06:00
Bruce Marriner
ac06a113ce Improvements to Request func closes #32, addition of UserUpdate func closes #19 2015-12-21 11:16:00 -06:00
Bruce Marriner
bd1e20549a Removed /guilds/:guild_id/members endpoint, closes #14 2015-12-17 14:11:10 -06:00
Bruce Marriner
bb60b64ecb Made User-Agent version a variable. 2015-12-17 11:44:11 -06:00
Guillaume Desvé
ec31caac1b Add DiscordBot user agent 2015-12-16 17:25:39 +01:00
Bruce Marriner
dd4aef7263 Added AutoMention option to parse MessageSend for any <@ID> tags. 2015-12-06 17:04:05 -06:00
Bruce Marriner
ea647f9a61 All REST API JSON now created via structs instead of interface or strings 2015-11-24 16:17:14 -06:00
Bruce Marriner
35e3966b91 Reworded top comment 2015-11-23 10:16:23 -06:00
Bruce Marriner
abe55ecca7 Some improvements to comments. 2015-11-23 09:45:40 -06:00
Bruce Marriner
dd1d8eabbf Fixed several functions incorrectly returning an Array - THANK YOU Pikachu :) 2015-11-17 21:13:06 -06:00
Bruce Marriner
ca590e6262 removed unneeded import 2015-11-16 21:51:31 -06:00
Bruce Marriner
5144b323e6 Updates to make code more idiomatic Go 2015-11-16 21:51:04 -06:00
Bruce Marriner
f655167761 Several updates to make library more idiomatic Go 2015-11-16 21:39:39 -06:00
Bruce Marriner
91207ece15 Large additions to REST API and Websocket API. 2015-11-16 13:05:56 -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
3794c1a31e Added Guild Role Update handler 2015-11-13 19:38:35 -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
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
6778771309 Added all known endpoints as variables, updated funcs to use them. 2015-11-09 14:55:31 -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
Renamed from client.go (Browse further)