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
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
Bruce Marriner
ddeb148835
Link to Awesome-DiscordGo
2016-04-12 08:29:48 -05:00
Bruce
38103b6061
Merge pull request #163 from iopred/develop
...
Add fast lookups for guilds and channels in state.
2016-04-12 09:11:41 -04:00
Chris Rhodes
408bbb54b6
Don't undo b1nzy's work.
2016-04-11 22:21:26 -07:00
Chris Rhodes
87b2daa832
Merge remote-tracking branch 'bwmarrin/develop' into develop
2016-04-11 22:17:26 -07:00
Bruce Marriner
da732804b1
Added section for troubleshooting
2016-04-11 20:25:55 -05:00
Bruce Marriner
1a672823a2
Lint and Cleanup
2016-04-11 18:54:19 -05:00
Bruce Marriner
836e78d3d9
Pass struct along with OnEvent event.
2016-04-11 16:56:43 -05:00
Chris Rhodes
4e16cfef0e
Update some comments.
2016-04-10 16:20:14 -07:00
Chris Rhodes
fa63c00fa2
Add fast lookups for guilds and channels in state.
2016-04-10 16:18:29 -07:00
Bruce Marriner
92c27c7712
Because binzy was too lazy.
...
No seriously, this allows us see if a guild is actually being created
or just being lazy-loaded.
2016-04-08 11:51:58 -05:00
Bruce
6101abeb27
Merge pull request #161 from b1naryth1ef/bugfix/lazy-guild-loading
...
Support guild lazy loading.
2016-04-04 17:52:14 -04:00
andrei
019d0fe9af
Fix lazy-loading of guilds not working
...
We're moving to lazy-loading guilds, meaning bots now recieve a READY
packet with guilds that only have 'id' and 'unavailable' fields. Post
READY, the client then lazyily recieves GUILD_CREATE's for the rest of
the guilds it's in. Previously we assumed the first instance of the
guild we got (from ready) had all the required information, now we need
to use the GUILD_CREATE if the guild was marked as unavailable.
2016-04-04 13:45:41 -07:00
Bruce
4c9d6e78b1
Merge pull request #159 from iopred/ordering
...
Fix ordering of the OnReady event and Session being updated.
2016-04-01 23:31:58 -05:00
Bruce
e325c8e9f9
Merge pull request #160 from iopred/messagecount
...
Don't perform guild lookups if message tracking is not enabled.
2016-04-01 23:31:46 -05:00
Bruce
38ca716b15
Merge pull request #158 from iopred/develop
...
Fix user struct embedding in UserUpdate event.
2016-04-01 23:31:13 -05:00
Chris Rhodes
8ae2adfb01
Don't perform guild lookups if message tracking is not enabled.
2016-04-01 18:22:18 -07:00