plally
039e6855ed
fix typo in InviteTargetEmbeddedApplication and in some comments ( #1211 )
2022-07-29 18:42:40 +03:00
Fedor Lapshin
cd95ccc2d3
feat(*): bump version to 0.25.0
2022-04-18 01:10:01 +03:00
Nick Hanley
c615fc7f19
Add option to disable rate-limited request retry ( #1151 )
...
* Add option to disable rate-limited request retry
Closes #1011 .
* feat: code review changes
Co-authored-by: nitroflap <fe.lap.prog@gmail.com>
2022-04-14 22:35:06 +03:00
Fedor Lapshin
0413c18206
Remove GuildSubscriptions field from Identify struct ( #992 )
...
Co-authored-by: rigormorrtiss <rigormorrtiss@gmail.com>
2022-03-23 21:50:47 +03:00
nitroflap
45e625d5af
feat(*): bumped version to 0.24.0
2022-03-02 22:32:28 +03:00
nitroflap
5056d53d17
Revert "feat(structs#Session): made sessionID and sequence fields public"
...
This reverts commit 4390b565fa
.
2022-02-27 18:11:50 +03:00
nitroflap
4390b565fa
feat(structs#Session): made sessionID and sequence fields public
2022-02-27 17:46:03 +03:00
nitroflap
3f0e0f8650
fix: typo in comment to New function
2022-02-15 23:42:22 +03:00
nitroflap
e253d2882e
fix(discord#New): fixed imports and removed MakeIntent
2022-02-08 17:15:49 +03:00
Fedor Lapshin
6ff665e56e
feat: drop email-password session authentication.
...
This commit drops old email/password authentication for New function.
It violates Discord ToS and due to recent changes in rules for community resources on Discord API Docs it needs to be dropped.
2022-02-08 17:15:43 +03:00
Carson Hoffman
d4d47b65ee
Bump library version to v0.23.0
2021-01-23 19:53:47 -05:00
Carson Hoffman
bca349d46d
Change library version to alpha for v8
2021-01-20 18:05:27 -05:00
Carson Hoffman
befbea878e
Bump version to v0.22.0
2020-07-25 22:18:54 -04:00
Carson Hoffman
09bac5d032
Change to develop version
2020-06-28 16:38:58 -04:00
Carson Hoffman
eb3514551b
Bump version to v0.21.1
2020-06-21 08:06:30 -04:00
Carson Hoffman
1294b313b9
Release version v0.21.0
2020-06-20 20:58:22 -04:00
Łukasz Horonziak
de7803becd
Refactor
2020-05-24 08:34:29 +02:00
Łukasz Horonziak
57c962912e
Make intents optional field
2020-05-17 19:52:52 +02:00
Łukasz Horonziak
349da37386
Refactor
2020-04-19 11:11:41 +02:00
Łukasz Horonziak
757302eb78
Add intents
2020-04-18 22:31:38 +02:00
Carson Hoffman
ed4d690496
Version 0.20.3: allow resume on reconnect
2020-04-11 23:10:35 -04:00
bwmarrin
9499577a76
Merge pull request #748 from fsufitch/master
...
Add clarifying docs for using an OAuth2 token
2020-03-16 15:06:39 -05:00
Filip Sufitchi
edf402529a
Add clarifying docs for using an OAuth2 token
2020-03-11 16:14:48 -04:00
Bruce Marriner
973580a2ba
Initial commit of ExposeIdentify feature
2020-01-20 12:01:58 -06:00
Carson Hoffman
b3cc83b10c
Version 0.20.2: fix for endpoints with empty body
2019-12-20 11:46:17 -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
8e3862b14b
Bump version to v0.20.0
2019-10-18 10:45:07 -05:00
diamond's alt
7896167153
added useragent ( #653 )
2019-05-28 16:52:23 -07:00
Chris Rhodes
e184c57068
Discord v0.20.0-alpha
2018-11-02 11:22:31 -07:00
Chris Rhodes
94c6dec686
Version 0.19.0
2018-11-02 11:19:32 -07:00
Chris Rhodes
a040eaef9b
Version 0.18.0
2018-11-02 11:13:46 -07:00
Altarrel
d7a58a4f11
Minor spelling fixes ( #559 )
2018-06-18 13:42:32 -07:00
Bruce Marriner
7ed70a416e
Change version to v0.18.0-alpha
2017-11-11 15:07:55 +00:00
NamedKitten
d30b33abfa
Add support for custom logging behaviour. ( #465 )
2017-10-23 13:08:14 -07:00
Erik McClure
97a510ca0a
Add rate limit buffering support ( #430 )
...
* Fix #406 : reconnect() can be called while still connected
* Add memberMap to speed up member queries
* Fix error return value and remove deletion
* Fix GuildAdd member map initialization edge case
* Add rate limit buffering support
- Break request into requestInner
- Break LockBucket into LockBucketObject
- Change getBucket to GetBucket so it can be externally accessed
- Add RequestBuffer interface
- Add RequestBuffer pointer to Bucket struct
- Add RequestPostWithBuffer() function to Session
* Remove internal implementation, export ratelimiter instead
2017-10-07 10:54:46 -07:00
Erik McClure
bb4b96e26d
Add heartbeat ACK response and error handling ( #396 )
...
* Add heartbeat ACK response and error handling
- Error when sending a heartbeat now triggers a reconnection
- Op7 now triggers a reconnection
- Session now tracks the last heartbeat ACK that was recieved. If the
last ACK is more than FailedHeartbeatAcks*heartbeatinterval in the past,
this is treated as a dead connection and a reconnection is forced.
* Address @iopred comments
2017-06-27 20:52:59 -07:00
Bruce
f2cad25dc9
Bump version to v0.17.0-dev
2017-05-15 16:12:45 +00:00
Bruce
0993a94b4e
Bump version to 0.16.0
2017-05-15 15:02:49 +00:00
Bruce
2feb43f068
Merge branch 'master' into develop
...
Conflicts:
README.md
discord.go
2017-05-15 14:59:20 +00:00
Bruce
5e2c93b4f1
Added warning to New/Login functions fixes #342
2017-05-03 21:47:57 +00:00
Michael Köppl
d8f81e54bb
Fix typo
...
It is called 'Semantic Versioning'
2017-04-29 23:21:10 +02:00
LEGOlord208
65f0cb9f73
Arise error when user has 2FA ( #359 )
...
* Arise error when user has 2FA
* Fixed error message
* Removed ticket
2017-04-18 21:35:17 -07:00
jonas747
2d50fc197f
Fix racey heartbeat sequence ( #303 )
...
* Fix racey heartbeat sequence
* Change all sequence fields to int64
2016-12-28 11:59:02 -08:00
jonas747
edc3213ffb
Reuse http client, and export it ( #301 )
2016-12-25 16:23:11 -08:00
Bruce Marriner
9e777a083b
Linting.
2016-12-11 12:45:34 -06:00
Chris Rhodes
8b24e88bc5
Bump version to 0.16.0-dev
2016-12-10 06:47:49 -08:00
Chris Rhodes
5835676872
Bump version to 0.15.0
2016-12-10 06:47:14 -08:00
Chris Rhodes
36601253a4
Remove use of reflect.
...
This introduces gogenerate'ed EventHandlers from the files in events.go
This also adds support for AddHandlerOnce.
2016-12-03 23:31:07 -08:00