Commit graph

1243 commits

Author SHA1 Message Date
MistahJ
49f3160ac4 clean up returns 2019-12-27 17:50:21 -07:00
MistahJ
c3e4a2dea8 fix typo 2019-12-27 17:44:20 -07:00
Carson Hoffman
525ac13aa7
Merge pull request #626 from AtomGrafiks/master
Add pagination to MessageReactions
2019-12-26 20:42:56 -05:00
Carson Hoffman
afe392e6c1
Merge pull request #694 from BigHeadGeorge/fix-tts-casing
Fix inconsistent TTS casing
2019-12-26 20:22:41 -05:00
Carson Hoffman
e4e03cf8b5
Merge pull request #683 from recapitalverb/develop
Remove State fallback from Session#Guild
2019-12-26 19:46:40 -05:00
Carson Hoffman
b3cc83b10c
Version 0.20.2: fix for endpoints with empty body 2019-12-20 11:46:17 -05:00
Eric Wohltman
5452a224bf
Fix for Discord's API returning a 400 Bad Request if Content-Type is set, but the request body is empty. 2019-12-20 11:40:25 -05:00
Carson Hoffman
2d5c08be04
Merge pull request #717 from ewohltman/develop
Fix for Discord's API returning a 400 Bad Request from empty request body
2019-12-19 13:22:31 -05:00
Eric Wohltman
307c335eb6 Fix for Discord's API returning a 400 Bad Request if Content-Type is set, but the request body is empty. 2019-12-19 12:46:45 -05:00
Gregory DALMAR
10edf15944
Update fork and resolve conflicts 2019-11-20 18:50:51 +01:00
MistahJ
cc90f690b3 go fmt 2019-10-27 20:41:12 -07:00
MistahJ
546e995f93 Merge remote-tracking branch 'mistahj67/BatchRequestGuildMembers' into BatchRequestGuildMembers 2019-10-26 14:16:08 -07:00
MistahJ
7be2815808 Merge remote-tracking branch 'mistahj67/BatchRequestGuildMembers' into BatchRequestGuildMembers 2019-10-26 14:16:01 -07:00
MistahJ
a1802d9616 Merge remote-tracking branch 'mistahj67/BatchRequestGuildMembers' into BatchRequestGuildMembers 2019-10-26 14:11:31 -07:00
MistahJ
f4d9341a31 Improvements 2019-10-26 14:09:55 -07:00
MistahJ
b317e27d39 Improvements 2019-10-26 09:53:31 -07:00
MistahJ
7057551cd0 go fmt file 2019-10-25 01:53:26 -07:00
MistahJ
0219fb9901 Support for Batch Request Guild Members
This is supported by the Discord API and will save requests.
2019-10-25 01:31:19 -07:00
Bruce Marriner
9a0071df7e Update tested versions. 2019-10-18 11:32:51 -05:00
Bruce Marriner
bd7cb04d47 Since Go is intent on a Go value being in go.mod
We're going to set it to 1.10 for now.
2019-10-18 11:29:55 -05:00
Bruce Marriner
fa53366faa Merge branch 'master' into develop 2019-10-18 11:27:45 -05:00
Bruce Marriner
dd99dea7ad Remove go1.13 from go.mod, bump version to v0.20.1
Go 1.13 was accidently added, this backs it back out.
I don't think there's really much impact from this but I would prefer it
not be in there for this release.
2019-10-18 11:23:41 -05:00
Bruce Marriner
6c8f64b92c Bump version to v0.21.0-devel 2019-10-18 10:49:24 -05:00
Bruce Marriner
8416350234 Merge branch 'master' of https://github.com/bwmarrin/discordgo 2019-10-18 10:46:55 -05:00
Bruce Marriner
8e3862b14b Bump version to v0.20.0 2019-10-18 10:45:07 -05:00
Bruce Marriner
8baec95e44 Merge branch 'develop' 2019-10-18 10:44:50 -05:00
bwmarrin
0364b15ee4
Merge pull request #704 from dondish/develop
Fixed holdup issue in voice

Discord changed the IP used for VoiceConnection.  Change code to follow suit.
2019-10-18 08:51:08 -05:00
dondish
ac0011a12f updated the develop branch to fix the voice holdup issue 2019-10-18 14:38:12 +03:00
bwmarrin
ae74315d38
Merge pull request #699 from Seklfreak/add_message_fields
Adds message fields
2019-10-03 10:31:51 -05:00
Sebastian Winkler
dce574199f
fixes lint 2019-10-03 14:52:55 +02:00
Sebastian Winkler
cb8dd746bc
adds message fields 2019-10-03 14:14:32 +02:00
bwmarrin
fbba4460a5
Merge pull request #698 from Seklfreak/add_rate_limit_per_user_to_channel
Add rate limit per user to Channel struct
2019-10-02 10:23:21 -05:00
Sebastian Winkler
4ffe741f3e
adds RateLimitPerUser to Channel struct 2019-10-01 20:32:18 +02:00
bwmarrin
e33a993fd7
Merge pull request #697 from hazebooth/master
Fix typo in ErrorEmbedDisabled (BREAKING)
2019-10-01 12:56:50 -05:00
Haze Booth
97726fe5b6
Fix typo in ErrorEmbedDisabled 2019-09-28 03:34:22 -04:00
tuckerrrrrrrrrrrr
bc6197c5e6 fix inconsistent tts casing 2019-09-10 18:09:24 -07:00
bwmarrin
638303f174
Merge pull request #680 from jyap808/patch-1
Create new VerificationLevel VerificationLevelVeryHigh
2019-08-26 15:53:29 -05:00
bwmarrin
5667d21687
Merge pull request #681 from jyap808/patch-2
Modify GuildEdit bounds check
2019-08-26 15:53:21 -05:00
bwmarrin
4d7add56b0
Merge pull request #682 from eest/synthetic_typo
Typo: sythetic -> synthetic
2019-08-26 14:58:56 -05:00
bwmarrin
1d90c5da95
Merge pull request #679 from JurrijnP/develop
Add Premium Guild Subscription message types & Add Channel Types.
2019-08-26 14:50:03 -05:00
JurrijnP
05bae35ddb
Add 1 more message type 2019-08-19 10:55:59 +02:00
recapitalverb
7d04e7dfb3 Remove State fallback from Session#Guild 2019-08-09 20:59:46 +07:00
Patrik Lundin
e36ed7520e Typo: sythetic -> synthetic 2019-08-07 08:15:07 +02:00
JurrijnP
b8638c0363
Add Channel Types 2019-08-04 10:44:25 +02:00
Julian Y
792b209680
Modify GuildEdit bounds check 2019-08-04 01:28:49 -07:00
Julian Y
8713b45ae7
Create new VerificationLevel VerificationLevelVeryHigh
Closes #677
2019-08-03 23:48:24 -07:00
JurrijnP
f4f8cc09bc
Added more message types
Added Premium Guild Sub message types.
2019-08-02 20:06:45 +02:00
Jon Chen
dbe490a54a updates discord api invite link (#595) 2019-07-21 21:14:33 -07:00
Christopher F
66f4df19c8 faeture: add last_pin_timestamp to Channel struct (#596)
This resolves #547.

Adds a "LastPinTimestamp" field to the Channel structure, which reflects
the `last_pin_timestamp` field on the Discord API. This field is
indicative of whether or not the channel has any pinned messages, and
can save an API request from being sent if there are none.

FWIW, The API doesn't seem to return a 404 anymore when there are no
pinned messages; it returns a 200 with `[]`.
2019-07-21 21:12:21 -07:00
tsudoko
191dea097d Escape # in emoji IDs passed to reaction endpoints (#615) 2019-07-21 21:11:43 -07:00