Carson Hoffman
c41dc15a10
Add changes to presences, remove Game type
2021-01-20 18:54:38 -05:00
Nicholas McCurry
a6d7b88762
Add previous state to VoiceStateUpdate event ( #823 )
2020-11-05 16:43:55 -07:00
Carson Hoffman
f5c33ab5c3
Add ChunkIndex and ChunkCount fields to GuildMembersChunk
2020-05-16 11:26:48 -04:00
Cameron Wood
abf56b54f8
Added Presences field for GuildMembersChunk ( #755 )
2020-03-29 11:23:11 -07:00
Alexander
d41f0ec7e0
events: add BeforeDelete to MessageDelete
2020-03-01 20:57:44 +03: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
Krognol
d6d46b0b1b
Fix spelling of synthetic
( #613 )
2018-11-08 10:04:07 -08:00
Sebastian Winkler
0af46d54e7
adds support for Webhooks Update event ( #561 )
2018-08-19 12:43:41 -07:00
Rens Rikkerink
4cc57c5070
Added copy of previous Message state to MessageUpdate
2018-05-09 14:18:30 +02:00
Dim
82c8cf21b2
Add GuildID to multiple structs ( #541 )
2018-05-02 17:07:23 -07:00
legolord208
43c8b518ad
Added user notes ( #361 )
...
* Added user notes
* Added note websocket event (thanks iopred :D)
* Added ready event (thanks again, iopred)
* Renamed function
2017-04-28 12:22:02 -07:00
Floretta
db909b14fa
add: MessageReactionRemoveAll event ( #357 )
2017-04-15 09:07:59 -07:00
jonas747
6fd80199bf
Handle MessageDeleteBulk event ( #304 )
...
* Handle MessageDeleteBulk event
* Changed State.MessageRemove to use id's
* Revert State.MessageRemove change and add State.messageRemoveById
* Fix linting
2016-12-28 12:29:36 -08: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
Kristian Klausen
b377944b97
Switch to V5 gateway ( #300 )
...
This switch the gateway to V5, and change the heartbeat logic to
get the heartbeat_interval from the new Hello opcode instant of
READY/RESUME event.
See: https://github.com/hammerandchisel/discord-api-docs/issues/18
Fix : #220
2016-12-25 16:22: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
Chris Rhodes
8f6d44ccee
Fix GuildBans.
2016-11-09 22:27:12 -08:00
AI
ed7a451a31
Add support for relationships ( #284 )
...
* Add support for relationships
Adds Support for:
- Sending friend request.
- Accepting friend request.
- Getting all the relationships.
- Getting all the mutual friends with another user.
- Blocking a user.
**Note:**
- Bot accounts are not allowed to access the endpoint.
- May close bwmarrin/discordgo#150
* Implement requested changes
Changed the uint8 declarations to int.
* Change the missed unint8 declaration to int
Missed one instance of unint8 during previous push.
2016-11-08 17:07:04 -08:00
Chris Rhodes
5ef835fc80
Fix GuildBans. Fixes #263
2016-11-03 22:39:55 -07:00
Chris Rhodes
c96162c425
Add support for Message Reactions.
2016-11-03 22:07:06 -07:00
jonas747
9c7c9d3fd2
Added RequestGuildMembers to request guild members from the gateway
2016-09-25 21:29:59 +02:00
jonas747
2a1f0ff893
Added the CHANNEL_PINS_UPDATE event
2016-07-29 23:40:56 +02:00
Bruce Marriner
a9da8a5daf
Cleanup, Logging, Finished Resumed code.
2016-04-30 21:40:13 -05:00
Bruce Marriner
38c51ce788
Renamed RateLimited to RateLimit
...
This is more consistant with other event names.
2016-04-28 17:43:41 -05:00
Bruce Marriner
098d7861a4
BREAKING - Added RateLimited event
...
Renamed RateLimit struct to TooManyRequests{} and added new event struct
RateLimited{} which can be registerd to with AddHandler() and will be
emitted anytime a HTTP 429 is received on the HTTP API.
2016-04-28 17:41:05 -05:00
Chris Rhodes
756bc98463
Fix user struct embedding in UserUpdate event.
2016-04-01 16:59:17 -07:00
Chris Rhodes
6e568533b2
Early support for PresencesReplace
2016-03-19 16:22:36 -07:00
Chris Rhodes
f58410afa4
Support user guild settings update event.
2016-02-21 19:35:21 -08:00
Chris Rhodes
79247272ff
Handler updates, no backwards incompatible API changes.
...
AddHandler now returns a func that can remove the handler.
The handlers map is now guarded by its own mutex.
Moved eventMap to events.go for readability.
Improved documentation.
2016-02-19 22:28:21 -08:00
Chris Rhodes
6fa99712ef
Finish converting large switch statement into a map of functions.
2016-02-14 18:48:37 -08:00