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
JurrijnP
5fb15f5823
Add Pinned to Message struct ( #633 )
...
* Bump to v0.17.0
* Add members from GuildMembersChunk to state (#454 )
* Revert "Add members from GuildMembersChunk to state (#454 )" (#455 )
This reverts commit e4487b30d4
.
* added clarification when initializing discordgo
from the code I ran on my system with the latest changes this seems to be the syntax for the authentication tokens. I'm guessing it was just never updated.
Let me know if this is incorrect.
Thanks!
* travis: update go versions
* Add Pinned member to message struct
Pinned member was missing.
* Missed an :
* Update README.md
* Removed space
2019-07-21 21:10:35 -07:00
Sebastian Winkler
579121fe1a
adds EndpointGuildIconAnimated; adds guild.IconURL() helper ( #658 )
2019-07-21 21:09:39 -07:00
yuko1225
d7c22e2791
Fix broken IP Discovery in voice connection. ( #669 )
...
https://github.com/bwmarrin/discordgo/issues/598
https://github.com/bwmarrin/discordgo/issues/668
2019-07-21 21:08:31 -07:00
Qais Patankar
d3c96d18be
Fix #622 : support for WebhookExecute msg response ( #663 )
2019-07-21 21:07:28 -07:00
diamond's alt
a6d2557a8e
Added Asset and ApplicationAssets ( #666 )
...
Fixed ApplicationAssets returning the wrong type
Added Asset and ApplicationAssets
2019-07-21 21:06:20 -07:00
Simon
e405cbd54c
handle empty channel id in ChannelVoiceJoinManual ( #672 )
2019-07-21 21:02:54 -07:00
recapitalverb
d19be02e42
Add Available
field to Emoji struct ( #676 )
2019-07-21 21:02:28 -07:00
Sebastian Winkler
347a4f69b0
Add premium fields to Guild and Member ( #656 )
...
* adds premium fields to Guild and Member
* fixes formatting
2019-06-08 13:54:39 -07:00
Skippy
c52d70f86a
Merge pull request #654 from foxbot/issues/discordapp-967
...
fix: remove _trace from helloOp
2019-05-31 09:02:19 -05:00
Christopher Felegy
60dbc5557c
fix: remove _trace from helloOp
...
As per discordapp/discord-api-docs#967 , _trace in OP10 HELLO is no
longer an array of strings, but rather an undefined glob of data that
presently contains a mixed bag of strings and objects.
type helloOp does not seem to be exposed outside of the library, so this
is not a breaking change; furthermore, the Trace field of helloOp was
not used anywhere within the library. It seems like it would be safer to
just remove the field outright, rather than accept it as an interface{}
and waste cycles unmarshaling data that is never used.
This is a critically breaking bug, as if the upstream change is merged,
bots using DiscordGo prior to this patch will be unable to connect; an
error would occur when trying to unmarshal the new data glob into a
[]string, causing (*Session).Open() to prematurely return.
2019-05-29 13:54:56 -04:00
diamond's alt
7896167153
added useragent ( #653 )
2019-05-28 16:52:23 -07:00
Skippy
8d8906ce4b
Merge pull request #646 from NewWinter/patch-1
...
Add proper response type for GuildBans docs
2019-05-13 12:35:26 -05:00
Jesse
544e4b9a8c
Add proper response type for GuildBans docs
...
The previous documentation stated that the response type was an array of User structures, when the function return an array of GuildBan structures.
2019-05-12 19:14:27 -06:00
Skippy
2748413597
Merge pull request #545 from ikkerens/patch-1
...
Added copy of previous Message state to MessageUpdate
2019-04-19 10:37:06 -05:00
Skippy
95a8253ee1
Merge pull request #641 from Necroforger/develop
...
added SnowflakeTimestamp utility function
2019-04-12 12:44:12 -05:00
necro
e3acfe56f0
added SnowflakeTimestamp utility function to obtain the creation date of a discord snowflake ID
2019-04-12 11:19:31 -04:00