Commit graph

245 commits

Author SHA1 Message Date
Carson Hoffman
90531dc713
Fix permissions type for UserGuild 2021-01-20 20:19:51 -05:00
Carson Hoffman
bd34c3c66d
Add comment for UnmarshalJSON 2021-01-20 19:43:00 -05:00
Carson Hoffman
c41dc15a10
Add changes to presences, remove Game type 2021-01-20 18:54:38 -05:00
Carson Hoffman
866ecccb2e
Support millisecond precision in rate limits 2021-01-20 18:39:43 -05:00
Carson Hoffman
daaafb5a7f
Rename fields for v8 2021-01-20 18:22:39 -05:00
Carson Hoffman
167b649902
Remove support for optional intents 2021-01-20 18:18:34 -05:00
Carson Hoffman
3773e286e6
Add v8 permissions changes 2021-01-20 18:11:20 -05:00
CinePlays
de64206da6 Added missing field in member struct 2021-01-06 22:40:00 +01: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
Qais Patankar
0dbc0d17a7 Add ApplicationID to Webhook 2020-11-15 19:40:37 +00:00
Samuel Hunter
8c5ca3de95
Add banner to GuildParams struct (#735) 2020-08-25 10:42:45 -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
redbluescreen
ea94122b57
Add AllowedMentions field to WebhookParams 2020-07-23 19:11:21 +03: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
Carson Hoffman
bfbd4bc5c3
Merge pull request #763 from lukasz-horonziak/intents
Basic support for Gateway Intents
2020-06-16 23:06:07 -04:00
Łukasz Horonziak
ee7a5ae519 Add missing comments 2020-06-11 12:26:34 +02:00
Łukasz Horonziak
0e6ec53738 Move MakeIntent method 2020-05-24 09:44:33 +02: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
Noah Santschi-Cooney
69edfdf4ac
discordapp.com -> discord.com (#772)
Change API URL from discordapp.com to discord.com
2020-05-08 21:26:13 -04:00
Łukasz Horonziak
d12e6550c6 Typos 2020-04-19 17:36:35 +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
Eric Wohltman
3736887e9b
Bitwise view channel permission (#758)
* Fix offset for PermissionViewChannel

* Fix offset for PermissionViewChannel
2020-04-06 11:00:23 -07:00
Eric Wohltman
0a159acc0c
Fix offset for PermissionViewChannel (#757) 2020-04-06 09:50:24 -07:00
Eric Wohltman
e66f73bf50 Update compound permission sets to use PermissionViewChannel 2020-04-01 10:05:24 -04:00
Eric Wohltman
e83cac31da Add PermissionReadMessages deprecated comment 2020-04-01 10:00:26 -04:00
Eric Wohltman
e26e635684 Add bitwise permission const PermissionViewChannel 2020-04-01 08:04:42 -04:00
bwmarrin
d4610f32c1
Merge pull request #728 from bwmarrin/feature-ExposeIdentify
Expose Identify Packet
2020-01-24 17:20:51 -06:00
Bruce Marriner
19c4a067d0 Fixing Nits 2020-01-23 09:33:36 -06:00
Helba
949945a955 Added Missing CustomStatus type, and Missing Slice for Activities which gets returned now because custom triggers a presnece update 2020-01-22 14:52:56 -08:00
Helba
c737258c06 Added missing features 2020-01-22 14:50:38 -08:00
Bruce Marriner
69f369a9f4 Linting. 2020-01-20 12:20:30 -06:00
Bruce Marriner
eff98faf41 Fix wording 2020-01-20 12:10:20 -06:00
Bruce Marriner
ee9178e237 Fix wording 2020-01-20 12:06:54 -06:00
Bruce Marriner
973580a2ba Initial commit of ExposeIdentify feature 2020-01-20 12:01:58 -06:00
Carson Hoffman
afe392e6c1
Merge pull request #694 from BigHeadGeorge/fix-tts-casing
Fix inconsistent TTS casing
2019-12-26 20:22:41 -05:00
Bruce Marriner
8416350234 Merge branch 'master' of https://github.com/bwmarrin/discordgo 2019-10-18 10:46:55 -05:00
Sebastian Winkler
4ffe741f3e
adds RateLimitPerUser to Channel struct 2019-10-01 20:32:18 +02: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
JurrijnP
b8638c0363
Add Channel Types 2019-08-04 10:44:25 +02:00
Julian Y
8713b45ae7
Create new VerificationLevel VerificationLevelVeryHigh
Closes #677
2019-08-03 23:48:24 -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
Sebastian Winkler
579121fe1a adds EndpointGuildIconAnimated; adds guild.IconURL() helper (#658) 2019-07-21 21:09:39 -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
diamond's alt
7896167153 added useragent (#653) 2019-05-28 16:52:23 -07:00