Commit graph

1416 commits

Author SHA1 Message Date
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
NANI
9b1ba78bc6
Adding millisecond precision to SnowflakeTimestamp utility (#732)
* Millisecond precision

* formatting

* Update util.go

* remove unnecessary int64

* Add unit test for SnowflakeTimestamp

Co-authored-by: NANI <nani@ksoft.si>
Co-authored-by: Carson Hoffman <c@rsonhoffman.com>
2020-06-16 23:43:34 -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
b-o-r-k
a853557f4d
Add missing fields in GuildChannelCreateData (#782)
According to https://discord.com/developers/docs/resources/guild#create-guild-channel, the endpoint also accepts the following fields:

- rate_limit_per_user: integer
- position: integer
2020-06-15 11:14:01 -07:00
Łukasz Horonziak
ee7a5ae519 Add missing comments 2020-06-11 12:26:34 +02:00
Carson Hoffman
1d8aef5e9c
Merge pull request #781 from RoJamieson/develop
Changed "consistancy" to "consistency" in logging.go
2020-06-08 22:23:22 -04:00
RoJamieson
42fd45c4a3 Changed "consistancy" to "consistency" in logging.go 2020-06-08 14:01:37 +02:00
Carson Hoffman
ca64123b05
Merge branch 'member-chunk-fields' into develop 2020-05-25 11:46:55 -04:00
Carson Hoffman
02ff40642c
Merge pull request #764 from bwmarrin/allowed_mentions
Add allowed mentions functionality
2020-05-25 11:26:48 -04: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
Carson Hoffman
a7305dd7b7
Stop voice re-connection on manual disconnection 2020-05-19 23:06:59 -04:00
Łukasz Horonziak
57c962912e Make intents optional field 2020-05-17 19:52:52 +02:00
Carson Hoffman
f5c33ab5c3
Add ChunkIndex and ChunkCount fields to GuildMembersChunk 2020-05-16 11:26:48 -04: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
Carson Hoffman
b7d79c80d6
Merge pull request #771 from bwmarrin/revert-769-master
Revert "Changed domain from `discordapp.com` to `discord.com`"
2020-05-07 12:28:30 -04:00
Carson Hoffman
45124d8303 Revert "Changed domain from discordapp.com to discord.com (#769)"
This reverts commit f4ca8874a3.
2020-05-07 12:27:07 -04:00
Hunter Paulson
f4ca8874a3
Changed domain from discordapp.com to discord.com (#769)
* Allow resume on reconnect

* Version 0.20.3: allow resume on reconnect

* Update index.md

* Update README.md

* Update GettingStarted.md

* Update endpoints.go

* Update README.md

* Update event.go

* Update wsapi.go

* Update restapi.go

* Resolved spelling issue

Co-authored-by: Carson Hoffman <c@rsonhoffman.com>
2020-05-04 21:13:28 -07:00
Tobias Messner
db7a34f303
Fix typo in PingPong example (#767) 2020-04-30 14:22:18 -07:00
bwmarrin
2eedf63f8a
Merge pull request #765 from ewohltman/fix-godoc-comments
Fix godoc style exported function comments
2020-04-27 10:11:26 -05:00
Eric Wohltman
44c2b25369 Fix godoc style exported function comments 2020-04-21 08:16:51 -04:00
Łukasz Horonziak
d12e6550c6 Typos 2020-04-19 17:36:35 +02:00
Carson Hoffman
895df5370c
Add allowed mentions 2020-04-19 10:29:47 -04: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
84ad2a796d
Merge pull request #760 from ewohltman/websocket-error-log-level
Change log level for websocket connection failure from warning to error
2020-04-12 23:13:52 -04:00
Carson Hoffman
ed4d690496
Version 0.20.3: allow resume on reconnect 2020-04-11 23:10:35 -04:00
Carson Hoffman
aba3c0c056
Allow resume on reconnect 2020-04-11 23:07:03 -04:00
Carson Hoffman
d8b49998f8
Merge pull request #761 from bwmarrin/reconnect-fix
Allow resume on reconnect
2020-04-11 23:05:08 -04:00
Carson Hoffman
1789227299
Allow resume on reconnect 2020-04-11 22:34:49 -04:00
Eric Wohltman
3fa12df9f0 Change log level for websocket connection failure from warning to error 2020-04-07 14:00:36 -04:00