Commit graph

681 commits

Author SHA1 Message Date
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
Chris Rhodes
80c2158605 Support streaming status updates. 2016-05-06 15:23:21 -07:00
Chris Rhodes
0c7562440e Merge message contents in state. Fixes #192 2016-05-05 19:13:15 -07:00
Chris Rhodes
96bcdc00a5 Replace multiple replaces with one regex replace. 2016-05-03 20:51:04 -07:00
Bruce Marriner
aede29500f Added entire voice struct for debugging 2016-05-03 09:35:59 -05:00
Bruce Marriner
2d213377c0 Add dgo link 2016-05-02 16:42:34 -05:00
Bruce Marriner
ad2aa618dd Expand rate limit locks a little 2016-05-02 09:55:30 -05:00
Bruce Marriner
6a4b8bb287 Fixed it! 2016-05-01 19:55:57 -05:00
Bruce Marriner
cb9e30670f no concurrent writes to voice ws, log cleanup 2016-05-01 19:54:28 -05:00
Bruce Marriner
5dc57e19c7 Display gateway url in error 2016-05-01 18:16:55 -05:00
Bruce Marriner
a9da8a5daf Cleanup, Logging, Finished Resumed code. 2016-04-30 21:40:13 -05:00
Bruce Marriner
c65d5091ab Fix resume bug! It's op not ip. 2016-04-30 20:29:27 -05:00
Bruce Marriner
9e8cd0a735 misc cleanup 2016-04-30 20:29:10 -05:00
Bruce
dd0b83333c Merge pull request #189 from jonas747/develop
Nickname support
2016-04-30 19:12:18 -05:00