Jon Chen
dc3c2d5533
implement interaction request signing verification
2021-01-13 17:43:43 +00:00
Carson Hoffman
8d6815dde7
Merge pull request #845 from LagSwitchedVirginity/patch-1
...
Add omitempty to MessageReference's GuildID field
2020-12-17 14:02:21 -05:00
Fedor Lapshin
f124f38563
GuildBan method and UnknownBan error code addition ( #848 )
...
* UnknownBan error code addition
* GuildBan method implementation
* Gofmt fix
Gofmt fix
2020-12-17 13:59:41 -05:00
Nicholas Phillips
26be533516
Add omitempty to MessageReference's GuildID field
...
Direct Messages do not have the **guild_id** field for Message Referencing / the new Reply feature.
__Instead it is only **message_id** and **guild_id**__
2020-12-03 16:49:07 -05:00
Carson Hoffman
31f70d4394
Merge pull request #842 from Zabqer/master
...
Add support for sending message reply
2020-11-22 09:50:21 -05:00
Carson Hoffman
b5c29a9963
Merge pull request #833 from nickmcski/issue-823
...
Add previous state to VoiceStateUpdate event (#823 )
2020-11-20 11:43:53 -05:00
Alexey
1b13267ba4
Add support for sending message reply
2020-11-20 16:11:12 +03:00
Carson Hoffman
fb996efa76
Merge pull request #838 from qaisjp/webhook-appid
...
Add ApplicationID to Webhook
2020-11-15 15:02:07 -05:00
Jonathan Roth
9bcbfecf1d
Add lock to prevent race condition ( #816 )
...
There's a race between `VoiceConnection.Disconnect()` and `VoiceConnection.onVoiceStateUpdate()` (accessing VoiceConnection.sessionID)
2020-11-15 14:55:36 -05:00
Qais Patankar
0dbc0d17a7
Add ApplicationID to Webhook
2020-11-15 19:40:37 +00:00
Nicholas McCurry
a6d7b88762
Add previous state to VoiceStateUpdate event ( #823 )
2020-11-05 16:43:55 -07:00
Carson Hoffman
92c52f3db1
Add comments on new methods
2020-10-29 11:42:11 -04:00
Carson Hoffman
2f40c4489c
gofmt pass
2020-10-28 21:25:22 -04:00
Manfred Touron
2fe5745a4e
chore: add missing fields in User struct ( #790 )
...
based on https://discord.com/developers/docs/resources/user
Signed-off-by: Manfred Touron <94029+moul@users.noreply.github.com>
2020-10-24 16:24:31 -04:00
Chris Rhodes
7ab242d361
Add State helper methods for reading permissions and role colors from Message roles.
2020-10-16 18:09:59 +11:00
Samuel Hunter
8c5ca3de95
Add banner to GuildParams struct ( #735 )
2020-08-25 10:42:45 -04:00
Aditya Diwakar
4b6abc53af
Add Guild Member Mute/Deaf Edit Support ( #804 )
...
* ✨ Add member edit deaf/mute support
* Resolve omitempty issues
2020-08-12 10:24:33 -04:00
Aditya Diwakar
a2751f6d16
Add Go v1.15 in CI ( #803 )
2020-08-12 10:22:20 -04:00
zekro
b806975e3b
add user public flags field and public flag consts ( #801 )
...
* add user public flags field and public flag consts
* fix user flag constant initialization and vaalue documentation
* fix user flag constants values
2020-08-08 17:42:45 -04:00
Carson Hoffman
7b0771c3d7
Merge pull request #800 from adityaxdiwakar/master
...
Add support for news channels
2020-08-06 22:39:20 -04:00
Aditya Diwakar
b7ef3c8e0f
Handle error in ChannelNewsFollow
2020-08-06 19:31:43 -04:00
Aditya Diwakar
8648632fc8
Comment ChannelFollow struct
2020-08-05 19:02:11 -04:00
Aditya Diwakar
eb70c17733
Add support for retrieving Webhook ID
2020-08-05 18:54:12 -04:00
Aditya Diwakar
10195fcfbb
✨ Add support for news channels
...
Endpoint support added:
- @/channels/:id/messages/:id/crosspost - publishes a message in a news
channel to followers
- @/channels/:id/followers - follows a news channel
2020-08-05 18:31:38 -04:00
Carson Hoffman
df57973efe
Merge pull request #796 from iopred/master
...
Update Emoji endpoints to point to the CDN.
2020-07-27 22:29:11 -04:00
Chris Rhodes
cecb79f8d5
Update Emoji endpoints to point to the CDN.
2020-07-27 21:17:05 +00:00
Carson Hoffman
befbea878e
Bump version to v0.22.0
2020-07-25 22:18:54 -04:00
Carson Hoffman
f7cb976b19
Merge branch 'develop' (for the last time!)
2020-07-25 22:18:13 -04:00
Carson Hoffman
56905d9db3
Remove references to develop branch
2020-07-25 22:09:24 -04:00
Carson Hoffman
c8139ccde3
Merge pull request #794 from redbluescreen/webhook-allowedmentions
...
Add AllowedMentions for webhooks
2020-07-25 17:42:26 -04:00
redbluescreen
ea94122b57
Add AllowedMentions field to WebhookParams
2020-07-23 19:11:21 +03:00
Carson Hoffman
498ed48e63
Drop Go 1.10 support in Travis
2020-07-22 12:34:10 -04:00
Carson Hoffman
72b6e0d4d2
Add Go 1.14, force module support in Travis
2020-07-22 12:31:24 -04:00
Carson Hoffman
38819ecd8e
Add barebones voice receive example
2020-07-21 21:47:59 -04:00
Carson Hoffman
84edff87fe
Remove obsolete examples
2020-07-18 11:57:58 -04:00
Carson Hoffman
0d776e61a1
Add use of intents to examples
2020-07-18 11:57:24 -04:00
Carson Hoffman
928baab30a
Merge pull request #786 from robbiet480/patch-1
...
Emoji improvements
2020-06-28 19:51:24 -04:00
Robbie Trencheny
4738844e34
Rename GuildEmoji to GuildEmojis
2020-06-28 16:02:02 -07:00
Robbie Trencheny
f193d81d83
Add GuildEmoji function
2020-06-28 16:01:21 -07:00
Robbie Trencheny
f067059526
Update Emoji struct
2020-06-28 16:01:20 -07:00
TroyDota
9ce4a230c8
Updates API ( #785 )
...
* Update to API
Updates the golang stuct to current api documentation and adds new util
* Revert of change.
* Update message.go
* Update structs.go
* Yikes this my hand hurts.
* Consistency
* Update message.go
2020-06-28 18:53:46 -04:00
Dylan Meador
9c46cf4ec7
Update GuildMemberMove to support removing from all voice channels ( #789 )
2020-06-28 18:34:50 -04:00
Carson Hoffman
cab170c8f5
Add types to untyped constants
2020-06-28 16:57:51 -04:00
Ravy
c78bd2c24c
Add team data to applications ( #787 )
...
* add Team and TeamMember structs
* correct indentation
* consistency in the documentation
* fix data type for membership status
* enumerate the MembershipState
* make the linter happy
Co-authored-by: Ravy <ravy@farfrom.earth>
2020-06-28 16:50:55 -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
cead8c70f6
Fix double commit on merge
2020-06-20 22:51:20 -04:00
Carson Hoffman
1294b313b9
Release version v0.21.0
2020-06-20 20:58:22 -04:00
Carson Hoffman
096fd806a7
Track presences from GuildMembersChunk
2020-06-20 20:32:32 -04:00
Carson Hoffman
103055d2be
Add presences field to RequestGuildMembers
2020-06-20 19:55:19 -04:00