Commit graph

1307 commits

Author SHA1 Message Date
Carson Hoffman
9fc2793e83
Add reply and application command message types 2021-01-20 18:14:50 -05:00
Carson Hoffman
93d5c5947b
Correct gap in message types 2021-01-20 18:13:18 -05:00
Carson Hoffman
3773e286e6
Add v8 permissions changes 2021-01-20 18:11:20 -05:00
Carson Hoffman
9eb033c0db
Bump API version to v8 2021-01-20 18:05:39 -05:00
Carson Hoffman
bca349d46d
Change library version to alpha for v8 2021-01-20 18:05:27 -05:00
Carson Hoffman
ad76e32450
Merge pull request #855 from bsdlp/interactions-verify
implement interaction request signing verification
2021-01-16 21:49:07 -05:00
Carson Hoffman
96848bf0be
Drop 1.11 and 1.12 checks in Travis 2021-01-16 21:45:20 -05:00
Carson Hoffman
1eb5da8a35
Merge pull request #863 from CinePlays/master
Add missing field in member struct
2021-01-16 21:41:08 -05:00
Jon Chen
dc3c2d5533 implement interaction request signing verification 2021-01-13 17:43:43 +00:00
Carson Hoffman
56af790515
Merge pull request #861 from automuteus/master
Fix invalid RateLimit event type
2021-01-12 15:26:43 -05:00
CinePlays
de64206da6 Added missing field in member struct 2021-01-06 22:40:00 +01:00
denverquane
e2c5d80fa6 Fix invalid RateLimit event type 2020-12-30 13:50:52 -07: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