Commit graph

1119 commits

Author SHA1 Message Date
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
Bruce Marriner
e9e9ef86b3 Prevent concurrent writes to gateway websocket. 2016-04-30 19:11:13 -05:00
Bruce Marriner
20240f3915 Merge branch 'develop' of https://github.com/bwmarrin/Discordgo into develop 2016-04-30 17:52:32 -05:00
Bruce Marriner
9bc6057ca7 partial support for gateway resume 2016-04-30 17:52:09 -05:00
jonas747
0b313b016f Add nick field to guild member struct 2016-04-30 23:43:52 +02:00
jonas747
c8b796b223 Add GuildMemberNickname 2016-04-30 23:43:05 +02:00
Bruce
2136202ea9 Merge pull request #188 from jonas747/develop
Add mention_roles
2016-04-30 07:48:24 -05:00
Bruce
c7c7654dbf Merge pull request #187 from iopred/develop
Half-support nicknames.
2016-04-30 07:47:43 -05:00
jonas747
421496531a Add mention_roles 2016-04-30 04:38:05 +02:00
Chris Rhodes
aff0ab3fd1 Merge branch 'develop' of https://github.com/iopred/discordgo into develop 2016-04-29 19:03:46 -07:00
Chris Rhodes
98bf6b57d3 Replace stupid nicknames. 2016-04-29 19:03:14 -07:00
Bruce Marriner
b09ed37294 reconenct with identify packet until resume is fixed. 2016-04-29 14:57:41 -05:00
Bruce Marriner
53a826dd0d Send heartbeat in response to gateway Op 1 message 2016-04-28 22:30:42 -05:00