Commit graph

759 commits

Author SHA1 Message Date
jonas747
339ad583da Changed Id to ID per iopreds request 2016-04-25 00:59:03 +02:00
jonas747
88c37e75a1 Figured out relationship type 2016-04-25 00:56:51 +02:00
jonas747
4906a4cf9c Added some undocumented fields to ready event 2016-04-24 23:35:37 +02:00
Bruce
b14a2ce8da Merge pull request #171 from iopred/develop
Fix unmarshall error with Invite, improve error logging.
2016-04-23 22:35:51 -05:00
Bruce Marriner
bcc42e8211 Don't forget GoImports... 2016-04-23 22:35:12 -05:00
Chris Rhodes
bf9dda8404 Use json.Unmarshal in event handling so errors are better. 2016-04-23 11:58:19 -07:00
Chris Rhodes
8be21fb539 Fix unmarshall error with Invite, improve error logging. 2016-04-23 11:03:07 -07:00
Bruce Marriner
bda7434f18 Moved State struct to state.go 2016-04-22 16:53:57 -05:00
Bruce Marriner
d69fac5eae Non-New() Methods no longer officially supported. 2016-04-22 16:30:37 -05:00
Bruce
7bd2bb19d8 Merge pull request #166 from b1naryth1ef/feature/sharding
Add sharding support
2016-04-22 15:42:23 -05:00
Bruce
0f3f965d88 Merge pull request #170 from iopred/develop
Add support for GuildEmbed and GuildIntegration endpoints.
2016-04-22 13:57:42 -05:00
Bruce Marriner
61240175ae Don't ignore provided Tokens! 2016-04-22 13:46:15 -05:00
Chris Rhodes
24e7f04e0e Add support for GuildEmbed and GuildIntegration endpoints. 2016-04-22 11:34:04 -07:00
Bruce Marriner
b141b68b1f Spelling. 2016-04-22 13:14:12 -05:00
Bruce Marriner
f449da5ed4 Updated! 2016-04-22 13:13:38 -05:00
Bruce Marriner
b9edc87709 Added README to example 2016-04-22 13:11:12 -05:00
Bruce Marriner
fba35f09fe Updates to example! 2016-04-22 13:10:55 -05:00
Bruce Marriner
96a38bb480 new_basic -> main 2016-04-22 13:07:36 -05:00
Bruce Marriner
959cabecdd Added README for example 2016-04-22 13:03:43 -05:00
Bruce Marriner
68ebab258b Updates to example 2016-04-22 13:03:16 -05:00
Bruce Marriner
eb36cad0ff mytoken -> main 2016-04-22 12:59:50 -05:00
Bruce Marriner
2caf139893 Fixes :) 2016-04-22 12:58:59 -05:00
Bruce Marriner
b46bce66c4 Added README to api_basic 2016-04-22 12:57:55 -05:00
Bruce Marriner
1e8d2b9939 Update to api_basic example 2016-04-22 12:57:31 -05:00
Bruce Marriner
5980385f40 Rename api_basic to main 2016-04-22 12:48:30 -05:00
Bruce
34ce753718 Delete pingpong.go 2016-04-22 12:47:17 -05:00
Bruce Marriner
e0c0dd8c02 Updates to Ping Pong bot. 2016-04-22 12:45:22 -05:00
Bruce Marriner
d0ea58abb2 Spelling 2016-04-22 12:00:56 -05:00
Bruce Marriner
6ff8c4b218 Added AppMaker example 2016-04-22 11:57:34 -05:00
Bruce Marriner
b2111317bc Added README for examples folder 2016-04-22 10:58:58 -05:00
Bruce Marriner
19db45c7ee Adding Ping Pong example bot. 2016-04-22 10:40:50 -05:00
Bruce Marriner
5549070372 Merge branch 'master' into develop 2016-04-22 10:20:15 -05:00
Bruce Marriner
ac2fa1d276 Standardied DiscordGo case, update Examples. 2016-04-22 10:17:03 -05:00
Bruce Marriner
c56fae4243 Added new example that displays user token 2016-04-22 10:13:41 -05:00
andrei
92caf31b7f Implement Guild Sharding
This implements the upcoming change (see hammerandchisel/discord-api-docs#17)
to add guild-sharding support directly in the Discord Gateways.
2016-04-19 18:09:38 -07:00
Bruce
83622cecfa Merge pull request #169 from iopred/patch-5
Fix potential threading issue.
2016-04-19 18:44:45 -05:00
Chris Rhodes
a9bed749a1 Fix potential threading issue. 2016-04-19 16:00:12 -07:00
Bruce
f654ec2a42 Merge pull request #168 from iopred/patch-4
Remove items from the map before returning 👌
2016-04-19 15:45:17 -05:00
Chris Rhodes
a8afd3eb81 Remove items from the map before returning 👌 2016-04-19 12:45:16 -07:00
Bruce Marriner
b0fd6061eb Merge branch 'master' into develop
Conflicts:
	discord.go
2016-04-13 12:54:38 -05:00
Bruce Marriner
d658974d29 Bump version to 0.12.1 2016-04-13 12:48:26 -05:00
Bruce Marriner
da2b859817 Merge branch 'master' into develop 2016-04-13 12:29:17 -05:00
Bruce
4c4e8386bc Merge pull request #165 from b1naryth1ef/bugfix/channel-mappings
Fix channelMap not being filled for bot users/>100 guilds
2016-04-13 13:03:45 -04:00
andrei
34f83532dd Fix channelMap not being filled for bot users/>100 guilds
Previously we only filled the channelMap inside of READY. Because of
lazy guild loading, this was not valid for the majority of users (e.g.
bot users and users with more than 100 guilds). We now properly handle
both cases, by filling in the channelMap on GUILD_CREATE.

This commit also refactors the way we do locking inside of GUILD_CREATE
and CHANNEL_CREATE to be a bit cleaner.
2016-04-13 01:41:18 -07:00
andrei
ecc6e884c4 Support Gateway v4
This adds support for gateway v4 (which we're technically already
running; whoops). Really it just moves the version to the URL,
and explicitly uses JSON as the encoding. Everything should be supported
from previous commits.
2016-04-13 01:38:30 -07:00
Bruce Marriner
33f2fa8d81 Bump version to v0.13.0-alpha 2016-04-12 12:35:34 -05:00
Bruce Marriner
3ecffcdd78 Merge branch 'develop' 2016-04-12 12:30:47 -05:00
Bruce Marriner
12b010078c Bump version to v0.12.0 2016-04-12 12:28:19 -05:00
Bruce
6abc247a2d Merge pull request #164 from iopred/develop
Prime the channel map correctly.
2016-04-12 11:49:15 -04:00
Chris Rhodes
4609c31a72 Prime the channel map correctly. 2016-04-12 08:44:01 -07:00