Commit graph

694 commits

Author SHA1 Message Date
andrei
835a23a89d Implement guild sharding 2016-06-13 15:34:40 -07:00
Bruce
ed47e30df3 Merge pull request #214 from iopred/develop
Use embedded Presence in presenceUpdate
2016-06-06 08:43:53 -05:00
Chris Rhodes
323abd1a87 Use embedded Presence in presenceUpdate 2016-06-05 22:41:08 -07:00
Bruce
04c0add4fd Merge pull request #213 from iopred/fixtest
Fix handler tests.
2016-06-04 20:19:28 -05:00
Bruce Marriner
71c172a948 Clean up. 2016-06-04 20:18:56 -05:00
Chris Rhodes
84d430918b Fix handler tests. 2016-06-04 18:13:46 -07:00
Bruce Marriner
323216e171 Update GuildChannelsReorder with new endpoints 2016-06-04 19:50:20 -05:00
Bruce
15f6afb2d7 Merge pull request #211 from jonas747/guildchannelsupdate
Added GuildChannelsReorder
2016-06-04 19:46:18 -05:00
Bruce
dfccc82030 Merge pull request #212 from iopred/cases
Support many more idioms.
2016-06-04 08:58:27 -05:00
Chris Rhodes
3686cc7ce3 Support many more idioms. 2016-06-03 20:59:35 -07:00
jonas747
ca07a8f9d3 Change GuildChannelsUpdate to GuildChannelsReorder 2016-06-04 04:34:09 +02:00
Bruce Marriner
0ca94d21bb Share the love. 2016-06-02 14:57:57 -05:00
jonas747
c13c190516 Added GuildChannelsUpdate 2016-05-30 11:51:51 +02:00
Bruce Marriner
7c19b6bc86 Update error msg in test 2016-05-28 15:13:36 -05:00
Bruce Marriner
af201919a0 Move logging 2016-05-28 15:10:55 -05:00
Bruce Marriner
7039cc47dc Reconnect to voice gateway instead of.. 2016-05-28 14:58:44 -05:00
Bruce Marriner
ff0a39b9b5 Clean up. 2016-05-28 14:32:22 -05:00
Bruce Marriner
7ed2a289bc Fix possible mutex deadlock in handle()
Also added some logging.
2016-05-28 13:51:17 -05:00
Bruce Marriner
32aa5718d1 Fix loop in voice reconnect 2016-05-28 10:50:18 -05:00
Bruce Marriner
754d64d339 Initial code to support voice reconnecting
Also includes some logging improvements and a small fix to track
speaking state and to send speaking packet if needed before sending
opus packets.
2016-05-26 19:35:17 -05:00
Bruce
45a6c0d70d Merge pull request #207 from Harmon758/ChangeChannel-fix
Update ChannelID in ChangeChannel
2016-05-26 07:48:55 -05:00
Harmon758
2175a62cad Update deaf and mute as well 2016-05-25 10:41:18 -05:00
Harmon758
78113398e5 Update ChannelID in ChangeChannel 2016-05-25 10:04:38 -05:00
Bruce
ee608e6e3e Merge pull request #201 from VagantemNumen/examples
Add examples for setting account avatar
2016-05-20 19:11:02 -05:00
VagantemNumen
9f889c824e
Removed the images from the folder. 2016-05-19 20:12:44 +05:00
Bruce
80b7de53ea Merge pull request #203 from jonas747/settingsupdt
Add GuildPositions field to Settings struct
2016-05-17 20:09:08 -05:00
jonas747
caadaaaf2c Added guild_positions field to settings 2016-05-18 02:40:41 +02:00
Bruce
bd012b25ef Merge pull request #202 from IMcPwn/develop
Rename GoDiscord to discordgo in LICENSE
2016-05-17 19:00:37 -05:00
VagantemNumen
7ff5f4b043
Removed MESSAGE_CREATE event handler and opening of websocket infavour
of the example being simple and to the point.
Added a disclaimer regarding visual change to the main README.md.
2016-05-17 19:26:37 +05:00
Carleton Stuberg
f7e105a4f5 Rename GoDiscord to Discordgo in LICENSE (develop) 2016-05-17 09:45:25 -04:00
VagantemNumen
93d49d7710
Merge branch 'examples' of github.com:VagantemNumen/discordgo into examples 2016-05-16 14:52:31 +05:00
VagantemNumen
ecc6665887
Avatar Example using Url.
Readme clean up.
2016-05-16 14:51:41 +05:00
VagantemNumen
a548c84343
Avatar Example using Url. 2016-05-16 14:45:04 +05:00
VagantemNumen
9529c44867
Added example for changing avatar using a local file.
Cleaned up. Few more.
2016-05-16 14:38:06 +05:00
Bruce Marriner
dc3b3ea170 Merge branch 'develop' of https://github.com/bwmarrin/Discordgo into develop 2016-05-14 15:59:03 -05:00
Bruce Marriner
65a1d5cf6a Do not set content-type for GuildChannels endpoint 2016-05-14 15:58:39 -05:00
Bruce
942d3a8b66 Merge pull request #194 from iopred/status
Support streaming status updates.
2016-05-14 13:53:49 -05:00
Chris Rhodes
a8ecc78c34 Don't break the API. 2016-05-14 09:50:37 -07:00
Chris Rhodes
544d1dfcb5 Fix test. 2016-05-14 09:43:47 -07:00
Bruce
7d1ed7c738 Merge pull request #199 from VagantemNumen/bulk-delete
Add bulk delete endpoint to rest api
2016-05-14 10:00:59 -05:00
VagantemNumen
a2c826192f
Added check for maximum messages in the slice.
If more than 100 is present send the first 100 in the request and
ignore the rest.
2016-05-14 06:15:50 +05:00
VagantemNumen
d1dd35b677
Merge branch 'bulk-delete' of https://github.com/VagantemNumen/discordgo into bulk-delete 2016-05-14 06:04:58 +05:00
VagantemNumen
c4f596a93e
Added ChannelMessagesBulkDelete function.
Requires a channelID and a slice of messageIDs from the channel.
If only on ID is in the slice calls ChannelMessageDelete() internally.
If the slice of IDs is empty do nothing.
Noted maximum of 100 messageIDs in the comment.
2016-05-14 06:02:40 +05:00
VagantemNumen
35e6225f87
Added ChannelMessagesBulkDelete function.
Requires a channelID and a slice of messageIDs from the channel.
If only on ID is in the slice calls ChannelMessageDelete() internally.
If the slice of IDs is empty do nothing.
2016-05-14 05:27:41 +05:00
VagantemNumen
e435962b50
Added CHANNEL_MESSAGES_BULK_DELETE endpoint. 2016-05-14 05:15:56 +05:00
Bruce Marriner
a00f64aa86 Don't stomp on VoiceConnection if exists already
This allows you to enable voice debugging prior to joining a voice
channel.
2016-05-12 19:23:38 -05:00
Bruce
1d2d93a7b5 Merge pull request #196 from iopred/stateroles
Add Role tracking. Support disabling individual features in state. Closes #195.
2016-05-08 19:34:26 -04:00
Bruce
78b36a491c Merge pull request #193 from iopred/messageupdate
Merge message contents in state. Fixes #192
2016-05-08 11:36:15 -05:00
Bruce
f089de0541 Merge pull request #190 from iopred/develop
Replace multiple replaces with one regex replace.
2016-05-08 11:35:43 -05:00
Chris Rhodes
95f0d584d6 Add Role tracking. Support disabling individual features in state. 2016-05-07 19:43:53 -07:00