Commit graph

80 commits

Author SHA1 Message Date
Bruce Marriner
5144b323e6 Updates to make code more idiomatic Go 2015-11-16 21:51:04 -06:00
Bruce Marriner
7f4e83460d Moving endpoints to seperate file. 2015-11-16 21:50:46 -06:00
Bruce Marriner
f655167761 Several updates to make library more idiomatic Go 2015-11-16 21:39:39 -06:00
Bruce Marriner
1ae6895552 Notice about unfinished library. Notes about goreportcard 2015-11-16 16:02:35 -06:00
Bruce Marriner
aba292d922 Fixed unexported "mute" in Members 2015-11-16 15:55:38 -06:00
Bruce Marriner
18b20b484f Example Bot shouldn't be part of main package. 2015-11-16 15:48:30 -06:00
Bruce Marriner
d38dd7e135 Added links to Go Report and Travis CI status 2015-11-16 15:12:55 -06:00
Bruce Marriner
2af61ea2c5 First commit of Travis CI file 2015-11-16 15:09:09 -06:00
Bruce Marriner
9a9175deec Added pretty GoDoc link 2015-11-16 14:55:53 -06:00
Bruce Marriner
08e148c280 Lowercase for GoDoc 2015-11-16 14:48:35 -06:00
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