Commit graph

600 commits

Author SHA1 Message Date
Chris Rhodes
60b801db27 Support the new bot field on User. 2016-03-10 22:02:59 -08:00
Bruce
1003bec0aa Merge pull request #145 from iopred/develop
Clean up voice state updates, make them goroutine safe.
2016-03-10 21:30:06 -06:00
Chris Rhodes
6ec1c07300 Clean up voice state updates, make them goroutine safe. 2016-03-10 19:15:30 -08:00
Bruce
0dac7777c1 Merge pull request #141 from b1naryth1ef/feature/multiple-voice-connection
Add the ability to have multiple cross-guild voice connections open.
2016-03-09 21:14:43 -06:00
andrei
cf222be2f8 Cleanup voice connection on close 2016-03-08 10:47:41 -08:00
andrei
5dc0b9f2a1 Add connect timeout, fix ChannelVoiceJoin "leaking" connections 2016-03-08 02:36:00 -08:00
andrei
b48e8c992e Track voice state changes, expose stuff, add channel changing 2016-03-07 15:41:02 -08:00
Bruce
512257a328 Merge pull request #142 from iopred/develop
Set GuildID on all channels in READY.
2016-03-05 23:13:10 -06:00
Chris Rhodes
e37b86d3e8 Merge remote-tracking branch 'bwmarrin/develop' into develop 2016-03-05 20:18:22 -08:00
Chris Rhodes
7eb0bd2aed Set GuildID on all Channels in READY. 2016-03-05 20:18:18 -08:00
andrei
1fc0e2053b Add support for multiple voice connections
With the upcoming API changes, Discord will be allowing bot users to be
onnected to more than one voice channel at a time. This commit is a
first stab at implementing that functionality in discordgo.

Voice works pretty good right now, ideally the next step is to cleanup
some of the channel-spam and weird blocking-spots.
2016-03-05 01:05:18 -08:00
Bruce
f9db2f7ed6 Merge pull request #140 from abalabahaha/develop
Added UserChannelPermissions function
2016-03-04 08:26:48 -06:00
abalabahaha
0969cc3d86 Format the permission constants 2016-03-04 06:12:17 -08:00
abalabahaha
539b9d203f Fix UserChannelPermissions 2016-03-04 05:50:11 -08:00
abalabahaha
cd24674ebb Added UserChannelPermissions function 2016-03-04 08:07:57 +00:00
Bruce
d0c30f0f14 Merge pull request #139 from noisypixy/develop
Replace HTTP status codes for net/http constants.
2016-03-03 00:24:16 -06:00
noisypixy
ce9840f8c4 Constant missing in Go < 1.6 2016-03-02 21:13:53 -04:30
noisypixy
6c820412cf Replace HTTP status codes for net/http constants. 2016-03-02 19:26:00 -04:30
Bruce
f5b21ea2a0 Merge pull request #136 from nstafie/develop
BREAKING -- Add VerificationLevel value consts and a typedef for int
2016-02-28 14:05:10 -06:00
Nicholas Stafie
cba9b5039e
Refactor VerificationLevel consts 2016-02-27 01:22:02 +02:00
Nicholas Stafie
58fe658fa5 Add VerificationLevel value consts and a typedef for int 2016-02-27 00:28:05 +02:00
Bruce
226df093f6 Merge pull request #132 from nstafie/develop
BREAKING -- Add support for setting guild region and verification level
2016-02-26 14:58:56 -06:00
Bruce Marriner
a45e493e1f Add limit max values in comments 2016-02-24 23:29:59 -06:00
Bruce Marriner
73c0b90f16 Merge branch 'develop' of https://github.com/bwmarrin/Discordgo into develop 2016-02-24 23:28:46 -06:00
Bruce Marriner
85e06e3e83 Encrypt / Decrypt Voice packets, closes #133 2016-02-24 23:27:56 -06:00
Nicholas Stafie
f5ac3b10bf
Better document GuildEdit arguments 2016-02-25 00:31:51 +02:00
Nicholas Stafie
1a844d697d Add support for guild region and verification level 2016-02-25 00:27:13 +02:00
Bruce
ec5dd888c1 Merge pull request #131 from iopred/docs
Allow Ready events to fire even after a unmarshalling error.
2016-02-22 10:39:59 -06:00
Chris Rhodes
a11e81fc96 Bring back discrim too. 2016-02-22 08:27:17 -08:00
Chris Rhodes
75a5d6bf62 Bring back color 2016-02-22 08:20:36 -08:00
Chris Rhodes
9c23b3bbef Merge remote-tracking branch 'bwmarrin/develop' into docs 2016-02-22 00:11:52 -08:00
Chris Rhodes
abc0e5b095 Work around a Discord server issue. 2016-02-22 00:11:39 -08:00
Bruce
451babab1c Merge pull request #130 from iopred/docs
Support user guild settings update event. Closes #128.
2016-02-21 21:45:31 -06:00
Chris Rhodes
f58410afa4 Support user guild settings update event. 2016-02-21 19:35:21 -08:00
Bruce Marriner
44d4667463 Bump to v0.12.0-alpha 2016-02-20 20:59:40 -06:00
Bruce Marriner
cadf36c775 Bump to v0.11.0 2016-02-20 20:53:56 -06:00
Bruce Marriner
a9306fda00 Removed unreachable return 2016-02-20 17:42:10 -06:00
Bruce
f67b8152cf Merge pull request #127 from iopred/docs
BREAKING -- Change API for ChannelMessages to accept Message ID's as strings. Fixes #120
2016-02-20 17:33:59 -06:00
Bruce Marriner
c3cb8469bb Removed GuildInviteCreate function. 2016-02-20 17:03:07 -06:00
Chris Rhodes
50b7bdd6ff Change API for ChannelMessages to accept Message ID's as strings. Fixes #120 2016-02-20 14:21:25 -08:00
Bruce Marriner
e1a88003e6 Will use current rate limit method for forseable future, closes #12 2016-02-20 15:56:07 -06:00
Bruce Marriner
94f0aacc0a websocket heartbeat is now simplier. Closes #121 2016-02-20 15:19:55 -06:00
Bruce Marriner
a24247b6e8 Added Bitrate to Channel struct, closes #116 2016-02-20 14:51:02 -06:00
Bruce Marriner
d084cdd639 dgvoice isn't experimental, added link to dca. 2016-02-20 13:08:52 -06:00
Bruce Marriner
0b6a535302 Added section about branches 2016-02-20 12:44:23 -06:00
Bruce
e244177d27 Merge pull request #126 from iopred/docs
Fix for single threaded job queue feature.
2016-02-20 01:05:15 -06:00
Chris Rhodes
2840b56c51 Merge remote-tracking branch 'bwmarrin/develop' into docs 2016-02-19 23:00:48 -08:00
Chris Rhodes
457b03f66e Fix deadlock because I'm dumb. 2016-02-19 23:00:41 -08:00
Bruce
290e3c6b87 Merge pull request #125 from iopred/docs
Handler updates.
2016-02-20 00:51:50 -06:00
Chris Rhodes
2b4b19cfd8 Fixed some test comment wording. 2016-02-19 22:44:06 -08:00